Cool... I was not sure of the syntx for that method.
I was kind of thrown into VB development from the standpoint of an old
GW-Basic/M-Basic programmer, so the OOP stuff sometimes eludes me. :)
-----Original Message-----
From: Yehuda Rosenblum [mailto:Yehuda@I...]
Sent: Tuesday, March 13, 2001 9:55 AM
To: professional vb
Subject: [pro_vb] RE: Focus issues
just use a [textbox name].setfocus where [textbox name] is the name of
the textbox you want to focus on.
-----Original Message-----
From: John Walborn [mailto:JWalborn@m...]
Sent: Tuesday, March 13, 2001 11:52 AM
To: professional vb
Subject: [pro_vb] RE: Focus issues
Assume that we are on the same form and window the whole time, but we
cannot
guarantee that the are on a text box when focus needs to change... They
could be on a command button or anything else on the form.
-----Original Message-----
From: Yehuda Rosenblum [mailto:Yehuda@I...]
Sent: Tuesday, March 13, 2001 9:30 AM
To: professional vb
Subject: [pro_vb] RE: Focus issues
Is this focus from one textbox to another or from one Window to another?
-----Original Message-----
From: John Walborn [mailto:JWalborn@m...]
Sent: Tuesday, March 13, 2001 10:50 AM
To: professional vb
Subject: [pro_vb] Focus issues
Hey all,
I am having problems switching focus around like I need to... Is there a
way
to issue any kind of command that forces focus to, say, TabIndex 5 no
matter
where on the form I am?
Basically I need to set focus to particular fields based on events no
matter
where the cursor is currently located.
Any ideas?