Please enable JavaScript to view this site.

Query the value for the specified widget, where applicable.

Syntax

value(string name, bool @value): bool

value(string name, int @value, uint flags=0, int min=0, int max=0): bool

value(string name, uint @value, uint flags=0, uint min=0, uint max=0): bool

value(string name, real @value, uint flags=0, real min=0, real max=0): bool

name

Target widget name

value

Reference to target value variabile

flags

Operation flags

min

Minimum admitted value (if flag XForm_MinValue specified)

max

Maximum admitted value (if flag XForm_MaxValue specified)

Result

Return true if valid value retrieved, false otherwise

Available operation flags are the following:

Label

Description

XForm_AllowEmpty

Consider empty values a valid value

XForm_MinValue

If the value is less than min value, the method will fail

XForm_MaxValue

If the value is greater than max value, the method will fail

 

  

Keyboard Navigation

F7 for caret browsing
Hold ALT and press letter

This Info: ALT+q
Page Header: ALT+h
Topic Header: ALT+t
Topic Body: ALT+b
Contents: ALT+c
Search: ALT+s
Exit Menu/Up: ESC