|
Post by Mark Dunham on Apr 28, 2018 17:28:44 GMT -5
I was wondering if anyone had examples of adjusting controls to the window size. I have a program where you can select multiple sizes and want to be able to have controls adjust to the window size so they will still show on the screen I could do this with a case statement but I know there has to be an easier way to do this.
|
|
|
Post by tsh73 on Apr 28, 2018 23:14:09 GMT -5
just to say. In case of buttons/bmpbuttons, there is a "corner" parameter. From the help file:
It is somehow not exact (requires tweaking), but once set, it will reside on that place even if window is resized. Easiest way IMHO.
|
|
|
Post by Mark Dunham on Apr 28, 2018 23:17:26 GMT -5
just to say. In case of buttons/bmpbuttons, there is a "corner" parameter. From the help file: It is somehow not exact (requires tweaking), but once set, it will reside on that place even if window is resized. Easiest way IMHO. Thanks tsh73 again I will try messing around with that.
|
|
Larry
New Member
Posts: 40
|
Post by Larry on May 8, 2018 0:28:15 GMT -5
just to say. In case of buttons/bmpbuttons, there is a "corner" parameter. From the help file: It is somehow not exact (requires tweaking), but once set, it will reside on that place even if window is resized. Easiest way IMHO. Thanks tsh73 again I will try messing around with that. The resize handler in the help file might work as well on text and tedteditor boxes and other type controls.
|
|