General information
Category:
Coding, syntax & commands
>When I first run my EXE, it doesn't show a maximized screen. The user needs to press the maximized button to get it maximized.
>
>How do I maximize it on startup?
I put the code below in my main prg to start my app. _screen refers to the foxpro window. _screen.windowstate= 2 maximizes foxpro's screen on startup.
Hope this helps!
WITH _screen
.LockScreen=.T.
.windowstate= 2 &&Maximizing Main FoxPro Window
.BackColor=rgb(192,192,192)
.caption = "Rural/Metro Marketing System"
.fontsize = 12
.icon = "rmtruck.ico"
.LockScreen=.F.
ENDWITH
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only