...
(windowinstance)
A windowinstance representing the created entry, or nil in case of errors.
createWindowWithClass
| Code Block | ||
|---|---|---|
| ||
function createWindowWithClass(class, dbnode, [focus]) |
...
(windowinstance)
A windowinstance representing the created entry, or nil in case of errors.
getColumnWidth
| Code Block | ||
|---|---|---|
| ||
function getColumnWidth() |
...
(number)
The column width of the list
getEmptyText
| Code Block |
|---|
function getEmptyText() |
Retrieve the text to display in the control when the underlying data is an empty list.
Return values
(string)
The value of the empty text display string for this control.
getNextWindow
| Code Block | ||
|---|---|---|
| ||
function getNextWindow(source) |
...
(windowinstance)
A windowinstance representing the entry following the given entry. If the entry given as the parameter is the last one in the list, the return value will be nil.
getPrevWindow
| Code Block | ||
|---|---|---|
| ||
function getPrevWindow(source) |
...
(windowinstance)
A windowinstance representing the entry preceding the given entry. If the entry given as the parameter is the first one in the list, the return value will be nil.
getWindowAt
| Code Block | ||
|---|---|---|
| ||
function getWindowAt(x, y) |
...
(windowinstance)
A windowinstance representing the entry at the given position. If no entry was found at the position, the return value will be nil.
getWindowCount
| Code Block | ||
|---|---|---|
| ||
function getWindowCount([visibleonly]) |
...
(number)
The number of child windows
getWindows
| Code Block | ||
|---|---|---|
| ||
function getWindows([visibleonly]) |
...
(table)
An integer indexed table containing references to the windowinstance entries in the list
hasFocus
| Code Block | ||
|---|---|---|
| ||
function hasFocus() |
...
(boolean)
Returns true if the control has the keyboard focus, false otherwise.
onFilter
| Code Block | ||
|---|---|---|
| ||
function onFilter(w) |
...
(boolean)
A return value of true indicates the entry passes the filter, a value of false hides it from the currently displayed selection of entries
onGainFocus
| Code Block | ||
|---|---|---|
| ||
function onGainFocus() |
...
(boolean)
A return value of true indicates the entry represented by w1 is greater than (should be located later in the list) than the entry represented by w2. Otherwise, the function should return false.
scrollToWindow
| Code Block | ||
|---|---|---|
| ||
function scrollToWindow(win, ctrl) |
...
A reference to one or more databasenode objects representing the new data source(s) for the window list.
setEmptyText
| Code Block |
|---|
function setEmptyText(value) |
Set the text to display in the control when the underlying data is an empty list.
Parameters
value (string)
The new value for the empty text display string
setFocus
| Code Block | ||
|---|---|---|
| ||
function setFocus([state]) |
...