Started by andrew ·
2009-12-08 21:34 UTC ·
4 replies · SMF topic #1067
andrew
2009-12-08 21:34 UTC
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
2009-12-08 21:43 UTC
do you mean you want the buttons to resize as the form gets resized?
andrew
2009-12-09 13:45 UTC
author=BazzaCAD link=topic=1067.msg5555#msg5555 date=1260308628 wrote:
do you mean you want the buttons to resize as the form gets resized?
yes sir
Kerry Brown
2009-12-09 14:52 UTC
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.
andrew
2009-12-09 18:04 UTC
author=Kerry Brown link=topic=1067.msg5566#msg5566 date=1260370373 wrote:
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