Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can not get the logic right
Message
De
23/06/2009 13:34:15
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01407699
Message ID:
01407832
Vues:
28
>>>>My first impression is that it is not refreshed properly. Could you toggle Form.Lockscreen=.T./.F. around your code?
>>>>
>>>Ok, now (after I corrected some logic problems, got rid of anchors) it works almost perfectly. The only thing I think I need to implement is the Min Height and Width. Unfortunately, containers don't have MinHeight/MinWidth properties (would be nice if they do). So, what would be my options here?
>>>
>>>Try to use Height/Width assign methods to check for minimum (as recently discussed with Bhav)?
>>
>>Use Max() function any time you calculate height/width, e.g.
>>This.Container.Height=Max(100,...your calculations here...)
>
>Good idea, thanks. Though I mean min.
>
That's exactly enforcing min height.

>However, I wanted this for the outer container. I removed anchors from the inner parts, but I set the container's itself Anchor to 45. I don't want in run-time my container get smaller than certain point.
>
>Though I think I will just set minimum values for the form itself and this should take care of the problem.
>
>Nice talking to you again, I think we just came up with the solution.
Edward Pikman
Independent Consultant
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform