Castle Game Engine: CastleOnScreenMenu: Class TMenuArgument

# Class TMenuArgument
Description | Hierarchy | Fields | Methods | Properties
## Unit CastleOnScreenMenu ## Declaration `type TMenuArgument = class(TMenuAccessory)` ## Description This is TMenuAccessory that will just display additional text (using some different color than Menu.CurrentItemColor) after the menu item. The intention is that the Value will be changeable by the user (while the basic item text remains constant). For example Value may describe "on" / "off" state of something, the name of some key currently assigned to some function etc. ## Hierarchy TObject TMenuAccessory TMenuArgument ## Overview ### Methods
| `constructor Create(const AMaximumValueWidth: Integer);`
| `class function TextWidth(const Text: string): Integer;`
| `function GetWidth: Integer; override;`
| `procedure Draw(const Rectangle: TRectangle); override;`
### Properties
| `property Value: string read FValue write FValue;`
| `property MaximumValueWidth: Integer read FMaximumValueWidth write FMaximumValueWidth;`
## Description ### Methods
| `constructor Create(const AMaximumValueWidth: Integer);`
| `class function TextWidth(const Text: string): Integer;`
Calculate text width using font used by TMenuArgument.
| `function GetWidth: Integer; override;`
| `procedure Draw(const Rectangle: TRectangle); override;`
### Properties
| `property Value: string read FValue write FValue;`
| `property MaximumValueWidth: Integer read FMaximumValueWidth write FMaximumValueWidth;`
Generated by PasDoc 0.13.0 on 2015-06-15 04:43:10