ValueT.addOnValueChanged

The 'value-changed' signal is emitted when the current value that represent the object changes. @value is the numerical representation of this new value. @text is the human readable text alternative of @value, and can be NULL if it is not available. Note that if there is a textual description associated with the new numeric value, that description should be included regardless of whether or not it has also changed.

template ValueT(TStruct)
gulong
addOnValueChanged
(
void delegate
(
double
,
string
,
ValueIF
)
dlg
,
ConnectFlags connectFlags = cast(ConnectFlags)0
)

Examples

a password meter whose value changes as the user types their new password. Appropiate value text would be "weak", "acceptable" and "strong".

Meta

Since

2.12