H
h
I have a custom control that consist of one or more custom child
controls (I made a custom List control, where each list item is a
group of a text and button controls).
When I resize one "child" control item, I would like the "Parent"
control to adjust the positions of other "child" controls. Therefore
I'd like the event that resizes the "child" control to trigger
"parent" control's function to adjust positions (e.g.
AdjustPositions() )
I tried using "this.Parent." but I can't see any of my public methods.
I would think that putting that code for arranging display in Paint
event of the "parent" control would help, but that didn't work either.
How can I access my methods in "parent" control?
Somehow I feel that there might be even more elegant solution to this
problem.
thanks for your help,
h
controls (I made a custom List control, where each list item is a
group of a text and button controls).
When I resize one "child" control item, I would like the "Parent"
control to adjust the positions of other "child" controls. Therefore
I'd like the event that resizes the "child" control to trigger
"parent" control's function to adjust positions (e.g.
AdjustPositions() )
I tried using "this.Parent." but I can't see any of my public methods.
I would think that putting that code for arranging display in Paint
event of the "parent" control would help, but that didn't work either.
How can I access my methods in "parent" control?
Somehow I feel that there might be even more elegant solution to this
problem.
thanks for your help,
h