F
Finn Stampe Mikkelsen
I'm about to do a new application and so far i have only made none-resizable
forms.. I want to try to do an app, that can be resized by the user.
I was thinking along the lines of doing a initial size config, based on the
screen resolution and then letting the user drag the screen og via the menu
select preset resolutions of the app (limited by the gfx capablillities of
the system running the app).
I'm not familiar with Anchor/Dock as such. I've been playing a little with
them, but it seems to me, that they only stretch/schrink the controls in
width. I can't seem to get them to do the same in height and that leaves me
with a app, that totally looses any kind of proportion on the form unless i
resize every control manually relative to the forms size..
Does anybody have code that can do that?? or does anybody know where i can
read about that? I have tried google, but could only find some old vb6
stuff, that i could not make heads nor tale of..
Not need to reinvent the wheel if somebody else has done this or if i simply
have not understood the Anchor/Dock properties correctly...
TIA
/Finn
--
Der er 10 slags mennesker - Dem som forstår binær og dem som ikke gør.
There are 10 kinds of people. Those who understand binary and those who
don't.
Es gibt 10 Arten von Menschen. Die, die Binär verstehen, bzw. die, die es
nicht tuhen.
forms.. I want to try to do an app, that can be resized by the user.
I was thinking along the lines of doing a initial size config, based on the
screen resolution and then letting the user drag the screen og via the menu
select preset resolutions of the app (limited by the gfx capablillities of
the system running the app).
I'm not familiar with Anchor/Dock as such. I've been playing a little with
them, but it seems to me, that they only stretch/schrink the controls in
width. I can't seem to get them to do the same in height and that leaves me
with a app, that totally looses any kind of proportion on the form unless i
resize every control manually relative to the forms size..
Does anybody have code that can do that?? or does anybody know where i can
read about that? I have tried google, but could only find some old vb6
stuff, that i could not make heads nor tale of..
Not need to reinvent the wheel if somebody else has done this or if i simply
have not understood the Anchor/Dock properties correctly...
TIA
/Finn
--
Der er 10 slags mennesker - Dem som forstår binær og dem som ikke gør.
There are 10 kinds of people. Those who understand binary and those who
don't.
Es gibt 10 Arten von Menschen. Die, die Binär verstehen, bzw. die, die es
nicht tuhen.