I have a form that contains a 3rd party 'Button Panel' component. I want to be able to make the form snap to different size increments as it is resized at runtime. I want it to only change size if it is enough for an extra row or column of buttons.
Example: The buttons are 36 x 36. If the form is being resized for width, I want it to act as if it it being snapped to a 36 x 36 grid. I've tried the OnResize event, but it can't get it to work in the way I need. Is there a windows message I can handle that would allow me to determine this and give the form a 'snap to virtual grid' functionality? _______________________________________________ Delphi mailing list -> [email protected] http://www.elists.org/mailman/listinfo/delphi

