General information
Category:
Forms & Form designer
>>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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only