Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid & editbox,cursor moving to the beginning of the edi
Message
From
01/02/2005 12:37:15
 
 
To
01/02/2005 11:55:56
Kari Sinivuori
Atk-Palvelu K.Sinivuori
Tuusula, Finland
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 6 SP5
Miscellaneous
Thread ID:
00981104
Message ID:
00982738
Views:
44
Kari

I downloaded, built and ran it. If this is how the system is set-up then I may be able to help. Did you realise that InteractiveChange event occurs with EVERY user interaction? i.e. every key stroke takes you back to the beginning. I commented out the code in the IC event and the editbox let me type wherever.

If, when editing in the edit box, you want to disable page 1 (quite sensibly) then you can't have this in the IC event - it'll happen every keystroke. You want en EDIT button, or some such, that will enable the grid for editing AND disable page 1. SAVE button reverses this.

Ta-da!

Terry
- Whoever said that women are the weaker sex never tried to wrest the bedclothes off one in the middle of the night
- Worry is the interest you pay, in advance, for a loan that you may never need to take out.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform