Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can not get the logic right
Message
From
23/06/2009 13:10:51
 
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01407699
Message ID:
01407827
Views:
54
This message has been marked as a message which has helped to the initial question of the thread.
>>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...)
Edward Pikman
Independent Consultant
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform