[Gambas-devel] Design property

Benoit Minisini gambas at ...1...
Wed Apr 2 15:08:06 CEST 2008


On mercredi 2 avril 2008, Robert Rowe wrote:
> Is there some trick to getting a component that you are writing in
> gambas to respond to the Design property? I have code in an if statement
> that is checking the design property of the parent of my component. As I
> understand it this is the form that the control has been drawn on. It
> should be in design mode if it is in the IDE. My code doesn't ever seem
> to run.
>
> Robert Rowe
>

Please provide more details. You have examples of tests of the Design property 
in the gb.form component. You must check this property to ensure that your 
control is really inert inside the IDE, especially if it is a container: it 
must not arrange its contents when in design mode!

Regards,

-- 
Benoit Minisini




More information about the Devel mailing list