Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Odd textbox behaviour
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00771458
Message ID:
00771997
Views:
18
I do not get the behaviour change. I put the DoDefault() into the Valid of a baseclass, then later tried it directly on the textbox, I still get the same results. It looks like I am going to be writing extra code in the GotFocus to keep the behaviour the same for all textboxes.

>What I can see from one of my applications, the behaviour is somehow related to whether valid event has code or not. I can switch the behaviour if I put any code into valid event.
>If there is no code in the valid event, then cursor goes to the position where it was. But even if I put there just * or dodefault(), cursor goes to the beginning of the line.
>
>
>>I have found this problem with a textbox. I have no custom code, and changed the base object back to VFP.
>>I am running W2K SP2, VFP6 SP5. I have both VFP 7 and VFP 8 installed on the system.
>>
>>The problem: Type some text left arrow 2 times, tab out of textbox, tab back into textbox. The cursor is where it was. All the other forms I have done this with, put the cursor back at the beginning, unless I have SelectOnEntry set True.
>>
>>Anybody have some idea's?
>>
>>Thanks
Tracy
Previous
Reply
Map
View

Click here to load this message in the networking platform