Page 1 of 1

The parent property is missing ?

Posted: Mon Apr 11, 2016 8:32 pm
by TopsMarc
Hi,
In the HMG Reference I read there are controls that have a parent property, available at control definition, e.g. a Label and a TextBox. But when I design a screen, and put some labels and textboxes on it, I don't see that parent property. Shouldn't it be there in the design screen ? See image.
Kind regards, Marc

Re: The parent property is missing ?

Posted: Mon Apr 11, 2016 11:21 pm
by esgici
TopsMarc wrote:Hi,
In the HMG Reference I read there are controls that have a parent property, available at control definition, e.g. a Label and a TextBox. But when I design a screen, and put some labels and textboxes on it, I don't see that parent property. Shouldn't it be there in the design screen ? See image.
Kind regards, Marc
"Parent" property is the window (form) name that this control is on. In particular, "parent" property is meaningful for control(s) defined outside of its window (form) definition.

In IDE it's impossible to define a control without his "parent" nor define a control outside of this (active) form. Because you should define a window (form) before any control is on.

So, in IDE is meaningless define a "parent" to any control.

Happy HMG'ing :D

Re: The parent property is missing ?

Posted: Tue Apr 12, 2016 6:08 am
by TopsMarc
Hi mr. Esgici, Thank you for this clarification. Kind regards, Marc