[futurebasic] Re: [FB] Small controls

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : October 2003 : Group Archive : Group : All Groups

From: Robert Purves <robert.purves@...>
Date: Fri, 10 Oct 2003 13:55:35 +1300
> In Apple's Interface Builder, we can specify a 'Small' option for many 
> of the controls. How would we do this in FB?
> Bernie

_kControlSizeSmall = 1
_kControlSizeTag   = _"size"
#define ControlSize as UInt16

dim as ControlSize  @ size
size = _kControlSizeSmall
def SetButtonData( myButtonNum, _kControlEntireControl,¬
     _kControlSizeTag, sizeof( ControlSize ), @size )


Robert P.