Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid doesn't fill the window
Message
De
11/09/2002 09:34:52
 
 
À
11/09/2002 08:59:32
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00699192
Message ID:
00699295
Vues:
20
Ahh...found the problem... I'm now executing the code in the activate event and it works fine.

>Refresh doesn't seem to solve the problem. And I am doing the code below in the show event of the form...so THIS. is referring to the form. And Lockscreen is not involved.
>
>Any other ideas out there?
>
>>Bob,
>>
>>Just a thought, did you Refresh ? or is there a LockScreen?
>>
>>Ric
>>
>>>Hi.
>>>
>>>I want a grid to fill a window.
>>>
>>>The window was previously given a windowstate=2 (Maximized) before the window is shown. Also the window has a showwindow of 1 (In top level form).
>>>
>>>Here is the code in the show event:
>>>
>>>WITH ThisForm.bGrid
>>> .left = 0
>>> .top = 0
>>> .height = THIS.Height
>>> .width = THIS.Width
>>>ENDWITH
>>>
>>>Its not filling the window...
>>>
>>>There are no other objects on the window. No menu.
>>>
>>>What am I doing wrong?
>>>
>>>Thanks.
>>>
>>>Bob
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform