|
|
|
|
- Displaying the help message
- & character
- Limits
Message (Property) In french: Message
The Message property is used to: - Find out the help message associated with a control or with a menu option (in a window).
- Modify the help message associated with a control or with a menu option (in a window).
Remarks: - The help message is displayed in the status bar of the window.
- The help message is defined in the "Help" tab of the control description ("Text of the status bar" option), with the Message property or the Message function.
// Modify the help message of the "EDT_ImageFile" Edit control ImageFile.Message = "The image file must be a black && white image"
Syntax <Result>: Character string - Help message for the specified object,
- Empty string ("") if no help message is associated with the object.
<Element used>: Character string Name of the object (control or menu option) whose help message is requested.
Modifying the help message Hide the details
<Element used>.Message = <New help message>
<Element used>: Character string Name of the object (control or menu option) whose help message must be modified. <New help message>: Character string New help message for the specified object. Remarks Displaying the help message - For a control (except for Button controls): the help message is displayed in the status bar when the control takes focus.
- For a Button control: the help message is displayed in the status bar when the left mouse button is pressed.
- For a menu option: the help message is displayed in the status bar when the option is hovered.
& character To display the "&" character in a help message, this character must be typed twice. Otherwise, the character following the "&" character will be underlined and the "&" character will not be displayed. For example:
ImageFile.Message = "The image file must be a black && white image"
Limits The Message property cannot be used on: - an Image control,
- a Shape control,
- an option in a Check Box control,
- an option in a Radio Button control,
- a row in a List Box control, Combo Box control or Table control,
- a table cell,
- a tab,
- a group of controls,
- an element in a TreeView control.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|