Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to prevent docking of toolbar
Message
From
28/02/2005 07:08:38
 
 
To
28/02/2005 04:39:25
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows '98
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00991109
Message ID:
00991129
Views:
16
>I have a custom toolbar in a main VFP screen based on VFP toolbar class.
>
>How to prevent its docking to top and bottom of the main VFP screen or to prevent docking at all?
>
>I tried this by adding the code
>
>
IF INLIST( nLocation,0,3)
>  NODEFAULT
>  RETURN .F.
>  ENDIF
>
>to toolbar beforedock method but this does'nt prevent toolbar from docking.

Hi Andrus,

this is a bad VFP design.
It is not possible with direct coding of VFP.

On VFP9 it can be tried with BINDEVENT(toolbar.hwnd.....)
but task is difficult to make it without to generate C0005 errors.

Fabio
Previous
Reply
Map
View

Click here to load this message in the networking platform