Controls

All controls from Team Developer are replicated in the PPJ Framework with the same name but with the "Sal" prefix.

In the table below you can find the list of all the supported equivalent controls:

Control TypeClass name in the PPJ FrameworkBase .NET control

Data Field

SalDataField

TextBox

Multiline Field

SalMultilineField

TextBox

Combo Box

SalComboBox

ComboBox

List Box

SalListBox

ListBox

Check Box

SalCheckBox

CheckBox

Radio Button

SalRadioButton

RadioButton

Option Button

SalOptionButton

CheckBox

Pushbutton

SalPushbutton

Button

Child Table

SalTableWindow

UserControl

Column

SalTableColumn

Control

Picture

SalPicture

PictureBox

Horizontal Scroll Bar

SalHorizontalScrollBar

HScrollBar

Vertical Scroll Bar

SalVerticalScrollBar

VScrollBar

Custom Control

SalCustomControl

Control

ActiveX Control

SalActiveX

AxHost

Line

SalLine

Control

Frame

SalFrame

Control

Group Box

SalGroupBox

GroupBox

Background Text

SalBackgroundText

Label

Form Window

SalFormWindow

SalRibbonBarForm

Form

MDI Window

SalMDIWindow

SalRibbonBarMDI

Form

Table Window

SalFormTableWindow

Form

Dialog Box

SalDialogBox

Form

All the controls in the PPJ Framework are directly derived from the equivalent control in .NET: WinForms for desktop solutions, and Wisej for web solutions.

All PPJ controls implement one or more special interfaces used by the PPJ Framework to recognize PPJ controls and correctly redirect specialized functionality.

The table below lists all the control's interfaces:

InterfaceDescription

ISalWindow

All PPJ controls implement this interface.

ISalControl

Only controls that can hold a value implement this interface. Like SalRadioButton, SalDataField, SalVerticalScrollBar. Controls that cannot hold a value, like SalGroupBox or SalLine, do not implement this interface. These controls can also be bound in a SQL statement as bind variables.

ISalEditControl

Editable controls implement this interface.

ISalListControl

All list controls implement this interface. This is used to normalize also controls like VisOutlineListBox that should respond to SalList* functions as if they were list boxes.

ISalPictureControl

Controls that can show an image implement this interface.

ISalRadioButton

Controls that behave as a radio button implement this interface. Typically these are SalRadioButton, SalCheckBox and SalOptionButton.

ISalAccessory

Accessories controls like SalFormToolBar, SalFormStatusBar and SalFormClientArea implement this interface.

All the controls implementing ISalWindow expose a new event MessageActions. This is where all events that are compatible to the original Team Developer messages are dispatched to as events.

Last updated