|
-
Jun 6th, 2000, 01:46 AM
#1
Thread Starter
Addicted Member
Hi,
I'm having a problem with the Focus in my OCX.
This is my doubt:
My OCX is a Command Button. Inside the UserControl there
is a Label. When I click over the Label the Click() event
doesn't trigger. The Click() event only works if I click over the Label for the second time.
I think the first time I click the Label, my OCX isn't
accepting the Focus.
Is there a way to "force" the UserControl accept the Focus in the first click (using Setfocus or something like this inside the Label1_Click() event)?
Thanks for any help...
Michel Jr.
-
Jun 6th, 2000, 03:50 AM
#2
Frenzied Member
This is no way the best way to do it but you could put a timer on the form and every time the timer reches the interval that button control gets the focus.
Ask Fox/Megatron they're the best
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|