Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Toolbar in top level form
Message
De
04/10/2010 16:27:20
 
 
À
04/10/2010 13:18:45
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01483830
Message ID:
01483903
Vues:
88
>>I have an app that uses a top-level form (.ShowWindow = 2) and SCREEN OFF.
>>
>>Can I put a toolbar in the form?
>
>Yep. I'm using this ability to have a status bar docked in the main form of an app. I add it in the form's Activate, like this:
>
>
>IF ISNULL(This.oStatusBar)
>	This.oStatusBar = NEWOBJECT("tbrStatusBar", "Controls")
>	BINDEVENT(This, "Resize", This.oStatusBar, "ResizeStatus", 1)
>
>	IF This.oStatusBar.DockPosition <> 3
>		This.oStatusBar.Dock(3)
>	ENDIF 
>
>	This.oStatusBar.Show()
>ENDIF
>
>
>Tamar


Hi Tamar,

I think that Jim is afraid of the SP2 bug that makes toolbars appear somehow disabled in Top-Level forms.

Jim, fortunately, MS delivered a hotfix for this issue:

See KB968409 - http://code.msdn.microsoft.com/KB968409/Release/ProjectReleases.aspx?ReleaseId=2445

You may also download directly Woody's installer, that does all the job for you:
http://code.msdn.microsoft.com/FoxPro/Release/ProjectReleases.aspx?ReleaseId=125
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform