Choice
Prev
Next

Choice

xX-position
 X coordinate of the control relative to its parent
yY-position
 Y coordinate of the control relative to its parent
wWidth
 Width of the control in pixels
hHeight
 Height of the control in pixels
xmodeX-mode
  This setting specified whether the control width is fixed width, whether it floats relative to the right-hand side of its block, or whether it stretches as its block width changes. The setting affects the interpretation of the width value.
ymodeY-mode
  This setting specified whether the control height is fixed width, whether it floats relative to the bottom of its block, or whether it stretches as its block height changes. The setting affects the interpretation of the height value.
fgcolorText colour
 Text colour
bgcolorBackground colour
 Background colour
fontFont
 Specify font
nameControl name
 Control name, used to access control from scripts
masterColumn name
 The name of the column in the table or query which is displayed in the choice control. If left empty then the choice control is not set from the table or query
defaultDefault value
 Default value to use if field is not entered
valuesValues
 This is the list of values which cab be selected. Values should be separated by the | character
nullvalNull value
 Value to show when field contains null
nullokNull OK
 If this option is set then then contents of the file may be null, ie., empty
configsConfiguration
  List of configuration values. These are primarily used in conjunction with reusable components.
errtextError Text
  Text used to customise various popups. Currently only used at block level by record insert/update/delete confirmation dialogs.
editableEditable
 If this option is set, then the combobox displays an edit control, allowing display and entry of values that are not in the choice list.
slotsSlots
  List of slots, which contain script code that can be associated with events occurring in other objects.
onsetOn set
  Script routine to be invoked when the value in the control is set from the database. A value like #Set invokes an external function called onItemSet; otherwise define a function called eventFunc whose three arguments will be the control item, the query row number and the value.
onchangeOn change
  Script routine to be invoked when the value in the field is changed by the user. A value like #Change invokes an external function called onChoiceChange; otherwise define a function called eventFunc whose three arguments will be the control item, the query row number and the new value.
notesNotes
  The Notes setting may be used for any arbitrary notes, for instance for documentation. Rekall does nothing with the value, other than to preserve it.

Prev
Next
Home