Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Setfocus
Message
From
17/12/2001 03:16:25
 
 
To
14/12/2001 08:07:44
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00594326
Message ID:
00595017
Views:
26
Thanks for the reply.

I tried .show some time ago and I thought it a bit strange. What i tried was

form.show()
form.control.setfocus()

and that's what it did..it gave the control the focus but not the form i.e it wasn't activated. I have to say I was a little confused at the concept of a control having the focus but not the form. The reason why it's important is that I have a timer control that is trapping CTRL-N and it doesn't work if I use .show.

I find it a little confusing (coming from VB land as I do) that VB and VFP have such different behaviour when it comes to forms when they are both MS products. Oh well, c'est la vie.

Pablo
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform