Classes

Top  Previous  Next

All classes support the definition of user defined properties and methods. All container controls support nested objects that can be accessed by name.

 

Form

Form Control Properties, Methods, and Events

 

For differences to VFP refer to Form Control.

 

CommandButton

Implemented as .NET controls. The following members are supported:

 

Left
Top
Width
Height
Tag
Caption. The "\<" escape character for shortcuts is not supported.
Click()
Picture (desktop only)
DownPicture (desktop only)
Enabled
Visible
GotFocus()
LostFocus()
SetFocus()
Valid()
When() - not supported on mobile devices.
FontName
FontSize
FontBold
FontItalic
FontUnderline
FontStrikeThru
WordWrap
TabIndex

 

Checkbox

Implemented as .NET control. The following members are available:

 

Left
Top
Width
Height
Tag
Value
Enabled
Visible
BackColor
ForeColor
Click()
GotFocus()
LostFocus()
SetFocus()
FontName
FontSize
FontBold
FontItalic
FontUnderline
FontStrikeThru
ReadOnly
Refresh()
TabIndex

 

ComboBox

Implemented as .NET control. The following members are available:

 

Left
Top
Width
Height
Tag
Value. Currently, only character values are supported.
Enabled
Visible
BackColor
ForeColor
AddItem(). nIndex and nColumn are not supported.
RemoveItem()
Clear()
Click()
InteractiveChange()
GotFocus()
LostFocus()
SetFocus()
Valid()
When() - not supported on mobile devices.
FontName
FontSize
FontBold
FontItalic
FontUnderline
FontStrikeThru
ListCount
ListIndex
DisplayValue
ReadOnly
Refresh()
TabIndex
RowSource
RowSourceType (supported values: 1)

 

Container

Implemented as .NET control. The following members are available:

 

Left
Top
Width
Height
Tag
Enabled
Visible
BackColor
ForeColor
GotFocus()
LostFocus()
SetFocus()
ReadOnly
Refresh()
TabIndex

 

Custom

Implemented. The following members are supported:

 

Tag

 

Image

See Image Control Properties, Methods, and Events for a list of implemented members

 

Label

Implemented as .NET control. The following members are available:

 

Left
Top
Width
Height
Tag
Caption. The "\<" escape character for shortcuts is not supported.
Enabled
Visible
BackColor
ForeColor
FontName
FontSize
FontBold
FontItalic
FontUnderline
FontStrikeThru
TabIndex

 

Difference to VFP: The caption can be a Unicode string. Since the FXP format doesn't support Unicode properties, you currently have to use FILETOSTR() to create a Unicode string.

 

Listbox

Implemented as .NET control. The following members are available:

 

Left
Top
Width
Height
Tag
Value. Currently, only character values are supported.
Enabled
Visible
BackColor
ForeColor
AddItem(). nIndex and nColumn are not supported.
RemoveItem()
Clear()
Click()
InteractiveChange()
GotFocus()
LostFocus()
SetFocus()
Valid()
When()
FontName
FontSize
FontBold
FontItalic
FontUnderline
FontStrikeThru
ListCount
ListIndex
DisplayValue
Refresh()
TabIndex
RowSource
RowSourceType (supported values: 1)
KeyPress(). Only the Enter key is supported.

 

Page

Implemented as .NET control. The following members are available:

 

Tag
Enabled
Caption
BackColor. Doesn't affect the tab.
ForeColor
FontName
FontSize
FontBold
FontItalic
FontUnderline
FontStrikeThru
Activate event
Refresh()

 

Pageframe

Implemented as .NET control. The following members are available:

 

Left
Top
Width
Height
Tag
Enabled
Visible
ActivePage
PageCount
Refresh()
TabIndex

 

Windows Mobile 5 and later displays tabs at the bottom rather than the top.

 

Editbox

See Editbox Control Properties, Methods, and Events for a list of implemented members.

 

Difference to VFP: The control supports Unicode. Entering Unicode characters is possible at all times. When the value property is accessed, all characters that are not in the current codepage are converted to question marks.

 

Textbox

Implemented as .NET control. The following members are available:

 

Left
Top
Width
Height
Tag
Value. Currently, only character values and date values are supported.
ControlSource. Only character values and date values are supported. Modified data is not written back.
Enabled
Visible
BackColor
ForeColor
GotFocus()
LostFocus()
Click()
SetFocus()
Valid()
When()
FontName
FontSize
FontBold
FontItalic
FontUnderline
FontStrikeThru
ReadOnly
Refresh()
TabIndex
KeyPress(). Only the Enter key is supported.

 

Difference to VFP: The control supports Unicode. Entering Unicode characters is possible at all times. When the value property is accessed, all characters that are not in the current codepage are converted to question marks.

 

Grid

Implemented as .NET control in the compact version. The following members are available:

 

Left
Top
Width
Height
Tag
RecordSource. Must be an alias.
ColumnCount
Enabled
Visible
BackColor
ForeColor
GotFocus()
LostFocus()
Click()
SetFocus()
Valid()
When()
Refresh()
TabIndex

 

Column

Implemented as .NET control in the compact version. The following members are available:

 

Tag
ControlSource
Enabled
Visible
BackColor
ForeColor
GotFocus()
LostFocus()
Click()
SetFocus()
Valid()
When()
Refresh()

 

Header

Implemented as .NET control in the compact version. The following members are available:

 

Tag
Caption
ForeColor
BackColor

 

Spinner

Implemented as .NET control. The following members are available:

 

Left
Top
Width
Height
Tag
Value
ControlSource
Enabled
Visible
BackColor
ForeColor
GotFocus()
LostFocus()
Click()
SetFocus()
Valid()
When()
FontName
FontSize
FontBold
FontItalic
FontUnderline
FontStrikeThru
Refresh()
ReadOnly
TabIndex

 

Timer

Implemented as a .NET timer in the desktop and compact UI engine.

 

Enabled
Interval
Timer()