[futurebasic] Re: [FB] Font Menu

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

From: Brian Stevens <bstevens33@...>
Date: Thu, 17 Jan 2008 16:29:36 -0700
In that case set the ControlFontStyleRec to the font attributes you  
need (based on the user selection) and then update the field with the  
ControlFontStyleRec using SetControlFontStyle ( maybe via def  
SetButtonFontStyle ).

Brian S

On Jan 17, 2008, at 3:10 PM, Brian Heibert wrote:

> The edit field is a EditText control
>
> On Jan 16, 2008, at 11:48 PM, Brian Stevens wrote:
>
>>
>> On Jan 16, 2008, at 8:19 PM, Brian Heibert wrote:
>>> On Jan 16, 2008, at 10:13 PM, Brian Stevens wrote:
>>>
>>>>
>>>> On Jan 16, 2008, at 8:05 PM, Brian Heibert wrote:
>>>>
>>>>> I am using a font menu example by Al Stafferri Jr.
>>>>> It puts up a font menu however when I select a font the edit  
>>>>> field doesnt change
>>>>> What's missing?
>>>>
>>>> Maybe you are misunderstanding the function of a menu.  A menu's  
>>>> only purpose is to *indicate* what the user wants to do. When  
>>>> your program receives an event saying the user picked (say) the  
>>>> Lucinda Grande font on a menu, it is the responsibility of the  
>>>> program to now set the font for the edit field. Just selecting a  
>>>> menu doesn't change the font in the edit field (even though it  
>>>> looks that way to the user).
>>>>
>>>>
>>>> Brian S.
>>>>
>>>>
>>>>> okay what should I be looking for then in the Reference.pdf in  
>>>>> the Help menu?
>>
>> Depends on what kind of "edit field" you defined. Tell us more.
>>
>> Brian S.
>>
>> --
>> To unsubscribe, send ANY message to: futurebasic- 
>> unsubscribe@...
>>
>
> --
> To unsubscribe, send ANY message to: futurebasic- 
> unsubscribe@...
>

Brian S.