9/27/2010 12:18:37 AM
Title:
canvas(minimize, maximize)
Hi to All,
I have a component. In that component having four inner components. In Each and Every component have minimize and maximize option. How to do it?
Please help me. its very urgent.
with Regards,
Ramakrishna
9/27/2010 4:07:54 AM
You will have to store their initial x , y and width height, then increase width and height. Try to use in build effects to make it more attractive else it will happen with jerk and will not look good.
Thanks
9/27/2010 9:31:48 AM
place two buttons (minimize and maximize) on top right of each component. Now on click of minimize button set the height to something like 20 px and move to the bottom by setting the x and y of the component. Before moving store the initial x,y positions. On maximize set the height and x,y to original values saved earlier.