Properties that can be set
The text of the item
set_custom_property( 'BLOCK.BEAN_ITEM', 1, 'SETTEXT', 'the_text');
The
cursor position
set_custom_property( 'BLOCK.BEAN_ITEM', 1, 'SETPOS', 'n');
The
item colors
set_custom_property( 'BLOCK.BEAN_ITEM', 1, 'SETBG', 'rgb value');
set_custom_property( 'BLOCK.BEAN_ITEM', 1, 'SETFG', 'rgb value');
e.g.
set_custom_property( 'BLOCK.BEAN_ITEM', 1, 'SETBG', '200,10,0');
Properties that can be read
The text of the item
get_custom_property( 'BLOCK.BEAN_ITEM', 1, 'GETTEXT', '');
The last character typed
get_custom_property( 'BLOCK.BEAN_ITEM', 1, 'GETCHAR', '');
The keyboard state modifier
get_custom_property( 'BLOCK.BEAN_ITEM', 1, 'GETMODIFIER', '');
Events that can be raised by the bean
A character was typed
KEYTYPED
The sample dialog