Information générale
Catégorie:
Gestionnaire d'écran & Écrans
>>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
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement