Unsupported properties for controls in Windows Forms

Table 11-8 is an alphabetical listing of unsupported properties, the controls on which they are not supported, and any notes that apply to specific controls. If your application uses these properties, rework it to avoid their use.

Table 11-8: Unsupported properties for Windows Forms deployment

Property

Controls

Alignment

OmCustomControl

AllowEdit

DatePicker

Activation

OmEmbeddedControl

BackColor

Tab, UserObject (see “Tab properties”)

Border

DatePicker

BorderColor

StaticHyperLink, StaticText

BorderStyle

DatePicker, Graph

Cancel

OmCustomControl

Columns

MenuCascade

ColumnsPerPage

UserObject

ContentsAllowed

OmEmbeddedControl

CurrentItem

MenuCascade

Default

OmCustomControl

DisplayType

OmEmbeddedControl

DocFileName

OmEmbeddedControl

DropDown

MenuCascade

FillPattern

StaticHyperLink, StaticText

Height

DatePicker

Help

Menu, MenuCascade

HScrollbar

DropDownListBox

IMEMode

All controls

LinkUpdateOptions

OmEmbeddedControl

Map3DColors

PictureButton

MenuItemType

Menu

MergeOption

Menu

ObjectData

OmEmbeddedControl

OverlayPictureIndex

ListViewItem, TreeViewItem

ParentStorage

OmEmbeddedControl

RaggedRight

Tab (see “Tab properties”)

RightToLeft

DataWindow, ListBox, ListView, TreeView

SizeMode

OmEmbeddedControl

StatePictureHeight

TreeView

StatePictureWidth

TreeView

Style

UserObject

TabStop

ListBox, MultiLineEdit

TabTextColor

UserObject (see “Tab properties”)

ToolbarAnimation

Menu

ToolbarHighLightColor

Menu

ToolbarItemSpace

Menu

FaceName property If you use a bitmap (screen) font such as MS Sans Serif instead of a TrueType font for the FaceName property, make sure you select a predefined font size from the TextSize drop-down list. PowerBuilder and .NET use different functions (CreateFontDirect and GdipCreateFont) to render bitmap fonts and they may display larger in the .NET application than in the development environment or a standard PowerBuilder application. For example, text that uses the MS Sans Serif type face and the undefined text size 16 looks the same as size 14 in PowerBuilder, but looks larger in .NET.

Tab properties The RaggedRight property for a Tab control works correctly if the sum of the widths of all the tab pages is greater that the width of the Tab control, and the MultiLine property is set to true.

The BackColor and TabTextColor properties for a tab page in a Tab control are not supported if the XP style is used.