how do resize buttons with the modeless dialogs

Started by andrew, December 08, 2009, 01:34:37 PM

Previous topic - Next topic

andrew

can someone guide me on this one?
ive tried the auto size and allow resizing but
none of those are working.
also i dont see those functions in the samples
can anyone offer some help?

thanks

BazzaCAD

do you mean you want the buttons to resize as the form gets resized?
a.k.a.
Barry Ralphs
barryDOTralphsATgmailDOTcom

andrew


Kerry


EVENT Function Name c:Untitled_Form1_OnSize
Syntax   (defun c:Untitled_Form1_OnSize (NewWidth [as Long] NewHeight [as Long] /))
Return Type Ignored
Applies To Control Bar, File Dialog, Modal Dialog, Modeless Dialog, Options Tab, Palette

This event is triggered when the dialog is being resized. NewWidth and NewHeight contain the new width and height.

also, did you know that you can fix the distance of a control edge from its container ?
have a look at the Control Property Wizard=>geometry.

without further info regarding your GUI design we can't help much.

Perfection is not optional.
My other home is TheSwamp

andrew

#4
Quote from: Kerry Brown on December 09, 2009, 06:52:53 AM

EVENT Function Name c:Untitled_Form1_OnSize
Syntax   (defun c:Untitled_Form1_OnSize (NewWidth [as Long] NewHeight [as Long] /))
Return Type Ignored
Applies To Control Bar, File Dialog, Modal Dialog, Modeless Dialog, Options Tab, Palette

This event is triggered when the dialog is being resized. NewWidth and NewHeight contain the new width and height.

also, did you know that you can fix the distance of a control edge from its container ?
have a look at the Control Property Wizard=>geometry.

without further info regarding your GUI design we can't help much.




Kerry,
thanks for the reply.
the sample im using as reference doesnt have that event checked off
the sample im referring to is the "listbox" that comes with the editor



edit: the control property wizard is what i was after

thanks