Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Favorite Enhancement
Message
From
09/06/2004 15:32:58
 
 
To
09/06/2004 14:26:54
Emmanuel Huybrechts
Technimeca International Corp.
Montréal, Quebec, Canada
General information
Forum:
Visual FoxPro
Category:
Visual FoxPro Beta
Miscellaneous
Thread ID:
00910115
Message ID:
00911907
Views:
60

Very clever, no doubt, thanks for taking the time to explain it to me.

But we are far from the ease of use of Codemine or better .NET WinForms. Why use bits for a functionnality that will change the position of at most 100 controls on a form ? I think even 486 can do it fast without using bits. And it's even probable that the speed of the video card is more important than the efficiency of the code.


i do not known Codemine,
but on VFP the property is a list, and when VFP search a property, it scan this list:
last property add
....
fist property add
Baseclass property list ( i do not test if it is in alpha order )
Then, any property added it weights down the scan process.

Anther problem is this:
if you change the control position and you want redo the Anchor to new positions,
you cannot do this:
this.Anchor = this.Anchor  && or RAISEEVENT(..)
VFP ignores this command.
I think it compares this with an inner value and if they are equal the execution finishes.

Then you must do this for a generic class with a unknown Anchor setting:
anchor = this.Anchor 
this.Anchor = 0 && any value # by anchor
this.Anchor = this.Anchor
With more to one Property, this process is complex.

Fabio
Previous
Reply
Map
View

Click here to load this message in the networking platform