Download A Beginners Guide to Visual Prolog

Transcript
IsMultiLine = controlName : getMultiLine (),
IsMultiLine = true,
and the editControl::setMultiLine/1 predicate
IsMultiLine = true,
controlName : setMultiLine ( IsMultiLine ),
to set this flag programmatically.
MultiSelect
Possible values are True and False. If it is True, then the list box control allows selection of multiple
items using the mouse. The default value is False (cannot select multiple items).
You can use the listBox::getMultiSelect/0-> predicate to get whether the control has this flag
IsMultiSelect = controlName : getMultiSelect (),
IsMultiSelect = true,
and the listBox::setMultiSelect/1 predicate
IsMultiSelect = true,
controlName : setMultiSelect ( IsMultiSelect ),
to set this flag programmatically.
Password
Possible values are True and False. If it is True, then the edit control displays all typed-in characters
as asterisks (*). The default value is False (displays typed characters "as-is").
You can use the editControl::getPassword/0-> predicate to get whether the control has this flag
IsPassword = controlName : getPassword (),
IsPassword = true,
and the editControl::setPassword/1 predicate
isPassword = true,
controlName : setPassword ( IsPassword ),
to set this flag programmatically.
ReadOnly
Possible values are True and False. If it is True, then the edit control is in the read-only mode. The
default value is False (editable).
You can use the editControl::getReadOnly/0-> predicate to get whether the control has this flag
IsReadOnly = controlName : getReadOnly (),
IsReadOnly = true,
and the editControl::setReadOnly/1 predicate
IsReadOnly = true,
controlName : setReadOnly ( IsReadOnly ),
to set this flag programmatically.
Rows
Possible values are positive numbers. For list button and list edit controls it specifies the maximal
number of rows, which can be displayed in the opened list box sub-control. The default value is 3.
You can use the listControl::getMaxDropDownRows/0-> predicate to get this number
MaxDropDownRowNumber = controlName : getMaxDropDownRows (),
and the listControl::setMaxDropDownRows/1 predicate
261