Unsupported Properties, Events, and Functions

Several PowerScript properties, events, and functions are not supported in PowerBuilder .NET.

Unsupported PowerScript properties

This table lists PowerBuilder .NET objects and controls with unsupported PowerScript properties:

Object or control Unsupported properties
All controls inheriting from DragObject AccesibleDescription and AccessibleRole

AccessibleName is supported in DataWindow objects, but not in other objects that inherit from DragObject.

Application object ToolbarUserControl
CheckBox Automatic
DataWindow control (for a list of unsupported DataWindow object properties, see DataWindow Differences Between PowerBuilder Classic and PowerBuilder .NET) ControlMenu, HSplitScroll, Icon, MaxBox, MinBox, Resizable, Title, and TitleBar
DatePicker AllowEdit
DropDownListBox IMEMode
DropDownPictureListBox IMEMode
EditMask AutoHScroll, AutoVScroll. FontCharSet, FontFamily, FontPitch, HideSelection, HScrollbar, IgnoreDefaultButton, IMEMode, TabStop, and VScrollBar
HTrackBar SliderSize
ListBox TabStop
ListView IMEMode
Menu MergeOption
MenuCascade Columns, CurrentItem, DropDown, and MergeOption
MultiLineEdit AutoVScroll, HideSelection. IgnoreDefaultButton. IMEMode, and TabStop
Picture Map3DColors (Use PictureMaskColor instead)
PictureButton Map3DColors (Use PictureMaskColor instead)
PictureHyperLink Map3DColors (Use PictureMaskColor instead)
PictureListBox TabStop
RadioButton Automatic
RichTextEdit Accelerator, ControlCharsVisible, DisplayOnly, FontCharSet, FontFamily, FontPitch, HScrollBar, ImeMode, PicturesAsFrame, Resizable, ReturnsVisible, RulerBar, SpacesVisible, TabBar, TabsVisible, Underline, UndoDepth, and WordWrap
SingleLineEdit HideSelection, IMEMode
Tab Alignment, FixedWidth, FocusOnButtonDown, ImeMode, and RaggedRight
UserObject ColumnsPerPage, LinesPerPage, Style, UnitsPerColumn, and UnitsPerLine
VTrackBar SliderSize
Window AccessibleDescription, AccessibleRole, AnimationTime, ClientEdge, CloseAnimation, ColumnsPerPage, ContextHelp, LinesPerPage, OpenAnimation, ToolbarHeight, ToolbarWidth, ToolbarX, ToolbarY, Transparency, UnitsPerColumn, and UnitsPerLine
Note: Several properties have been renamed with a "PB" prefix. For example, Height and Width properties are set as PBHeight and PBWidth; the Tag and FontFamily properties are set as PBTag and PBFontFamily. TabOrder is included as a property in the Property view for an object or control.

Unsupported PowerScript events

This table lists PowerBuilder .NET controls with unsupported PowerScript events:

Control Unsupported events
All controls Other
DataWindow HtmlContextApplied, PrintMarginChange, and RButtonUp
DatePicker UserString
Menu Help
Note: The Help event is supported, and can be triggered by pressing the F1 key in windows, menus, and for all controls that inherit from DragObject. Although the Help event can also be triggered in PowerBuilder Classic by clicking a question mark icon in a window title bar, then clicking a control in the same window, in the .NET Framework, the question mark icon is not available, and users cannot open context-specific help using this method.

Unsupported PowerScript functions

This table lists PowerBuilder .NET objects and controls with unsupported PowerScript functions:

Object or control Unsupported functions
All objects and controls SetRedraw (Supported for DataWindow controls with this behavior change: setting this method to false prevents the DataWindow inner control from being redrawn, but does not prevent the DataWindow control itself from being redrawn.)
Application objects SetTransPool

Obsolete method: SetLibraryList

DataStore CopyRTF, CreateFrom, GenerateResultSet, GetStateStatus, InsertDocument, PasteRTF, ResetInk, SaveInk, SaveInkPicture, SetCultureFormat, and SetHTMLAction

Obsolete method: GenerateHTMLForm

DataWindow GenerateResultSet, GetDataLabelling, GetSeriesLabelling, GetStateStatus, OleActivate, SetCultureFormat, SetDataLabelling, SetHTMLAction, and SetSeriesLabelling

Obsolete methods: DBErrorCode, DBErrorMessage, GenerateHTMLForm, GetMessageText, GetSQLPreview, and GetUpdateStatus

DataWindowChild OleActivate and SetCultureFormat

Obsolete methods: DBErrorCode, DBErrorMessage, GetSQLPreview, and GetUpdateStatus

Graph (Graph controls are available in the DataWindow painter only.) GetDataLabelling, GetSeriesLabelling, SetDataLabelling, and SetSeriesLabelling
RichTextEdit GetSpacing, PrintEx, and Scroll

InsertDocument and SaveDocument work with RTF and TXT formats only.

UserObject AddItem, DeleteItem, EventParmDouble, EventParmString, and InsertItem
Window ArrangeSheets, CloseChannel, ExecRemote, GetCommandDDE, GetDataDDE, GetDataDDEOrigin, GetRemote, OpenChannel, RespondRemote, SetDataDDE, SetRemote, StartHotLink, StartServerDDE, StopHotLink, and StopServerDDE