%co - Options for Edit

Purpose

To modify subsequent %rd (Edit Integer), %rf (Edit Floating Point), %rs (Edit String), %re (Multiline Edit Box), %el (Editable Combo Box) boxes.

Syntax

winio@('%co[options]')

Description

options is a list containing one or two of:

 

 

check_on_focus_loss 

Perform checks, calls the call-back, and updates the corresponding data item only when focus is transferred to another control. This is particularly valuable if numeric limits have been imposed by %il (Integer Limit)/%fl (Float Limit).

 

data_border

Put a border round data boxes (default).

 

full_check

Perform checks and call-back every change (default).

 

right_justify

Align the text to the right border. Not for %el (Editable Combo Box).

 

left_justify

Align the text to the left border (default).

 

no_data_border

Omit border round data boxes. Not for %el (Editable Combo Box).


 

Example

winio@('%co[check_on_focus_loss]')

See also

%rd (Edit Integer), %rf (Edit Floating Point), %rs (Edit String), %re (Multiline Edit Box), %el (Editable Combo Box)


 

 

 

Basket
Empty
 
Copyright © 1999-2020 Silverfrost Limited