realbasic-games
[Top] [All Lists]

How can the Font and Style of a Bevelbutton's menu be changed?

To: realbasic-games at lists dot realsoftware dot com
Subject: How can the Font and Style of a Bevelbutton's menu be changed?
From: "Heinz J. Gattringer" <heinzjos at uio dot satnet dot net>
Date: Wed, 9 Feb 2005 17:46:37 -0500
Delivered-to: realbasic-games at lists dot realsoftware dot com
References: <20050209180019 dot 8666D709ACF at lists dot realsoftware dot com>
Hello again,

A bit hesitant to ask this question, because the solution might be laughably simple, but I can't find it: I have found that having pop up menus is a very convinient way to issue standart instructions to subjects in my RTS-kind of game. Of all the controls available in Realbasic, the Bevelbutton's associated menu seems to work best, mainly because it does not trigger an action event when the currently displayed item is changed in code. And I prefer this so that when a different subject or object is selected in the game, its corresponding current instruction is shown without triggering an action or changed event, like a popupmenu control does. Everything is working fine except I can't find a way to change the font and style of the text of the different choices offered in the menu. In the IDE only the font and style of the Bevelbutton's caption can be set and changed, but in the running application the text of the menu-items show up in the system font and -style and because these are very different to all the other text used in the game it looks just butt ugly and out of order. I haven't figured out a way to set the style of the text of the menu in code.

I would also like to, if possible, make the selection marker (a checkmark or point appearing in the menu after something has been selected) not to show up.

Thanks for any tips.
Heinz Jose

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

<Prev in Thread] Current Thread [Next in Thread>