Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Screen Problem
Message
From
14/02/2003 11:00:50
 
 
To
14/02/2003 10:46:54
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
00753261
Message ID:
00753271
Views:
14
You must set the titlebar on your forms to 0 to hide the title bar. For the main screen, make a dummy.exe with this as the main.prg (and only program in the exe for example purposes):
*main.prg to hide toolbar and menu
SET SYSMENU OFF
_screen.titlebar=0
HIDE WINDOW standard
CLEAR
WAIT WINDOW "this is the app with no menu and no titlebar"
SET SYSMENU ON
_screen.titlebar=1
ACTIVATE WINDOW standard
WAIT WINDOW "this is the app normal"
RETURN
Oops, I think I misunderstood. Are you saying that when you run your .exe your exe runs but there is NO title and form? Just a blank screen appears and you are wondering what is wrong? If so, put in your main.prg something like the following:
DO FORM <yourform>
READ EVENTS
Then in your form, in the unload event put a CLEAR EVENTS if it is a one form app.
.·*´¨)
.·`TCH
(..·*

010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"
Previous
Reply
Map
View

Click here to load this message in the networking platform