Le 26/08/2012 00:56, Bruce a écrit :
> On Sun, 2012-08-26 at 00:03 +0200, Willy Raets wrote:
>> On zo, 2012-08-26 at 07:00 +0930, Bruce wrote:
>>> On Sat, 2012-08-25 at 23:01 +0200, Willy Raets wrote:
>>>> 1. In IDE you have a form property Scaled (just below resizable) that
>>>> can be set to True or False (see attached screenshot).
>>>> When creating a form from code it seems impossible to set the Scaled
>>>> property. Looked for it in the documentation but can't seem to find
>>>> anything, or did I miss something?
>>>>
>>> Property Scaled As Boolean
>>> If the form and controls dimensions must follow the size of the default
>>> font.
>>> !    This property is virtual: it is only implemented in the IDE, and has
>>> no existence at runtime.
>>
>> So you mean to say I can't set this property when making the form from
>> code instead of IDE or am I misunderstanding?
>
> My understanding is that there is no point in setting it in code as it
> only has a meaning within the IDE.
> I admit that I don't really understand what it actually *does* in the
> IDE but then again I've never really had a need to set or unset it.
>
> B
>

Because that property just tells the IDE to use either Move() (Scaled = 
FALSE) or MoveScaled() (Scaled = TRUE) to define the position and the 
size of a control.

-- 
Benoît Minisini

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to