Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
EditBox + PageFrame = moving data in editbox
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 7 SP1
OS:
Windows 2000 SP4
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01033226
Message ID:
01033230
Vues:
20
>>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform