Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Dockeable Forms
Message
From
17/02/2000 11:29:43
 
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
00333384
Message ID:
00333440
Views:
14
>>How do I create a form that will "dock". I don't want to just dock a toolbar in my application window, I want to create a, physically, thin application that can be docked on the screen.
>>
>>Thanks for the help.
>
>I am not sure exactly what you mean, but I have a form that I use in my applications that acts as a sidebar. In other words it exists on the side of the screen and never goes away. My users can access the application's funtionality through the use of buttons placed on the sidebar.
>
>To implement this the init code should have the following:
>
>This.Height = _SCREEN.Height
>This.borderstyle = 0
>This.caption = ""
>This.closable = .f.
>This.controlbox = .f.
>This.maxbutton = .f.
>This.minbutton = .f.
>This.sizebox = .f.
>This.Titlebar = 0
>This.Top = 0
>This.zoombox = .f.
>This.Width = 112
>
>This will give the form the appearance of being docked. Another option is to look into SDI forms. I don't like them, but they may be well suited for your purpose. Beyond that, I don't have much experience with SDI forms in general.
>
>hope this helps

I forgot one setting

This.left = 0

This will force the form to the left of the screen
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform