[futurebasic] Re: [FB] Underline in Font Text using Text Controls(repost)

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

From: Robert Purves <robert.purves@...>
Date: Fri, 13 Feb 2004 11:47:42 +1300
Brian Stevens wrote:
> It appears that style within a ControlFontStyleRec is ignored when 
> using a _kControlFont.....(big or small). This I've known for a while 
> but now I would like to use _kControlFontSmallBoldSystemFont but with 
> the text underlined. Is there some other constant that specifics the 
> small system font as both bold and underlined?

/* AddToMetaFont indicates that we want to start with a standard system 
     */
/* font, but then we'd like to add the other attributes. Normally, the 
meta */
/* font ignores all other flags                                         
     */
_kControlAddToMetaFontMask = 0x0200

cfs.flags = _kControlUseFontMask _kControlUseFaceMask 
_kControlAddToMetaFontMask

Robert P.