[futurebasic] Re: Hierarchal Parent item?

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

From: Ken Shmidheiser <kshmidheiser@...>
Date: Wed, 29 Oct 2003 20:30:23 -0500
>Rc wrote:
>>  I don't think that GetFontFamilyFromMenuSelection will work, because
>>  it's a submenu, and sending out just a submenu ID might not work? Will
>>  try it anyway
>
>It works if I sent it the main menu item, but returns no FontStyle,
>just the family. As for any of the heirarchals, no juice.
>But  having the name works well enough for now...setting the font in
>the beast I am working on via familyID, not working just yet, set by
>name does in general.
>
>But as for info, for a style selection by a hierarchicalicicacal, I
>know :
>
>FontFamilyID
>Main family Name of the Font (via parent item backtrack)
>Variant  as to "Bold", "Narrow" etc (by name alone)
>
>Not sure where to go from there.
>
>But again, just having the fontname means at least that font gets set ,
>just without the variant, whereas before I had to use a default in the
>case of a hierarchic choice.
>
>Robert


Robert,

Part of the issue here is that font styles are additive to the face, 
i.e., a user could choose to add three attributes to Helvetica making 
it Helvetica bold italic underline (even if the system fakes it). I 
think you may have to strip away those attributes to determine the 
parent font.

Ken