Brian, I think you're going to have to keep track of the selected style, most easily with a global var. Then based on which item is selected, set a new style that adds or subtracts from the original style; though you can use the standard values, I would be inclined to use these values: 0 for plain 1 for bold 2 for italic 4 for underlined 8 for condensed 16 for extended 32 for hollowed 64 for shadowed or any other sequence, then as menu items are selected, if the item is already checked you uncheck it and subtract that value; if the item is not checked, you check it and add that value. Then using the new value, the font style is: plain if 0 plain & bold if 1 plain & italic if 2 bold & italic if 3 plain & underlined if 4 bold & underlined if 5 italic & underlined if 6 bold & italic & underlined 7 etc..... Hope you understand what I'm talking about. Joe Wilkins "Brian J. Hughes" wrote: > At 4:32 PM -0600 on 3/10/00, Chris.Young@... wrote: > > >Brian, > > > >How about EDIT TEXT ,, 0 to unset all (i.e, return to plain text)? > > > > Thanks, but I've already got a 'PLAIN' menu item. I wasn't clear on > that now that I look at my message. > > I've got 'Bold', 'Italic', and 'Underline' menu items. I don't want > to reset to plain text if the user only wants to remove the 'Bold' > attribute, but still wants to keep the 'Italic' setting. > > My guess is I'll have to get the bit settings for selected text, then > only 'NOT' the bit position that relates to the attribute I want to > remove. Looks like maybe I should look into the Inside Mac volume. > I did earlier but the text attributes information was rather > confusing to a newbie like me. > > P.S. If your interested, I'm using PGPro with FB^3. I decided to not > use the standard font, style and size menus because I wanted to stick > to certain predefined styles. I've got a 'Format' menu with five > preset styles. Below that I have the Bold, Italic, and Underline > items, this is to give some style flexibility. > > Brian Hughes > > -- > To unsubscribe, send ANY message to <futurebasic-unsubscribe@...>