Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Dockeable Forms
Message
De
17/02/2000 11:29:43
 
 
À
17/02/2000 11:21:55
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Divers
Thread ID:
00333384
Message ID:
00333440
Vues:
13
>>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
Fil
Voir

Click here to load this message in the networking platform