Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Outlook bar class in VFP7
Message
De
30/09/2003 03:27:57
Dorin Vasilescu
ALL Trans Romania
Arad, Roumanie
 
 
À
29/09/2003 21:37:15
Information générale
Forum:
Visual FoxPro
Catégorie:
Produits tierce partie
Divers
Thread ID:
00822839
Message ID:
00833381
Vues:
36
If the listbar is on the form, then you can add code in form Resize method. Something simple:

{obj_ref}.Height = this.Height - 16

16 is the approximate number of pixels of toolbar mover, if the listbar class is in a toolbar.

I've posted an updated version, check it. The code that resize objects is moved in ASSIGN methods to avoid endless recursive calls (ASSIGN call _resize, but , because of ASSIGN bug, when .width or .height is in right side of an expression to set other objects width or height, then ASSIGN method fires again, and so...). Seems that the ASSIGN method is not calling itself.


>Hi,
>thank you for reply. I have try the code, but it doesn't work.
>Although, I am using TOP LEVEL form as MDI form instead of _SCREEN. Therefore, I change the code you given to
>
>
>this.screenhook.olistbarref.Height = <B>frmMain</B>.height-6-sysmetric(20)+(sysmetric(4)+1)*2
>
>
>
>Is it the way?
>
>Thank you
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform