Hi guys,
I want my form to resizable but withing limits... lets say from 600 to screen Width....
I know I can just check the screen width in the resize event, but that wont stop neither the flickering not the screen resizing event from retriggering...
Anyway to avoid this?
EDIT:
There is a "setWindowSizeLimits" method available!!!
my Solution:
Dim ps As Screen = fx.PrimaryScreen
MainForm.SetWindowSizeLimits(600,600, ps.MaxX,ps.MaxY)
I want my form to resizable but withing limits... lets say from 600 to screen Width....
I know I can just check the screen width in the resize event, but that wont stop neither the flickering not the screen resizing event from retriggering...
Anyway to avoid this?
EDIT:
There is a "setWindowSizeLimits" method available!!!
my Solution:
Dim ps As Screen = fx.PrimaryScreen
MainForm.SetWindowSizeLimits(600,600, ps.MaxX,ps.MaxY)
Last edited: