|
|
|
|
StoredValue (Property) In french: ValeurMémorisée
The StoredValue property is used to get the value currently stored by: - a row in a List Box, ListView or Combo Box control.
a "Text token" Edit control. - a row of a Table control.
New in version 28an input suggestion in an Edit control (if the suggestion is selected).
The currently stored value can correspond to:
New in version 28
// Values selected in a multi-selection List Box control i is int = 1 iSelectedRow is int iSelectedRow = ListSelect(LIST_Cedex, 1) WHILE iSelectedRow <> -1 Trace(LIST_Cedex[iSelectedRow].StoredValue) i++ iSelectedRow = ListSelect(LIST_Cedex, i) END
// Get the stored value when selecting the 3rd element of the List Box control Info("The stored value is " + LIST_Cedex[3].StoredValue)
New in version 28
AssistedInputAdd(EDT_Edit1, "Displayed value", "Stored value") // "Select a value in the list of input suggestions" event // ---------------------------------------------------- PROCÉDURE Selection(MySelection is AssistedInput) Trace(MySelection.StoredValue) // Returns "stored value"
Syntax
Getting the stored value of a List Box, ListView or Combo Box control Hide the details
<Stored value> = <Control used>[<Element index>].StoredValue
<Stored value>: Character string Value that will be stored if the user selects the element in the specified control. <Control used>: Control name Name of the List Box, ListView or Combo Box control to use. <Element index>: Integer Index of the element in the control (List Box, ListView or Combo Box) whose stored value is requested. New in version 28Remarks Limitations The StoredValue property applies only to: - List Box, ListView and Combo Box controls.
"Text token" Edit controls. New in version 28Edit controls with input suggestions. - the Table controls.
New in version 28
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|