[SOLVED] Runtime control designer

Answered Closed
0
0

Hi

We want to desing of form controls on runtime for end users , is it possbile on wisej ?

We found example project for winforms , it is good , Can we do like this on wisej ?

https://www.codeproject.com/Articles/1004699/VB-NET-runtime-control-designer-for-windows-forms

 

Thanks

  • You must to post comments
Best Answer
0
0

Hi HSoft,

you can achive this with the Movable and ResizableEdges properties. I built a small example, which shows you this features.

For the Form I added a ComponentTool (Windows logo), when you click on it, it will allow you the move and resize all Controls in the Forms ControlCollection.

When a control was moved the Move event is executed, where you can save the new location. The same happens for the Resize event.

You can save now for each control the new values wherever you want and restore it in Form Load event.

Best,

Jens

Attachment
  • HSoft
    • HSoft
    • Sep 28, 2019 - 9:34 am
    Hi Thank you very much for sample project , I also ask question , How can set property grid of controls for change propersities , and how can I save and restore poperties and locations of controls Thanks for help
  • You must to post comments
Showing 1 result