Main form is loaded, and I load a another form, when the focused form is up and if I minimize the main form, the focused form stays on the screen, does not minimize with main form. How do you make the focused form stay with main form.
In and SDI (not MDI) environment, you could do this:
on minimize of main form:
sub form_minimize()
dim frm as form
for each frm in forms
if not frm.windowstate = vbminimized then frm.windowstate = vbminimized
next
end sub
if you want them to minimize regardless of which form was minimize just copy those 4 lines into each forms minimize event.
Two strings walk into a bar. The first string says to the bartender: 'Bartender, I'll have a beer. u.5n$x5t?*&4ru!2[sACC~ErJ'. The second string says: 'Pardon my friend, he isn't NULL terminated'.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.