Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Single Form Application
Message
From
19/04/2009 16:15:47
 
 
To
19/04/2009 03:53:47
General information
Forum:
Visual FoxPro
Category:
Installation, Setup and Configuration
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01395476
Message ID:
01395510
Views:
77
This message has been marked as a message which has helped to the initial question of the thread.
Hi Sedjan, I give out a small application called "Clock" to my clients which show the time, day etc. It is a very small windows displayed on desktop. Is this the format you are looking for ??
_SCREEN.WINDOWSTATE = 0
	
	* Local variables to store current settings
	Local oldScreenLeft
	Local oldScreenTop
	Local oldScreenHeight
	Local oldScreenWidth
	Local oldScreenColor
	WITH _Screen
	 oldScreenLeft=.Left       && Save current position and size
	 oldScreenTop=.Top
	 oldScreenHeight=.Height
	 oldScreenWidth=.Width
	 oldScreenColor = .Backcolor
	 .LockScreen=.T.       && Disable screen redraw
	 .BackColor=rgb(192,192,192)   && Change the background to grey
	 .BorderStyle=2        && Change the border to double
	 .Closable=.F.         && Remove window control buttons
	 .ControlBox=.F.
	 .MaxButton=.F.
	 .MinButton=.T.
	 .Movable=.T.
	 .Height=170
	 .Width=180
	 .Caption="Clock - Khan Software"    && Set a caption
	 .LockScreen=.F.       && Enable screen redraw
	ENDWITH


	**************************************
	do form clock
	
 
	shutdown()
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform