Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to add Statusbar ActiveX control to _SCREEN object
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00048298
Message ID:
00048468
Vues:
33
Hi Bela,

As far as I know the only way to prevent the recno and table name from being displayed is to ensure that there is a message in the status bar at all times.
_vfp.statusbar = "" will remove the info from the status bar, but I am not sure when it will come back!

I don't know of any way to get the messages from the menu into your status bar.

If you want an alternative solution to your original problem, you can use the ActiveX statusbar by creating a new Top Level Form. Change the ShowWindow propery of your main form to be As Top Level and make all of your other forms In Top Level. Then hide the standard VFP screen with SCREEN=OFF in the config.fp. This will allow you to put the status bar control in you new top level form.

I tried using the Statusbar ActiveX control back when it was only a OLE control! I found it added about 8 seconds to my application load time, not suprisingly I soon gave up. But that was back in the old days :-) now it's pretty snappy.(Or is that because now I'm on a P166 with 64megs of RAM)

Bye for now,
Darrel

>Hi Kamal, Edward & Edward!
>
>Thanks for your answers. The topic is start to be clear for me. But before I begin to use toolbar-status, I have 2 addtional question:
>1. Isnot there any trick, with I can prevent VFP to write the actual alias and record number into the (original) Statusbar?
>2. In the menu, how can I make status messages to my (status)toolbar? (I mean that at normal controls noproblem, I will use GotFocus event to display message, but what I should use at menus?)
>
>TIA
>
>BB
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform