Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problems managing grids
Message
From
21/12/2004 12:10:38
 
 
To
21/12/2004 10:49:14
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 8 SP1
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00971008
Message ID:
00971046
Views:
29
This message has been marked as a message which has helped to the initial question of the thread.
>I got into problems in managing grids. Actually I need to control the tab order within a row of the grid.In other words, I am on a column x and i want to jump to column x-1 if a certain condition does not occurs.
>Where should I place code ? I tried with the lostfocus event of the control but it does not work .
>

What do you write into the LostFocus event ?

>Another thing :-) I build a txtbox class wich test f th user made change.
>I put a property called oldvalue.
>In the when event i set this property = to the actual control value.

Put this into the GotFocus event

>in the lostfocus event i test if the control value is equal to the oldvalue,
>if so i call a method (changevalue() ) is it right ? It happen that sometimes it does not test the value properly, it does not set properly the oldvalue when I enter the control. But it happens sometimes, the first time I enter the control, if I enter the control again and made a change it works fine.
>thank you all
>Alessio
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform