|
« datebox frame »
Objects / entry
entry
entry(objnum,coord,option)
creates a data entry field
Parameters
| objnum | object number |
| coord | column, row, width, height (optional) comma or @am delimited. If grid is used then column and row are not specified, and width is optional |
| option | options comma or @am delimited |
Options
| bkg color | background color (see bkg) |
| bold | bold font |
| center | center align |
| disable | disabled |
| flat | edgeless |
| font [name size style color] | font specification (see font) |
| hide | invisible |
| hotkey keyname keyname ... | assign hotkeys (see hotkey) |
| limit len | limits value length to len |
| mvtext | for multivalued text fields |
| noscroll | without vertical scrollbar |
| notab | do not stop by TAB key |
| noupdown | do not go to Prev/Next object by Up/Down key |
| num | for numbers only |
| number | for numbers only |
| off | disabled |
| onchange | generates an event on changing text |
| password | for entering a password |
| readonly | no input |
| right | right alignment |
| tooltip | emerging help |
| white | white background (for readonly) |
| wrap | no horizontal scroll, wraps lines |
| sizing CODE [base.objnum] | sizing specification (see sizing) |
Events
| OnSetFocus | The object has got focus
Data: dt<1> - unfocused object window number dt<2> - unfocused object number |
| OnEnter | 'Enter' key has been pressed
Data: dt<1> - text |
| OnChange | A character has been typed
Data: dt<1> - text |
| OnValChange | Input has been done, the text has changed
Data: dt<1> - text |
| OnDrop | Dragged lines have been dropped
Data: dt<1> - drag-from object number (table or treebox) dt<2> - drop-to position dt<3,linepos,text> - dragged lines data |
Hot keys
| VK_ESCAPE | 'Esc' key has been pressed |
Functions
| delobj | deletes object |
| do | executes an additional action |
| getdt | returns additional data |
| gettext | returns text from an entry, a combobox or a textbox |
| modify | modifies object's properties |
| setfocus | sets focus to an object |
| settext | inserts text into an object |
Using FlashGUI
« datebox frame »
|