Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Display Text In StatusBar (font size)
Message
From
14/04/2006 12:55:23
 
 
To
13/04/2006 12:04:04
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 7 SP1
OS:
Windows Server 2003
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01113483
Message ID:
01113738
Views:
29
This message has been marked as a message which has helped to the initial question of the thread.
Marc,

You can create your own 'statusbar' by placing a label (ThisForm.lblStatusBar in the example below) or textbox where you want your statusbar to appear and then using a timer whose timer event does the following:

if type( "_Screen.ActiveForm.lblStatusBar.Caption" ) == "C"
_Screen.ActiveForm.lblStatusBar.Caption = _VFP.StatusBar
endif

_VFP.StatusBar holds the most recent VFP statusbar message set by your menu system or an explicit SET MESSAGE TO ... command.

I set my timer interval for 100 ms (1/10 second).

If you're using VFP 9 you can use the new Anchor property to have your statusbar label or textbox automatically anchor itself to the bottom of your main form and resize in synch with your main form.

Hope this helps!
Malcolm
Malcolm Greene
Brooks-Durham
mgreene@bdurham.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform