Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Hiding the main visual foxpro window
Message
From
01/01/2003 14:06:27
 
 
To
02/12/2002 17:57:14
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00728815
Message ID:
00737190
Views:
22
resize the main window so that it is smaller than your form window so it will always hide behind your form.

this is what i do on my main.prg

With _Screen
.Width = 120 && smaller than my form width
.Height = 120 && smaller than my form height
.WindowState = 0
.AutoCenter = .T.
.Show()
Endwith

do form form1

in the moved event add:

_SCREEN.LEFT = THISFORM.LEFT
_SCREEN.TOP = THISFORM.TOP

in config.fpw
SCREEN=OFF

in your form property
desktop=.t.

hope this help.
Regards,
Prahara Syah Rendra
Bogor - Indonesia
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform