|
-
Oct 27th, 2000, 04:27 PM
#1
In my application, from the main form, another (modal) form is opened with another button having the focus. However when i click the button nothing seems to happen. But the second time i click the button, the click event gets fired.
It is such that i need to click on the form once(any where) and then click the button before i can get the button click to be fired. With the key board everything seems to be fine
Could any one have any idea why?
Thanx!
-
Oct 27th, 2000, 04:46 PM
#2
Post your code, maybe there is an error in that.
-
Oct 27th, 2000, 04:50 PM
#3
'other code not related to form2
form2.Show vbModal
'other code
form2_activate:
okbtn.setfocus
-
Oct 28th, 2000, 04:11 AM
#4
form2_activate:
okbtn.setfocus
Try this instead:
oughta work 
-
Oct 28th, 2000, 08:04 AM
#5
_______
<?>
I once had a situtation where something weird like that was happening and I couldn't get it going for the life of me so I finally just deleted the problem form and made a new one and all went well from there.
No idea why or how but the new form was the answer.
"A myth is not the succession of individual images,
but an integerated meaningful entity,
reflecting a distinct aspect of the real world."
___ Adolf Jensen
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
|