The Forums on slxdeveloper.com are now retired. The forum archive will remain available for the time being. Thank you for your participation on slxdeveloper.com!
|
|
Fields not redrawing properly
Posted: 21 Feb 08 9:07 AM
|
Hello, I am working on migrating my custom 6.2.6 code to 7.2. I have two manage forms (form1 and form2) and when form2 is displayed on top of form1, the picklist fields on form1 are not redrawn properly after form2 is closed. In fact the fields don't show at all until I click the space where one should be.
This seems like an auto-redraw issue, but I don't see any such settings for the form or idividual fields.
Has anyone else experienced this problem and found a resolution? Could this be a problem with running the SLX 7.2 client on Windows 2003 server (that's where I'm doing my migration work)
Thank you, ...Rob |
|
|
|
Re: Fields not redrawing properly
Posted: 21 Feb 08 11:55 AM
|
Yep seen this...
Ques: You are going to 7.2.1 - right?
FYI: SP2 for 7.2 is VERY close to GA.. Can't say exactly when.. since it's not firm.. but I'd be looking at sp2 if I were you. -- RJLedger - rjlSystems |
|
|
| |
|
Re: Fields not redrawing properly
Posted: 04 Mar 08 3:22 PM
|
Bob, am I hearing you say that SP2 is addressing repaint issues? I'm scheduled to upgrade to v7.2.1 on April 5, but this might be worth a pause if true 
Michael |
|
|
|
Re: Fields not redrawing properly
Posted: 05 Mar 08 11:25 AM
|
It won't hurt 
SP2 is going into RC3 at the end of this week... I'll be posting regular status updates on my website about it. -- RJLedger - rjlSystems |
|
|
|
Re: Fields not redrawing properly
Posted: 16 May 08 3:19 PM
|
Bob and Mike,
I have upgraded to 7.2.2 and still have the same various re-paint issues.
Does anyone have any other thoughts. Could this be related to the .NET framework?
Thanks, ...Rob
|
|
|
|
Re: Fields not redrawing properly
Posted: 16 May 08 3:21 PM
|
BTW, I'm now running the client on XP in my stage environment and having the issue, so it's not a Windows 2003 issue.
...Rob |
|
|
|
Re: Fields not redrawing properly
Posted: 16 May 08 6:05 PM
|
After you close the form - can you run an application.basicfunctions.ProcessWindowMessages to force a repaint ? |
|
|
| |
| |
|
Re: Fields not redrawing properly
Posted: 19 May 08 1:55 PM
|
Again, thanks Mike.
Both the Application.Basicfunctions.ProcessWindowMessages and the Application.DoEvents solved the problem. My question now is, does one method offer advantages over the other? |
|
|
|
Re: Fields not redrawing properly
Posted: 19 May 08 1:59 PM
|
One is definitely quicker to type  I'm fairly sure both call the same thing actually - the App.BasicFunctions is a legacy version and there for upward compatibility. Mike
|
|
|
| |
|