is it possible to render all object in a form at C# and use the form like a flash

  • Thread starter Thread starter IVVEDI
  • Start date Start date
I

IVVEDI

Guest
SWF for resizing it? ? or is there another way to resizing all objects by resolution? but i think rendering objects will be more useful....
 
If I understand your question correctly, you want to be able to resize your controls based on resolution? If so, this is exactly the same as sizing your controls based on the user resizing the form themselves. You can do this using the anchor properties of each control. Setting this to a combination of top, bottom, left or right forces the control to 'stick' to the top, left, botton or right of the form. For instance if a contol is 2 cm away from the right hand side of the form and you anchor the control to the right... when the right hand side of the form is dragged out the right hand side of the control remains 2 cm away by moving. Now if you stick the left and the right hand side, the control will resize instead.

To really understand anchoring the best thing to do is play.

If you run a full screen application and the form is resized due to resolution then the above still works because your form just gets bigger or smaller and the controls keep their ratio to the form using anchoring
 
Back
Top