Zooming on winform controls
-
hi group, I have a winform application. One of my winform contain a panel with few child controls. I would like to impliment zooming (like 50 % , 100 % etc) facility for all child controls which are avilable inside that panel. The main reason is, i have a collection of controls inside that perticular panel. Sometime user want to see some or all controll at a streach without scrolling panel up and down. How will do this ? Please post your idea. Sreejith Nair [ My Articles ]
-
hi group, I have a winform application. One of my winform contain a panel with few child controls. I would like to impliment zooming (like 50 % , 100 % etc) facility for all child controls which are avilable inside that panel. The main reason is, i have a collection of controls inside that perticular panel. Sometime user want to see some or all controll at a streach without scrolling panel up and down. How will do this ? Please post your idea. Sreejith Nair [ My Articles ]
i hope i understood your question. you can add a Zoom function to your pannel that has a zoom parameter (on a 1 to at least 100, it can be higher since you could zoom to lets say 500%) that will resize the size of your controls and the distance betwin them(theyr location that is). you need to define a scale however for your controls. ofcourse you need to remove the anchor proprietys of all the controls in that panel and for more realism you will need to code a function for resizing the text font of the controls and add it to every control's SizeChange eventHandler.
-
i hope i understood your question. you can add a Zoom function to your pannel that has a zoom parameter (on a 1 to at least 100, it can be higher since you could zoom to lets say 500%) that will resize the size of your controls and the distance betwin them(theyr location that is). you need to define a scale however for your controls. ofcourse you need to remove the anchor proprietys of all the controls in that panel and for more realism you will need to code a function for resizing the text font of the controls and add it to every control's SizeChange eventHandler.
thanks a lot for your submission. it would be greate , if you can send some url's . Sreejith Nair [ My Articles ]