cancel
Showing results for 
Search instead for 
Did you mean: 

Item rectangle does not work well

Former Member
0 Kudos

Hello everyone,

I have the following problem. I added a rectangle item to the form type (via XML) and works fine, but when maximizing the form (because the BorderStyle property is "0") are rearranged all controls except the rectangle. I reviewed the other attributes including the forms of system but still did not hit this problem. Someone could help me please? Thank you.

Best regards.

The Code:


<item uid="50" type="100" left="10" tab_order="50" width="820" top="189" height="305" 
visible="1" enabled="1" from_pane="0" to_pane="0" disp_desc="0" right_just="0" 
description="" linkto="" forecolor="-1" backcolor="-1" text_style="0" font_size="-1" supp_zeros="0" 
AffectsFormMode="0">
<AutoManagedAttribute />
</item>

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Oh, what a pity.

Thank you very much.

Former Member
0 Kudos

Hello Esteban,

You should resize from code the rectangle. It will not automatically resized!

Use the et_form_resize event and BeforeAction = false to resize your rectangle.

Regards,

János