Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Want form so small that it can not be seen.
Message
From
07/12/1998 10:13:38
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00164724
Message ID:
00164742
Views:
19
>Will spare ya'll (southern speak) the gory details of why I need a form that can not be seen, except that I have the need to take focus from several forms before routine1. Would like to have a generic invisible1 form. Before routine1 I would "invisible1.show()". Then after the routine "invisible1.release()".
>
>Set the invisible.Height = 0, but the blue bar still shows. Any ideas?
>
>Thanks - Brenda

Hi Brenda,

If you want the form invisible, then I'm making the reach that you don't care what it looks like. If you use createobject(), the default behavior is for it to be invisible, but all of its properties and methods are available. Then you could show it if you wanted. Ref. the following code snippet.

Public SomeForm
SomeForm = CreateObject("aformclass")

Now you can fire its methods or reference its properties/methods by

SomeForm.propertyname
SomeForm.methodname()

Although, it occurs to me that if this is what you are after, why not use an object based on the custom class ??? What functionality are you after that is pointing you toward a form ???

Regards,
Jason Tryon
Senior Systems Analyst / Technical Lead
eBusiness / iPage
Previous
Reply
Map
View

Click here to load this message in the networking platform