Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Form does not refresh
Message
From
27/05/1999 16:55:07
 
 
To
27/05/1999 16:27:07
Koos Veel
Gamma Research
Aruba
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00223701
Message ID:
00223718
Views:
24
>Hello,
>
>I am using VFP 6.0.
>
>In one of my forms, I have a searchbutton to look up and select a record. The code of it's click-event is:
>
>DO FORM fvestpen && the searchform
>SELECT vestigin
>IF oDialog.RecordSelected <> 0
> SEEK oDialog.RecordSelected ORDER Vestkey
> THISFORM.txtAanvrager.SETFOCUS()
> THISFORM.REFRESH()
> oDialog.RecordSelected = 0
>ENDIF
>THISFORM.REFRESH()
>
>When I clich the searchbutton, the searchform opens, but the rest of the code is executed immediately after the searchform is opened, so the RecordSelected = 0 still. We cannot find why the rest of the code is done right away and not after the closing of the searchform..
>
>Thanks in advance for your time and help.
>
>Bernard (on the account Koos Veel)

Is your search form modal? That would prevent it from executing the other code until it was finished.
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Previous
Reply
Map
View

Click here to load this message in the networking platform