Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Toolbar in top level form
Message
From
04/10/2010 16:27:20
 
 
To
04/10/2010 13:18:45
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01483830
Message ID:
01483903
Views:
89
>>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
Previous
Reply
Map
View

Click here to load this message in the networking platform