|
-
Oct 12th, 2000, 12:40 PM
#1
Thread Starter
Junior Member
Okay, perhaps this is a simple questions, but the answer is certainly eluding me.
In VBA the Screen object has a PreviousControl property, which is very useful if you want to know which control had the focus before the current one received it. In VB, however, the Screen object does not have this property. Does anyone have any ideas how to determine the previous control in VB?
Barrie A. Sargent
Programmer/Analyst - VB/VBA
-
Oct 12th, 2000, 12:47 PM
#2
It would somewhat burdensome to do this after the form was created, but you could set up a global IWasThere and in each control code section set it to the name of the control.
I don't know of any other way, but, hopefully, you'll get a better answer.
Good Luck
DerFarm
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
|