Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Macro sub and setfocus
Message
From
11/07/2000 16:59:56
 
 
To
All
General information
Forum:
Visual Basic
Category:
Coding, syntax & commands
Title:
Macro sub and setfocus
Miscellaneous
Thread ID:
00390966
Message ID:
00390966
Views:
58
I need to do something in VB. I believe I know how I would do it in Fox but can't find the right syntax in VB. What I want to do is keep the name of the active form. Then I'll put a "container" form around my application. The container form is only so I can make sure I have a task bar button (so I don't have to go back and change every form). Whenever someone clicks on the taskbar button I want the container form to fire code that pulls up the truly active form.

So it's going to be something like:

activeform = (name of active form)
(user minimizes application)
(user maximizes application)
sub container_form.on_maximize
&activeform.setfocus
end sub


Will something like this work in VB? Thanks.
~~~~~~~~~~
Denise
~~~~~~~~~~
Next
Reply
Map
View

Click here to load this message in the networking platform