Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Display Text In StatusBar (font size)
Message
De
14/04/2006 12:55:23
 
 
À
13/04/2006 12:04:04
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 7 SP1
OS:
Windows Server 2003
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01113483
Message ID:
01113738
Vues:
28
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform