[futurebasic] Re: [x-FB] _useWFont in Appearance Runtime

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : March 2004 : Group Archive : Group : All Groups

From: Robert Covington <artlythere@...>
Date: Mon, 29 Mar 2004 19:09:53 -0500
On Monday, March 29, 2004, at 06:52  PM, Robert Purves wrote:

>
> Paul Bruneau wrote:
>
>>> dim as Rect  r
>>> window 1
>>> SetRect( r, 20, 20, 100, 40 )
>>> appearance button 1,,,,, "OK", @r, _kControlPushButtonProc _useWFont
>>>
>>> do
>>> HandleEvents
>>> until 0
>>
>> That is a good one, Robert! Someone must have been thinking of me 
>> when they implemented that (I am assuming that _useWFont is a FB 
>> thing rather than an Apple thing). Who do I thank?
>
> It is an Apple thing, as seen in an extract from Controls.h:
> /*————————————————————————————————————————————————————*/
> /*  • OLDROUTINENAMES                                 */
> /*————————————————————————————————————————————————————*/
> enum {
>   useWFont = kControlUsesOwningWindowsFontVariant
> };
>
>
> If you prefer modern kOmpletelySelfDocumentingButVeryLongConstants, 
> you can write this:
> appearance button 1,,,,, "OK", @r, _kControlPushButtonProc 
> _kControlUsesOwningWindowsFontVariant
>
> Robert P.

(apologies for prior empty send, I am really hating Mail for mouse 
things sending stuff uncommanded, it's now a trend.)

Would you perhaps be an  _OPINZWDWOLOTR?

That's an Only Person In New Zealand Who Didn't Work On Lord Of The 
Rings.

Pooey on OPINZWDWOLOTR's. They denied PJ of needed Orc and Urok'hai 
variety.

rc
< ;=j

Derr Munkkey Knome