[futurebasic] Re: [FB] BevelButton

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : January 2006 : Group Archive : Group : All Groups

From: Brian Heibert <bheibert@...>
Date: Thu, 26 Jan 2006 21:55:09 -0500
yes there is a cicn & icon resource with the id of 1000

On Jan 26, 2006, at 9:53 PM, Brian Stevens wrote:

>
>
> Is there a icon resource with a resource id of 1000 in HBasic.rsrc?
>
> also you might add (i.e. two setbuttondatas)
>
> setVal = _kControlBevelButtonAlignBottom
> def SetButtonData( _cRun, _kControlEntireControl,  
> _kControlBevelButtonGraphicAlignTag, sizeof( short ), setVal )
>
> On Jan 26, 2006, at 5:43 PM, Brian Heibert wrote:
>
>> Hi,
>>
>> I have this code:
>>
>> resources "HBasic.rsrc"
>> SetRect(r, 0, 0, 65, 27)
>>
>> appearance button _cRun, _activeBtn, 0,  
>> _kControlContentIconSuiteRes, 1000, "Run", @r,  
>> _kControlBevelButtonNormalBevelProc
>> setVal = _kControlBevelButtonPlaceBelowGraphic
>> def SetButtonData( _cRun, _kControlEntireControl,  
>> _kControlBevelButtonTextPlaceTag, sizeof( short ), setVal )
>>
>> But the icon isn't showing up in the appearance bevelbutton?
>>
>> Brian
>>
>> --
>>
>
> --
>