Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Setfocus on first textbox control on page
Message
 
 
To
20/05/2005 16:17:46
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00944565
Message ID:
01016537
Views:
21
>>Hi Fabio,
>>
>>I'm not sure, why your code didn't work in our situation. E.g. it did what it was intended to do, but it cause undesired problem with the combobox class, which we had long time to debug.
>>
>>Anyway, this is how we resolved the problem with putting focus on the first control of the page: we put this.parent.activepage = 1 in the first page Activate method (only for the first time this page is activated) and it solved the focus problem. Don't ask me why...
>>
>
>yes,
>when you do
>pf.activepage = nValue
>a bug appear, it killed the other bug.
>
>Me memory that does not have to use ActivePage
>in order to change page in VFP8 and before,
>but check in VFP9, me seems that it has been arranged.

May be your trick will work in VFP9. We are now working back in 8, because we hit another problem in our development...
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform