| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | Re: SetFocus in combinati |
On Wed, 24 Nov 2004 19:40:31 +0100, "asd987" you
typed some letters in random order:
>Hello,
>
>Yesterday Iposted a message called "SetFocus". After reading
the reactions I
>did some tests. Bottomline of the tests isthat when Option1.Value = True
>the following event results in an errormessage:
>
>Private Sub Option1_Clcik()
>Text1.SetFocus
>End Sub
>
>If Option1.Value = False the Option1_Click() works without a problem. How is
>this possible?????
>
>I tested the following:
>
>Form1.frm contains
>Text1.Text
>Text2.Text
>Frame1 containing Option1 and Option2.
>
>Private Sub Form_Load()
>Option1.Value = True
>Text1.SetFocus
>End Sub
I have tried your code and found the same problem.
In your form_load event you set the option1.value to true
so the 'Option1_Click'event gets fired and tries to set a focus on the
textbox.
But form1 is not shown yet..!
try to set a 'me.show' as the first line in the form_load event.
I think thats the problem.
Groetjenz,
Mickey
--
#### gewoan skrieve su ast ut seist ####
---
þ RIMEGate(tm)/RGXPost V1.14 at BBSWORLD * Info{at}bbsworld.com
---
* RIMEGate(tm)V10.2áÿ* RelayNet(tm) NNTP Gateway * MoonDog BBS
* RgateImp.MoonDog.BBS at 11/24/04 4:33:00 PM
* Origin: MoonDog BBS, Brooklyn,NY, 718 692-2498, 1:278/230 (1:278/230)SEEN-BY: 633/267 270 5030/786 @PATH: 278/230 10/345 106/1 2000 633/267 |
|
| SOURCE: echomail via fidonet.ozzmosis.com | |
Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.