Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
EditBox + PageFrame = moving data in editbox
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 7 SP1
OS:
Windows 2000 SP4
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01033226
Message ID:
01033230
Views:
21
>>I have a screen that has a button and a pageframe on it.
>>In the pageframe there is an editbox.
>>
>>1) user goes to edit box..scrolls down a little bit. (edit box is in the pageframe.page1)
>>2) user clicks on a button (button is on the form)
>>3) the text in the editbox is slightly shifted.
>>
>>I know its happening in VFP 6 and 9....
>>any ideas on how to fix this? users are yelling (they're reading a script and loosing their place!)
>>
>>-Thanks
>
>Are you doing anything that moves the .SelStart property of the EditBox?

Well no...which is probably part of the problem.
Originally I thought it happens only when you use the scroll bar - because the cursor in the edit box would still be at the top, so when you went back to the editbox, you'd end up back at the top. Now I'm being told that there is code running in the activate event of the page tab too...which might be contriubiting to the problem because it seems he's having this problem even when the user didnt just use the scroll bar (the cursor is in the right spot in the edit box)...
aaarrggg...
ICQ 10556 (ya), 254117
Previous
Reply
Map
View

Click here to load this message in the networking platform