View Single Post
  #9 (permalink)  
Old 04-29-2009, 09:41 AM
Erel's Avatar
Erel Erel is offline
Administrator
 
Join Date: Apr 2007
Posts: 13,119
Awards Showcase
Basic4ppc Founder 
Total Awards: 1
Default

Quote:
Originally Posted by agraham View Post
I've started to look at this for my ControlsExDevice library and after being somewhat confused by the behaviour established the following.

When a library object has the field B4P_AutoScale defined then the compiler applies a fix to values in certain program statements as follows.

1) Values for parameters named Left, Top, Height & Width in library object constructors are fixed.

2) Values for assignment to properties named Left, Top, Height &, Width are fixed.

3) Values read back from properties named Left, Top, Height & Width are fixed.

Are there any other properties or type of statements that are fixed or are these the only circumstances where the fix is applied?
These are the exact places that B4P_AutoScale fixes.
In all other cases you will need to use FixX/Y and ScaleX/Y.
__________________
Basic4android documentation
Reply With Quote