>>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=2445You 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