Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grids... the record pointer... etc
Message
 
To
08/05/2000 17:46:18
Tom Gahagan
Alliance Computer Solutions
Thomaston, Georgia, United States
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00367379
Message ID:
00367418
Views:
15
The form you call is not modal. Set its WindowType property to modal.

>Hi Brien,
>
>The datasession setting is public.
>
>As I've worked this afternoon to solve this problem i've discovered someting. Perhaps you can help me?
>
>The code in the command button click (for the edit) is this
>
>do form formname
>thisform.grid1.refresh
>thisform.grid1.setfocus
>
>My assumption is that the form is called... does its thing and when it returns the next two lines are executed. That is not, however, what is happening.
>
>I changed the code to this to see what was going on.
>
>do form formname
>wait window 'this is a test"
>thisform.grid1.refresh
>thisform.grid1.setfocus
>
>This time when the button was clicked...
>
>the edit form comes up with the proper record and goes strait to the wait command..... the next two lines are executed and then the edit form comes back with the different record.
>
>WHY does this happen ?????????
>
>Tom
Brien R. Givens

Brampwood Systems
Previous
Reply
Map
View

Click here to load this message in the networking platform