Supported Controls

CheckBox control

Properties for CheckBox control

Table 8. 

Property

Support Level

Example Code

Automatic

Supported

cbx_1.Automatic = TRUE

BackColor

Supported

cbx_1.BackColor = ll_value

cbx_1.BackColor = RGB(192,192,192)

Note: transparent value is unsupported.

BorderStyle

Supported

cbx_1.BorderStyle = StyleLowered!

cbx_1.BorderStyle = StyleRaised!

BringToTop

Supported

cbx_1.BringToTop = TRUE

Checked

Supported

cbx_1.Checked = TRUE

cbx_1.Checked = lb_value

DragAuto

Supported

cbx_1.DragAuto = TRUE

DragIcon

Supported

cbx_1.DragIcon = 'c:\archive\arrow.ico'

Enabled

Supported

cbx_1.Enabled=TRUE

cbx_1.Enabled = lb_value

FaceName

Supported

cbx_1.FaceName = ""

cbx_1.FaceName = ls_value

FontCharSet

Supported

cbx_1.FontCharSet = ANSI!

FontFamily

Supported

cbx_1.FontFamily = Roman!

FontPitch

Supported

cbx_1.FontPitch = Fixed!

Height

Supported

cbx_1.Height=889

cbx_1.Height = li_value

Italic

Supported

cbx_1.Italic=TRUE

cbx_1.Italic = lb_value

LeftText

Supported

cbx_1.LeftText = TRUE

Pointer

Supported

cbx_1.Pointer='Cross!'

cbx_1.Pointer='d:\archive\IBEAM.CUR'

RightToLeft

Supported

cbx_1.RightToLeft = TRUE

TabOrder

Supported

cbx_1.TabOrder = 10

Tag

Supported

cbx_1.Tag = ls_value

Text

Supported

cbx_1.Text = ls_value

TextColor

Supported

cbx_1.TextColor = long(88995)

cbx_1.TextColor = RGB(0,0,255)

TextSize

Supported

cbx_1.TextSize = 15

cbx_1.TextSize = li_value

ThirdState

Supported

cbx_1.ThreeState = TRUE

cbx_1.ThirdState = TRUE

ThreeState

Supported

cbx_1.ThreeState = TRUE

cbx_1.ThirdState = TRUE

Underline

Supported

cbx_1.Underline = TRUE

cbx_1.Underline = lb_value

Visible

Supported

cbx_1.Visible =TRUE

cbx_1.Visible = lb_value

Weight

Supported

cbx_1.Weight = 700

cbx_1.Weight = li_value

In both PowerBuilder and Appeon Web applications, a weight value smaller or equal to 550 indicates a normal weight, and a weight value larger than 550 indicates a bold weight.

Width

Supported

cbx_1.Width=899

cbx_1.Width = li_value

X

Supported

cbx_1.X = 100

cbx_1.X = li_value

Y

Supported

cbx_1.Y = 500

cbx_1.Y = li_value

ClassDefinition

Unsupported

 

Transparency

Unsupported

 

Events for CheckBox control

Table 9. 

Event

Support Level

Example Code

Clicked

Supported

Clicked()

Constructor

Supported

Constructor()

Destructor

Supported

Destructor()

DragDrop

Supported

DragDrop(source)

DragEnter

Supported

DragEnter(source)

DragLeave

Supported

DragLeave(source)

DragWithin

Supported

DragWithin(source)

GetFocus

Supported

GetFocus()

LoseFocus

Supported

LoseFocus()

RButtonDown

Supported

RbuttonDown(flags, xpos, ypos)

Help

Unsupported

 

Other

Unsupported

 

Functions for CheckBox control

Table 10. 

Function

Support Level

Example Code

ClassName

Supported

ls_return = cbx_1.ClassName()

Drag

Supported

cbx_1.Drag(Begin!)

GetParent

Supported

lobj_parent = cbx_1.GetParent()

Hide

Supported

li_return = cbx_1.Hide()

Move

Supported

cbx_1.Move(100,100)]

li_return = cbx_1.Move(li_x,li_y)

PointerX

Supported

li_return = cbx_1.PointerX()

PointerY

Supported

li_return = cbx_1.PointerY()

PostEvent

Supported

cbx_1.PostEvent(RButtonDown!)

lb_return = cbx_1.PostEvent(event)

Resize

Supported

cbx_1.Resize(100,20)

li_return = cbx_1.Resize(li_x, li_y)

SetFocus

Supported

cbx_1.SetFocus()

li_return = cbx_1.SetFocus()

Unsupported: SetFocus(cbx_1)

SetPosition

Supported

li_return = cbx_1.SetPosition(position)

SetRedraw

Supported

li_return= cbx_1.SetRedraw(TRUE)

Show

Supported

li_return = cbx_1.Show()

TriggerEvent

Supported

cbx_1.TriggerEvent(RButtonDown!)

TypeOf

Supported

if cbx_1.TypeOf() = Checkbox! Then

ls_return = "Checkbox!"

else

ls_return = "Not a Checkbox"

end if

GetContextService

Unsupported

 

Print

Unsupported

 

CommandButton control

Properties for CommandButton control

Table 11. 

Property

Support Level

Example Code

BringToTop

Supported

cb_1.BringToTop = TRUE

Cancel

Supported

cb_1.Cancel = TRUE

Default

Supported

cb_1.Default = TRUE

DragAuto

Supported

cb_1.DragAuto = TRUE

DragIcon

Supported

cb_1.DragIcon = 'c:\archive\arrow.ico'

Enabled

Supported

cb_1.Enabled = lb_value

FaceName

Supported

cb_1.FaceName = "" cb_1.FaceName = "Courier"

Height

Supported

cb_1.Height = li_value

FontCharSet

Supported

cb_1.FontCharSet = ANSI!

FontFamily

Supported

cb_1.FontFamily = Roman!

FontPitch

Supported

cb_1.FontPitch = Fixed!

Italic

Supported

cb_1.Italic = lb_value

Pointer

Supported

cb_1.Pointer = 'Size!'

cb_1.Pointer ='d:\archive\IBEAM.BMP.cur'

TabOrder

Supported

cb_1.TabOrder = 20

Tag

Supported

cb_1.Tag = ls_value

Text

Supported

cb_1.Text = ls_value

TextSize

Supported

cb_1.TextSize = li_value

Underline

Supported

cb_1.Underline = TRUE

cb_1.Underline = lb_value

Visible

Supported

cb_1.Visible = TRUE

cb_1.Visible = lb_value

Weight

Supported

cb_1.Weight = 700

cb_1.Weight = li_value

Width

Supported

cb_1.Width = 750

cb_1.Width = li_value

X

Supported

cb_1.X = 280

cb_1.X = li_value

Y

Supported

cb_1.Y = 1280

cb_1.Y = li_value

ClassDefinition

Unsupported

 

Events for CommandButton control

Table 12. 

Event

Support Level

Example Code

Clicked

Supported

Clicked()

Constructor

Supported

Constructor()

Destructor

Supported

Destructor()

DragDrop

Supported

DragDrop(source)

DragEnter

Supported

DragEnter(source)

DragLeave

Supported

DragLeave(source)

DragWithin

Supported

DragWithin(source)

GetFocus

Supported

GetFocus()

LoseFocus

Supported

LoseFocus()

RButtonDown

Supported

RButtonDown(flags, xpos, ypos)

Help

Unsupported

 

Other

Unsupported

 

Functions for CommandButton control

Table 13. 

Function

Support Level

Example Code

ClassName

Supported

ls_return = cb_1.ClassName()

Drag

Supported

cb_1.Drag(Begin!)

GetParent

Supported

PowerObject lpo_return

lpo_return = cb_1.GetParent()

Hide

Supported

li_return = cb_1.Hide()

Move

Supported

cb_1.Move(200,800)

li_return = cb_1.Move(li_x,li_y)

PointerX

Supported

li_return = cb_1.PointerX()

PointerY

Supported

li_return = cb_1.PointerY()

PostEvent

Supported

cb_1.PostEvent(Clicked!)

Resize

Supported

cb_1.Resize(200,800)

li_return = cb_1.Resize(li_x, li_y)

SetFocus

Supported

li_return = cb_1.SetFocus()

Unsupported: SetFocus(cb_1)

SetPosition

Supported

ll_return = cb_1.SetPosition(ToTop!)

SetRedraw

Supported

li_return = cb_1.SetRedraw(TRUE)

Show

Supported

li_return = cb_1.Show()

TriggerEvent

Supported

li_return = cb_1.TriggerEvent(Clicked!)

TypeOf

Supported

if cb_1.TypeOf() = commandbutton! then

ls_return = "commandbutton!"

end if

GetContextService

Unsupported

 

Print

Unsupported

 

DatePicker control

Difference

Left mouse clicking on the DatePicker control will trigger the Clicked, GetFocused events in sequence.

Properties for DatePicker control

Table 14. 

Property

Support Level

Example Code

Accelerator

Supported

dp_1.Accelerator=67

Accessible​Description

Supported

 

AccessibleName

Supported

 

AccessibleRole

Supported

 

AllowEdit

Supported

dp_1.AllowEdit = TRUE

Border

Supported

dp_1.Border = TRUE

BorderStyle

Supported

dp_1.BorderStyle = StyleBox!

dp_1.BorderStyle = StyleLowered!

dp_1.BorderStyle = StyleRaised!

Note: StyleShadowBox! is unsupported.

BringToTop

Supported

 

CalendarBack​Color

Supported

dp_1.CalendarBackColor = RGB(255, 255, 0)

CalendarFont​Charset

Supported

db_1.CalendarFontCharset = ANSI!

CalendarFont​Family

Supported

dp_1.CalendarFontFamily = Roman!

CalendarFont​Name

Supported

dp_1.CalendarFontName = ls_value

CalendarFont​Pitch

Supported

dp_1.CalendarFontPitch = Fixed!

CalendarFont​Weight

Supported

dp_1.CalendarFontWeight = li_value

CalendarItalic

Supported

dp_1.CalendarItalic = lb_value

CalendarText​Color

Supported

dp_1.CalendarTextColor = RGB(0,0,255)

CalendarTextSize

Supported

dp_1.CalendarTextSize = li_value

CalendarTitle​BackColor

Supported

dp_1.CalendarTitleBackColor = RGB(128, 255, 128)

CalendarTrailing​TextColor

Supported

dp_1.CalendarTrailingTextColor = RGB(128, 255, 128)

CalendarUnderline

Supported

dp_1.CalendarUnderline = lb_value

CustomFormat

Supported

dp_1.CustomFormat = ls_value

DateValue

Supported

dp_1.DateValue = ld_value

DragAuto

Supported

dp_1.DragAuto = TRUE

Notes:

  1. On the Web, dragging a DatePicker control will not trigger the DropDown event if the DragAuto property is set to True, which means there is no Month Calender displayed on the Web when you Drag the DatePicker with setting the DragAuto property to True.

  2. On the Web, if the DragAuto is set to True, clicking, dragging, and releasing the DatePicker control will trigger the following event in sequence: DragEnter, DragWithin, DragLeave.

DragIcon

Supported

dp_1.DragIcon = 'arrow.ico'

DropDownRight

Supported

dp_1.DropDownRight = true

Enabled

Supported

dp_1.Enabled = TRUE

FaceName

Supported

dp_1.FaceName = ""

FirstDayOfWeek

Supported

dp_1.FirstDayOfWeek = Monday!

FontCharSet

Supported

dp_1.FontCharSet = ANSI!

FontFamily

Supported

dp_1.FontFamily = Roman!

FontPitch

Supported

dp_1.FontPitch = Fixed!

FontWeight

Supported

dp_1.FontWeight = 700

Format

Supported

dp_1.Format = dtfShortDate!

Height

Supported

dp_1.Height = 750

dp_1.Height = li_value

Italic

Supported

dp_1.Italic=TRUE

dp_1.Italic = lb_value

MaxDate

Supported

dp_1.MaxDate = Date("2007/06/30")

MinDate

Supported

dp_1.MinDate = Date("2006/09/01")

Pointer

Supported

dp_1.Pointer = 'Size!'

ShowUpDown

Supported

dp_1.ShowUpDown = true

TabOrder

Supported

dp_1.TabOrder = 30

Tag

Supported

dp_1.Tag = ls_value

Text

Supported

dp_1.Text = ls_value

TextSize

Supported

dp_1.TextSize = li_value

TimeValue

Supported

lt_value = dp_1.TimeValue

TodayCircle

Supported

dp_1.TodayCircle = false

TodaySection

Supported

dp_1.TodaySection = false

Underline

Supported

dp_1.Underline = TRUE

Value

Supported

dp_1.Value = DateTime(Date("2005/07/01"),Time("12:00:00"))

Visible

Supported

dp_1.Visible = True

WeekNumbers

Supported

dp_1.WeekNumbers = true

Width

Supported

dp_1.Width = li_value

Note:

  1. If the Width value is set to -32768, obtaining the width property returns -32768 on the Web, however it returns 0 in PowerBuilder.

  2. If the Width value is set to 32768, obtaining the width property returns 0 on the Web, however it returns -32768 in PowerBuilder.

X

Supported

dp_1.X = li_value

Note:

  1. If the X value is set to -32768, obtaining the X property returns -32768 on the Web, however it returns 0 in PowerBuilder.

  2. If the Width value is set to 32768, obtaining the width property returns 0 on the Web, however it returns -32768 in PowerBuilder.

Y

Supported

dp_1.Y = li_value

Note:

  1. If the Y value is set to -32768, obtaining the Y property returns -32768 on the Web, however it returns 0 in PowerBuilder.

  2. If the Width value is set to 32768, obtaining the width property returns 0 on the Web, however it returns -32768 in PowerBuilder.

ClassDefinition

Unsupported

 

RightToLeft

Unsupported

 

Events for DatePicker control

Table 15. 

Event

Support Level

Example Code

Clicked

Supported

Clicked()

CloseUp

Supported

CloseUp()

Constructor

Supported

Constructor()

Destructor

Supported

Destructor()

DoubleClicked

Supported

Doubleclicked(flags,xpos,ypos)

DragDrop

Supported

DragDrop()

DragEnter

Supported

DragEnter(source)

DragLeave

Supported

DragLeave(source)

DragWithin

Supported

DragWithin(source)

DropDown

Supported

DropDown()

LoseFocus

Supported

GetFocus()

GetFocus

Supported

GetFocus()

RButtonDown

Supported

RButtonDown(flags, xpos, ypos)

ValueChanged

Supported

Valuechanged(flag,dtm)

Help

Unsupported

 

PreCreateWindow

Unsupported

 

UserString

Unsupported

 

Other

Unsupported

 

Functions for DatePicker Control

Table 16. 

Function

Support Level

Example Code

ClassName

Supported

ls_value = dp_1.ClassName()

Drag

Supported

dp_1.Drag(dragmode)

Note: If you use Drag(Begin!), single mouse clicking will trigger DragEnter and DragDrop event in sequence on the Web. This is different from the event sequences in PowerBuilder.

GetCalendar

Supported

dp_1.getcalendar( )

GetParent

Supported

PowerObject lpo_returnvalue

lpo_returnvalue = dp_1.GetParent()

GetText

Supported

ls_text = dp_1.GetText()

GetToday

Supported

currentdate = dp_1.GetToday()

GetValue

Supported

li_value = dp_1.GetValue(dt)

Hide

Supported

li_return = dp_1.Hide()

Move

Supported

li_return = dp_1.Move(li_x,li_y)

PointerX

Supported

li_value = dp_1.PointerX()

PointerY

Supported

li_value = dp_1.PointerY()

PostEvent

Supported

dp_1.PostEvent(Constructor!)

Resize

Supported

li_return = dp_1.Resize(li_width,li_height)

SetFocus

Supported

li_return = dp_1.SetFocus()

SetPosition

Supported

li_return = dp_1.SetPosition(position)

SetRedraw

Supported

li_return= dp_1.SetRedraw(FALSE)

SetToday

Supported

li_return = dp_1.SetToday(currentdate)

SetValue

Supported

dp_1.SetValue(dt)

Show

Supported

li_return = dp_1.Show()

TriggerEvent

Supported

dp_1.TriggerEvent(Constructor!)

TypeOf

Supported

if dp_1.TypeOf() = DatePicker! Then

ls_return = 'DatePicker!'

else

ls_return = 'isvalid'

end if

GetContextService

Unsupported

 

Print

Unsupported

 

DropDownListBox control

Important Requirements

In PowerBuilder, if a DropDownListBox has no item, an empty row will display in the ListBox portion when the user clicks the down arrow. However, on the Web application, no empty row will display.

Properties for DropDownListBox control

Table 17. 

Property

Support Level

Example Code

Accelerator

Supported

ddlb_1.Accelerator=67

AllowEdit

Supported

ddlb_1.AllowEdit = TRUE

ddlb_1.AllowEdit = lb_value

Note: The pbm_keydown event is unsupported if the AllowEdit property is set to true.

AutoHScroll

Supported

ddlb_1.AutoHScroll = TRUE

BringToTop

Supported

ddlb_1.BringToTop = TRUE

BackColor

Supported

ddlb_1.BackColor = RGB(0, 0, 255)

ddlb_1.BackColor = ll_value

Note: transparent value is unsupported.

Border

Supported

ddlb_1.Border = TRUE

ddlb_1.Border = lb_value

BorderStyle

Supported

ddlb_1.BorderStyle = StyleBox!

ddlb_1.BorderStyle = StyleLowered!

ddlb_1.BorderStyle = StyleRaised!

DragAuto

Supported

ddlb_1.DragAuto = TRUE

DragIcon

Supported

ddlb_1.DragIcon = 'c:\archive\arrow.ico'

Enabled

Supported

ddlb_1.Enabled=TRUE

ddlb_1.Enabled = lb_value

FaceName

Supported

ddlb_1.FaceName = ""

ddlb_1.FaceName = ls_value

FontCharSet

Supported

ddlb_1.FontCharSet = ANSI!

FontFamily

Supported

ddlb_1.FontFamily = Roman!

FontPitch

Supported

ddlb_1.FontPitch = Fixed!

Height

Supported

ddlb_1.Height = 750

ddlb_1.Height = li_value

HScrollBar

Supported

ddlb_1.HScrollBar = TRUE

ddlb_1.HscrollBar = lb_value

Italic

Supported

ddlb_1.Italic=TRUE

ddlb_1.Italic = lb_value

Item[ ]

Supported

ls_value = ddlb_1.Item[1]

Limit

Supported

ddlb_1.Limit = 256

ddlb_1.Limit = li_value

Pointer

Supported

ddlb_1.Pointer = 'Size!'

ddlb_1.Pointer ='d:\archive\IBEAM.BMP.cur'

RightToLeft

Supported

ddlb_1.RightToLeft = TRUE

ShowList

Supported

ddlb_1.ShowList = TRUE

Sorted

Supported

ddlb_1.Sorted = TRUE

ddlb_1.Sorted = lb_value

TabOrder

Supported

ddlb_1.TabOrder = 30

Tag

Supported

ddlb_1.Tag = ls_value

Text

Supported

ddlb_1.Text = ls_value

TextColor

Supported

ddlb_1.TextColor = ll_value

ddlb_1.TextColor = RGB(192,192,192)

TextSize

Supported

ddlb_1.TextSize = li_value

Underline

Supported

ddlb_1.Underline= TRUE

ddlb_1.Underline = lb_value

Visible

Supported

ddlb_1.Visible = TRUE

ddlb_1.Visible = lb_value

VScrollBar

Supported

ddlb_1.VScrollBar = TRUE

ddlb_1.VscrollBar = lb_value

Weight

Supported

ddlb_1.Weight = 700

ddlb_1.Weight = li_value

Width

Supported

ddlb_1.Width = li_value

X

Supported

ddlb_1.X = li_value

Y

Supported

ddlb_1.Y = li_value

ClassDefinition

Unsupported

 

Transparency

Unsupported

 

Events for DropDownListBox control

Table 18. 

Event

Support Level

Example Code

Constructor

Supported

Constructor()

Destructor

Supported

Destructor()

DoubleClicked

Supported

DoubleClicked()

DragDrop

Supported

DragDrop(source)

DragEnter

Supported

DragEnter(source)

DragLeave

Supported

DragLeave(source)

DragWithin

Supported

DragWithin(source)

GetFocus

Supported

GetFocus()

LoseFocus

Supported

LoseFocus()

Modified

Supported

Modified()

Note: it is unsupported to trigger the event by clicking the Enter key.

RButtonDown

Supported

RButtonDown(flags, xpos, ypos)

SelectionChanged

Supported

SelectionChanged(index)

If the return value of the event is greater than 0, the Modified event will be triggered. Otherwise, continue processing.

Help

Unsupported

 

Other

Unsupported

 

Functions for DropDownListBox control

Table 19. 

Function

Support Level

Example Code

AddItem

Supported

li_return = ddlb_1.AddItem(item)

ClassName

Supported

ls_return = ddlb_1.ClassName()

Clear

Supported

li_return = ddlb_1.Clear()

Copy

Supported

li_return = ddlb_1.Copy()

Cut

Supported

li_return = ddlb_1.Cut()

DeleteItem

Supported

li_return = ddlb_1.DeleteItem(index)

DirList

Supported

ddlb_1.DirList("C:\EMPLOYEE\*.TXT", 0)

DirSelect

Supported

lb_dir = ddlb_1.DirSelect(ls_dirname)

Drag

Supported

ddlb_1.Drag(Cancel!)

FindItem

Supported

li_return = ddlb_1.FindItem('hello', 4)

li_return = ddlb_1.FindItem(text, index)

GetParent

Supported

PowerObject lpo_return

lpo_return = ddlb_1.GetParent()

Hide

Supported

li_return = ddlb_1.Hide()

InsertItem

Supported

ddlb_1.InsertItem('hello',3)

li_return = ddlb_1.InsertItem(item, index)

Move

Supported

ddlb_1.Move(200,400)

li_return = ddlb_1.Move(li_x,li_ y)

Paste

Supported

li_return = ddlb_1.Paste()

PointerX

Supported

li_return = ddlb_1.PointerX()

PointerY

Supported

li_return = ddlb_1.PointerY()

PostEvent

Supported

ddlb_1.PostEvent(Clicked!)

ReplaceText

Supported

ddlb_1.ReplaceText("60 Days")

Reset

Supported

li_return = ddlb_1.Reset()

Resize

Supported

ddlb_1.Resize(200,800)

li_return = ddlb_1.Resize(li_x, li_y)

SelectItem

Supported

ddlb_1.SelectItem ('hello',3)

li_return = ddlb_1.SelectItem(item, index)

SelectedLength

Supported

li_returnvalue = ddlb_1.SelectedLength()

SelectedStart

Supported

li_returnvalue = ddlb_1.SelectedStart()

SelectedText

Supported

li_returnvalue = ddlb_1.SelectedText()

SelectText

Supported

li_returnvalue = ddlb_1.SelectText(start, length)

SetFocus

Supported

li_return = ddlb_1.SetFocus()

Unsupported: SetFocus(ddlb_1)

SetPosition

Supported

ddlb_1.SetPosition(ToTop!)

li_return = ddlb_1.SetPosition(position)

SetRedraw

Supported

li_return = ddlb_1.SetRedraw(FALSE)

Show

Supported

li_return = ddlb_1.Show()

Text

Supported

ls_return = ddlb_1.Text(index)

TotalItems

Supported

li_return = ddlb_1.TotalItems()

TriggerEvent

Supported

ddlb_1.TriggerEvent(Constructor!)

li_return = ddlb_1.TriggerEvent(event)

TypeOf

Supported

if ddlb_1.typeof() = DropDownListBox!

then messagebox("show"," DropDownListBox!")

end if

GetContextService

Unsupported

 

Position

Unsupported

 

Print

Unsupported

 

DropDownPictureListBox control

Properties for DropDownPictureListBox control

Table 20. 

Property

Support Level

Example Code

Accelerator

Supported

ddplb_1.Accelerator = 67

AllowEdit

Supported

ddplb_1.AllowEdit = TRUE

ddplb_1.AllowEdit = lb_value

Note: The pbm_keydown event is unsupported if the AllowEdit property is set to true.

AutoHScroll

Supported

ddplb_1.AutoHScroll = TRUE

BackColor

Supported

ddplb_1.BackColor = ll_value

ddplb_1.BackColor = RGB (0,0,255)

Note: transparent value is unsupported.

BringToTop

Supported

ddplb_1.BringToTop = TRUE

Border

Supported

ddplb_1.Border = TRUE

ddplb_1.Border = lb_value

BorderStyle

Supported

ddplb_1.BorderStyle = StyleBox!

ddplb_1.BorderStyle = StyleLowered!

ddplb_1.BorderStyle = StyleRaised!

Note: StyleShadowBox! is unsupported.

DragAuto

Supported

ddplb_1.DragAuto = TRUE

DragIcon

Supported

ddplb_1.DragIcon = 'c:\archive\arrow.ico'

Enabled

Supported

ddplb_1.Enabled = TRUE

ddplb_1.Enabled = lb_value

FaceName

Supported

ddplb_1.Facename = ls_value

FontCharSet

Supported

ddplb_1.FontCharSet = ANSI!

FontFamily

Supported

ddplb_1.FontFamily = Roman!

FontPitch

Supported

ddplb_1.FontPitch = Fixed!

Height

Supported

ddplb_1.Height = li_value

HScrollBar

Supported

ddplb_1.Hscrollbar = lb_value

Italic

Supported

ddplb_1.Italic = lb_value

Item[ ]

Supported

String a[] = ddplb_1.Item[]

ItemPictureIndex[ ]

Supported

ddplb_1.ItemPictureIndex[] = li_value[]

Limit

Supported

ddplb_1.Limit = 256

ddplb_1.Limit = li_value

PictureHeight

Supported

ddplb_1.PictureHeight = 16

PictureWidth

Supported

ddplb_1.PictureWidth = 16

PictureName[ ]

Supported

ls_value = ddplb_1.PictureName[1]

Assigning values to part of an array and using the default values for the other part is not supported.

For example:

picturename[1] = "aaa.bmp"

picturename[3] = "bbb.bmp"

var pic1 = picturename[1]; var pic2 = picturename[3];

A supported example is given as follows:

picturename[1] = "aaa.bmp"

picturename[2] = "bbb.bmp"

picturename[3] = "ccc.bmp"

var pic1 = picturename[1]; var pic2 = picturename[2]; var pic3 = picturename[3];

Pointer

Supported

ddplb_1.Pointer = "Beam!"

dbplb_1.Pointer = 'd:\archive\IBEAM.BMP.cur'

RightToLeft

Supported

dbplb_1.RightToLeft = TRUE

ShowList

Supported

ddplb_1.ShowList = TRUE

Sorted

Supported

ddplb_1.Sorted = lb_value

TabOrder

Supported

ddplb_1.TabOrder = 40

Tag

Supported

ddplb_1.Tag = ls_value

Text

Supported

ddplb_1.Text = ls_value

TextColor

Supported

ddplb_1.Textcolor = ll_value

ddplb_1.Textcolor = RGB(192,192,192)

TextSize

Supported

ddplb_1.TextSize = li_value

Underline

Supported

ddplb_1.Underline = lb_value

Visible

Supported

ddplb_1.Visible = lb_value

VScrollBar

Supported

ddplb_1.VscrollBar = lb_value

Weight

Supported

ddplb_1.Weight = li_value

Width

Supported

ddplb_1.Width = li_value

X

Supported

ddplb_1.X = li_value

Y

Supported

ddplb_1.Y = li_value

ClassDefinition

Unsupported

 

PictureMaskColor

Unsupported

 

Transparency

Unsupported

 

Events for DropDownPictureListBox control

Table 21. 

Event

Support Level

Example Code

Constructor

Supported

Constructor()

Destructor

Supported

Destructor()

DoubleClicked

Supported

DoubleClicked()

DragDrop

Supported

DragDrop(source)

DragEnter

Supported

DragEnter(source)

DragLeave

Supported

DragLeave(source)

DragWithin

Supported

DragWithin(source)

GetFocus

Supported

GetFocus()

LoseFocus

Supported

LoseFocus()

Modified

Supported

Modified()

RButtonDown

Supported

RButtonDown(flags, xpos, ypos)

SelectionChanged

Supported

SelectionChanged(index) //If the return value is greater than 0, the Modified event will be triggered. Otherwise, continue processing.

Help

Unsupported

 

Other

Unsupported

 

Functions for DropDownPictureListBox control

Table 22. 

Function

Support Level

Example Code

AddItem

Supported

li_return = ddplb_1.AddItem(ls_name, li_pic)

AddPicture

Supported

li_return = ddplb_1.AddPicture(picturename)

ClassName

Supported

ls_return = ddplb_1.ClassName()

Clear

Supported

ls_return = ddplb_1.Clear()

Copy

Supported

ls_return = ddplb_1.Copy()

Cut

Supported

ls_return = ddplb_1.Cut()

DeleteItem

Supported

li_return = ddplb_1.DeleteItem(index)

DeletePicture

Supported

li_return =ddplb_1.DeletePicture(index)

DeletePictures

Supported

li_return =ddplb_1.DeletePictures()

DirList

Supported

ddplb_1.DirList("C:\EMPLOYEE\*.TXT", 0)

ddplb_1.DirList("C:\EMPLOYEE\*.DOC", 1, st_path)

DirSelect

Supported

ddplb_1.DirSelect(ls_filename)

Drag

Supported

ddplb_1.Drag(End!)

FindItem

Supported

li_return = ddplb_1.FindItem(text, index)

GetParent

Supported

PowerObject lpo_return

lpo_return = ddplb_1.GetParent()

Hide

Supported

li_return = ddplb_1.Hide()

InsertItem

Supported

ddplb_1.InsertItem("Run Application", 5)

Move

Supported

li_return = ddplb_1.Move(li_x,li_ y)

Paste

Supported

li_return = ddplb_1.Paste()

PointerX

Supported

li_return = ddplb_1.PointerX()

PointerY

Supported

li_return = ddplb_1.PointerY()

PostEvent

Supported

ddplb_1.PostEvent(Clicked!)

lb_return = ddplb_1.PostEvent(event)

Reset

Supported

li_return = ddplb_1.Reset()

Resize

Supported

li_return = ddplb_1.Resize(li_width,li_height)

SelectItem

Supported

li_return = ddplb_1.SelectItem(item, index)

SelectedLength

Supported

li_returnvalue = ddplb_1.SelectedLength()

SelectedStart

Supported

li_returnvalue = ddplb_1.SelectedStart()

SelectedText

Supported

li_returnvalue = ddplb_1.SelectedText()

SelectText

Supported

li_returnvalue = ddplb_1.SelectText(start, length)

SetFocus

Supported

li_return = ddplb_1.SetFocus()

Unsupported: SetFocus(ddplb_1)

SetPosition

Supported

li_return = ddplb_1.SetPosition(position)

SetRedraw

Supported

li_return= ddplb_1.SetRedraw(FALSE)

Show

Supported

li_return = ddplb_1.Show()

Text

Supported

ls_return = ddplb_1.Text(index)

TotalItems

Supported

li_return = ddplb_1.TotalItems()

TriggerEvent

Supported

li_return = ddplb_1.TriggerEvent(event)

TypeOf

Supported

if ddplb_1.TypeOf() = DropDownPictureListBox!

Then ls_return = 'DropDownPictureListBox!'

else ls_return = 'isvalid'

end if

GetContextService

Unsupported

 

Position

Unsupported

 

Print

Unsupported

 

EditMask control

Properties for EditMask control

Table 23. 

Property

Support Level

Example Code

Accelerator

Supported

em_1.Accelerator = 67

Alignment

Supported

em_1.Alignment = Center!

AutoHScroll

Supported

 

AutoSkip

Supported

em_1.AutoSkip = TRUE

BackColor

Supported

em_1.BackColor = ll_value

em_1.BackColor = RGB (192,192,192)

Note: transparent value is unsupported.

Border

Supported

em_1.Border = TRUE

em_1.Border = lb_value

BorderStyle

Supported

em_1.BorderStyle = StyleLowered!

em_1.BorderStyle = StyleRaised!

em_1.BorderStyle = StyleBox!

Note: StyleShadowBox! is unsupported.

BringToTop

Supported

em_1.BringToTop = TRUE

DisplayData

Supported

 

DisplayOnly

Supported

em_1.DisplayOnly = TRUE

em_1.DisplayOnly = lb_value

DragAuto

Supported

em_1.DragAuto = TRUE

DropDownCalendar

Supported

 

DragIcon

Supported

em_1.DragIcon = 'c:\archive\arrow.ico''

Enabled

Supported

em_1.Enabled = TRUE

em_1.Enabled = lb_value

FaceName

Supported

em_1.FaceName = ls_value

FontCharSet

Supported

em_1.FontCharSet = ANSI!

FontFamily

Supported

em_1.FontFamily = Roman!

FontPitch

Supported

em_1.FontPitch = Fixed!

Height

Supported

em_1.Height = li_value

HideSelection

Supported

em_1.HideSelection = FALSE

Increment

Supported

em_1.Increment = 5.0

em_1.Increment = ld_value

Italic

Supported

em_1.Italic = lb_value

Limit

Supported

em_1.Limit = 50

em_1.Limit = li_value

Note: the Limit property cannot be dynamically changed.

Mask

Supported

em_1.MaskDataType =StringMask

em_1.Mask = "^^^-!!!"

Note: This property can only be set in the PowerBuilder Painter.

MaskDataType

Supported

em_1.MaskDataType = StringMask!

em_1.MaskDataType = DateTimeMask!

em_1.MaskDataType = NumericMask!

Note: This property can only be set in the PowerBuilder painter.

MinMax

Supported

em_1.MinMax = ("100 ~~ 10000")

Pointer

Supported

em_1.Pointer = 'AppStarting!'

em_1.Pointer = 'd:\archive\IBEAM.BMP.cur'

RightToLeft

Supported

em_1.RightToLeft = TRUE

Spin

Supported

em_1.Spin = TRUE em_1.Spin = FALSE

TabOrder

Supported

em_1.TabOrder = 50

Tag

Supported

em_1.Tag = ls_value

Text

Supported

em_1.Text = ls_value

TextColor

Supported

em_1.TextColor = ll_value

em_1.TextColor = RGB (192,192,192)

TextCase

Supported

em_1.TextCase = AnyCase!

em_1.TextCase = Lower!

em_1.TextCase = Upper!

TextSize

Supported

em_1.TextSize = li_value

Underline

Supported

em_1.Underline = TRUE

em_1.Underline = lb_value

UseCodeTable

Supported

em_1.UseCodeTable = TRUE

Visible

Supported

em_1.Visible = lb_value

Weight

Supported

em_1.Weight = li_value

Width

Supported

em_1.Width = li_value

X

Supported

em_1.X = li_value

Y

Supported

em_1.Y = li_value

AutoVScroll

Unsupported

 

ClassDefinition

Unsupported

 

HScrollBar

Unsupported

 

IgnoreDefaultButton

Unsupported

 

TabStop[ ]

Unsupported

 

Transparency

Unsupported

 

VScrollBar

Unsupported

 

Events for EditMask control

Table 24. 

Event

Support Level

Example Code

Constructor

Supported

Constructor()

Destructor

Supported

Destructor()

DragDrop

Supported

DragDrop(source)

DragEnter

Supported

DragEnter(source)

DragLeave

Supported

DragLeave(source)

DragWithin

Supported

DragWithin(source)

GetFocus

Supported

GetFocus()

LoseFocus

Supported

LoseFocus()

Modified

Supported

Modified()

RButtonDown

Supported

RButtonDown(flags, xpos, ypos)

Help

Unsupported

 

Other

Unsupported

 

Functions for EditMask control

Table 25. 

Function

Support Level

Example Code

ClassName

Supported

ls_returnvalue = em_1.ClassName()

Clear

Supported

li_returnvalue = em_1.Clear()

Copy

Supported

li_returnvalue = em_1.Copy()

Cut

Supported

li_returnvalue = em_1.Cut()

Drag

Supported

em_1.Drag(Begin!)

GetData

Supported

li_returnvalue = em_1.GetData(datavariable)

GetParent

Supported

PowerObject lpo_returnvalue

lpo_returnvalue = em_1.GetParent()

Hide

Supported

li_returnvalue = em_1.Hide()

LineCount

Supported

li_returnvalue = em_1.LineCount()

LineLength

Supported

li_returnvalue = em_1.LineLength()

Move

Supported

li_returnvalue = em_1.Move(li_xpos, li_ypos)

Paste

Supported

li_returnvalue = em_1.Paste()

PointerX

Supported

li_returnvalue = em_1.PointerX()

PointerY

Supported

li_returnvalue = em_1.PointerY()

PostEvent

Supported

lb_returnvalue = em_1.PostEvent(event)

ReplaceText

Supported

li_returnvalue = em_1.ReplaceText(text)

Resize

Supported

li_returnvalue = em_1.Resize(li_width, li_height)

SelectedLength

Supported

li_returnvalue = em_1.SelectedLength()

If the control is off screen, the execution of the function may have an incorrect return result.

SelectedLine

Supported

integer li_SL

li_SL = em_1.SelectedLine()

SelectedStart

Supported

li_returnvalue = em_1.SelectedStart()

If the control is off screen, the execution of the function may have an incorrect return result.

SelectedText

Supported

ls_returnvalue = em_1.SelectedText()

If the control is off screen, the execution of the function may have an incorrect return result.

SelectText

Supported

ls_returnvalue = em_1.SelectText(start, length)

If the control is off screen, the execution of the function may have an incorrect return result.

SetFocus

Supported

li_returnvalue = em_1.SetFocus()

Unsupported: SetFocus(em_test)

SetMask

Supported

li_returnvalue = em_1.SetMask(maskdatatype, mask)

SetPosition

Supported

li_returnvalue = em_1.SetPosition(position)

SetRedraw

Supported

li_returnvalue = em_1.SetRedraw (FALSE)

Show

Supported

li_returnvalue = em_1.Show()

TextLine

Supported

li_returnvalue = em_1.TextLine()

TriggerEvent

Supported

li_returnvalue = em_1.TriggerEvent()

TypeOf

Supported

If em_1.TypeOf() = editmask! Then

ls_returnvalue = 'editmask!'

else

ls_returnvalue = 'invalid!'

End if

CanUndo

Unsupported

 

GetContextService

Unsupported

 

Position

Unsupported

 

Print

Unsupported

 

Scroll

Unsupported

 

Undo

Unsupported

 

GroupBox control

Properties for GroupBox control

Table 26. 

Property

Support Level

Example Code

BackColor

Supported

gb_1.BackColor = ll_value

Note: transparent value is unsupported.

BorderStyle

Supported

gb_1.Border = TRUE

gb_1.BorderStyle = StyleLowered!

BringToTop

Supported

gb_1.BringToTop = TRUE

DragAuto

Supported

gb_1.DragAuto = TRUE

DragIcon

Supported

gb_1.DragIcon = 'c:\archive\arrow.ico''

Enabled

Supported

gb_1.Enabled = lb_value

FaceName

Supported

gb_1.FaceName = ls_value

FontCharSet

Supported

gb_1.FontCharSet = ANSI!

FontFamily

Supported

gb_1.FontFamily = Roman!

FontPitch

Supported

gb_1.FontPitch = Fixed!

Height

Supported

gb_1.Height = li_value

Italic

Supported

gb_1.Italic = lb_value

Pointer

Supported

gb_1.Pointer = 'Beam!'

gb_1.Pointer = 'd:\archive\IBEAM.BMP.cur'

RightToLeft

Supported

gb_1.RightToLeft = TRUE

TabOrder

Supported

gb_1.TabOrder = 50

Tag

Supported

gb_1.Tag = ls_value

Text

Supported

gb_1.Text = ls_value

TextColor

Supported

gb_1.TextColor = ll_value

gb_1.TextColor = RGB(192,192,192)

TextSize

Supported

gb_1.TextSize = li_value

Underline

Supported

gb_1.Underline = lb_value

Visible

Supported

gb_1.Visible = lb_value

Weight

Supported

gb_1.Weight = li_value

Width

Supported

gb_1.Width = li_value

X

Supported

gb_1.X = li_value

Y

Supported

gb_1.Y = li_value

ClassDefinition

Unsupported

 

Transparency

Unsupported

 

Events for GroupBox control

Table 27. 

Event

Support Level

Example Code

Constructor

Supported

Constructor( )

Destructor

Supported

Destructor( )

Help

Unsupported

 

Other

Unsupported

 

Functions for GroupBox control

Table 28. 

Function

Support Level

Example Code

ClassName

Supported

ls_returnvalue = gb_1.ClassName()

Drag

Supported

gb_1.drap(Cancel!)

GetParent

Supported

PowerObject lpo_returnvalue

lpo_returnvalue = gb_1.GetParent()

Hide

Supported

li_returnvalue = gb_1.Hide()

Move

Supported

gb_1.Move(200,500)

li_returnvalue = gb_1.Move(li_xpos, li_ypos)

PointerX

Supported

li_returnvalue = gb_1.PointerX()

PointerY

Supported

li_returnvalue = gb_1.PointerY()

PostEvent

Supported

lb_returnvalue = gb_1.PostEvent(event)

Resize

Supported

li_returnvalue = gb_1.Resize(li_width,li_height)

SetFocus

Supported

li_returnvalue = gb_1.SetFocus( )

Unsupported: SetFocus(gb_text)

SetPosition

Supported

li_returnvalue = gb_1.SetPosition(position)

SetRedraw

Supported

li_value = gb_1.SetRedraw(TRUE)

Show

Supported

li_returnvalue = gb_1.Show()

TriggerEvent

Supported

li_returnvalue = gb_1.TriggerEvent(event)

TypeOf

Supported

if gb_1.TypeOf() = GroupBox! Then

ls_returnvalue = "GroupBox!"

else

ls_returnvalue = "invalid"

end if

GetContextService

Unsupported

 

Print

Unsupported

 

HProgressBar control

Properties for HProgressBar control

Table 29. 

Property

Support Level

Example Code

BringToTop

Supported

hpb_1.BringToTop = TRUE

DragAuto

Supported

hpb_1.DragAuto = TRUE

DragIcon

Supported

hpb_1.DragIcon = 'Question!'

Height

Supported

hpb_1.Height = li_value

MaxPosition

Supported

hpb_1.MaxPosition = 120

MinPosition

Supported

hpb_1.MinPosition = 20

Pointer

Supported

hpb_1.Pointer = 'Beam!'

hpb_1.Pointer ='d:\archive\IBEAM.BMP.cur'

Position

Supported

hpb_1.Position = 50

SetStep

Supported

hpb_1.setstep = 20

SmoothScroll

Supported

hpb_1.SmoothScroll = True

TabOrder

Supported

hpb_1.TabOrder = 20

Tag

Supported

hpb_1.Tag = "HProgressBar control"

Visible

Supported

hpb_1.Visible = TRUE

Width

Supported

hpb_1.Width = 700

X

Supported

hpb_1.X = 280

Y

Supported

hpb_1.Y = 1280

ClassDefinition

Unsupported

 

Events for HProgressBar control

Table 30. 

Event

Support Level

Example Code

Clicked

Supported

Clicked()

Constructor

Supported

Constructor()

Destructor

Supported

Destructor()

DoubleClicked

Supported

DoubleClicked()

DragDrop

Supported

DragDrop(source)

DragEnter

Supported

DragEnter(source)

DragLeave

Supported

DragLeave(source)

DragWithin

Supported

DragWithin(source)

GetFocus

Supported

GetFocus()

LoseFocus

Supported

LoseFocus()

RightClicked

Supported

RightClicked()

Help

Unsupported

 

Other

Unsupported

 

Functions for HProgressBar control

Table 31. 

Function

Support Level

Example Code

ClassName

Supported

ls_classnm = hpb_1.classname()

Drag

Supported

li_return = hpb_1.drag(Begin!)

GetParent

Supported

lpo_return = hpb_1.GetParent()

Hide

Supported

li_return = hpb_1.Hide()

Move

Supported

li_return = hpb_1.Move(li_x,li_y)

OffsetPos

Supported

li_return = hpb_1.OffsetPos(10)

PointerX

Supported

li_return = hpb_1.PointerX()

PointerY

Supported

li_return = hpb_1.PointerY()

PostEvent

Supported

hpb_1.PostEvent(Clicked!)

Resize

Supported

li_return = hpb_1.Resize(li_x, li_y)

SetFocus

Supported

li_return = hpb_1.SetFocus()

SetPosition

Supported

li_return = hpb_1.SetPosition(ToTop!)

SetRange

Supported

li_return = hpb_1.SetRange(1, 10)

SetRedraw

Supported

li_return = hpb_1.SetRedraw(FALSE)

Show

Supported

li_return = hpb_1.Show()

StepIt

Supported

li_return = hpb_1.StepIt( )

TriggerEvent

Supported

li_return = hpb_1.TriggerEvent(Clicked!)

TypeOf

Supported

type_obj = hpb_1.typeof()

GetContextService

Unsupported

 

Print

Unsupported

 

HScrollBar control

Properties for HScrollBar control

Table 32. 

Property

Support Level

Example Code

BringToTop

Supported

hsb_1.BringToTop = TRUE

DragAuto

Supported

hsb_1.DragAuto = TRUE

DragIcon

Supported

hsb_1.DragIcon = 'Question!'

Height

Supported

hsb_1.Height = li_value

MaxPosition

Supported

hsb_1.MaxPosition = 120

MinPosition

Supported

hsb_1.MinPosition = 20

Pointer

Supported

hsb_1.Pointer = 'Beam!'

hsb_1.Pointer ='d:\archive\IBEAM.BMP.cur'

Position

Supported

hsb_1.Position = 50

StdHeight

Supported

hsb_1.StdHeight = True

TabOrder

Supported

hsb_1.TabOrder = 20

Tag

Supported

hsb_1.Tag = "HScrollBar control"

Visible

Supported

hsb_1.Visible = TRUE

Width

Supported

hsb_1.Width = 700

X

Supported

hsb_1.X = 280

Y

Supported

hsb_1.Y = 1280

ClassDefinition

Unsupported

 

Events for HScrollBar control

Table 33. 

Event

Support Level

Example Code

Constructor

Supported

Constructor()

Destructor

Supported

Destructor()

DragDrop

Supported

DragDrop(source)

DragEnter

Supported

DragEnter(source)

DragLeave

Supported

DragLeave(source)

DragWithin

Supported

DragWithin(source)

GetFocus

Supported

GetFocus()

LineLeft

Supported

LineLeft()

LineRight

Supported

LineRight()

Note: User defined events in the LineLeft or LineRight events for the HScrollBar control may be triggered more than once.

LoseFocus

Supported

LoseFocus()

Moved

Supported

Moved(scrollpos)

PageLeft

Supported

PageLeft()

PageRight

Supported

PageRight()

RButtonDown

Supported

RButtonDown()

Help

Unsupported

 

Other

Unsupported

 

Functions for HScrollBar control

Table 34. 

Function

Support Level

Example Code

ClassName

Supported

ls_classnm = hsb_1.classname()

Drag

Supported

li_return = hsb_1.drag(Begin!)

GetParent

Supported

lpo_return = hsb_1.GetParent()

Hide

Supported

li_return = hsb_1.Hide()

Move

Supported

li_return = hsb_1.Move(li_x,li_y)

PointerX

Supported

li_return = hsb_1.PointerX()

PointerY

Supported

li_return = hsb_1.PointerY()

PostEvent

Supported

hsb_1.PostEvent(Clicked!)

Resize

Supported

li_return = hsb_1.Resize(li_x, li_y)

SetFocus

Supported

li_return = hsb_1.SetFocus()

SetPosition

Supported

li_return = hsb_1.SetPosition(ToTop!)

SetRedraw

Supported

li_return = hsb_1.SetRedraw(FALSE)

Show

Supported

li_return = hsb_1.Show()

TriggerEvent

Supported

li_return = hsb_1.TriggerEvent(Clicked!)

TypeOf

Supported

type_obj = hsb_1.typeof()

GetContextService

Unsupported

 

Print

Unsupported

 

HTrackBar control

Properties for HTrackBar control

Table 35. 

Property

Support Level

Example Code

BringToTop

Supported

htb_1.BringToTop = TRUE

DragAuto

Supported

htb_1.DragAuto = TRUE

DragIcon

Supported

htb_1.DragIcon = 'Question!'

Height

Supported

htb_1.Height = li_value

LineSize

Supported

htb_1.LineSize = li_value

MaxPosition

Supported

htb_1.MaxPosition = 120

MinPosition

Supported

htb_1.MinPosition = 20

PageSize

Supported

htb_1.PageSize = li_value

Pointer

Supported

htb_1.Pointer = 'Beam!'

Position

Supported

htb_1.Position = 50

Slider

Supported

htb_1.Slider = TRUE

SliderSize

Supported

htb_1.SliderSize = li_value

TabOrder

Supported

htb_1.TabOrder = 20

Tag

Supported

htb_1.Tag = ls_tag

TickFrequency

Supported

htb_1.TickFrequency = li_value

TickMarks

Supported

htb_1.TickMarks = HTicksOnRight!

Visible

Supported

htb_1.Visible = TRUE

Width

Supported

htb_1.Width = li_value

X

Supported

htb_1.X = li_x

Y

Supported

htb_1.Y = li_y

ClassDefinition

Unsupported

 

Events for HTrackBar control

Table 36. 

Event

Support Level

Example Code

Constructor

Supported

Constructor()

Destructor

Supported

Destructor()

DragDrop

Supported

DragDrop(source)

DragEnter

Supported

DragEnter(source)

DragLeave

Supported

DragLeave(source)

DragWithin

Supported

DragWithin(source)

GetFocus

Supported

GetFocus()

LineDown

Supported

LineDown()

LineUp

Supported

LineUp()

LoseFocus

Supported

LoseFocus()

Moved

Supported

Moved(scrollpos)

PageDown

Supported

PageDown()

PageUp

Supported

PageUp()

RButtonDown

Supported

RButtonDown()

Help

Unsupported

 

Other

Unsupported

 

Functions for HTrackBar control

Table 37. 

Function

Support Level

Example Code

ClassName

Supported

ls_classnm = htb_1.classname()

Drag

Supported

li_return = htb_1.drag(Begin!)

GetParent

Supported

lpo_return = htb_1.GetParent()

Hide

Supported

li_return = htb_1.Hide()

Move

Supported

li_return = htb_1.Move(li_x,li_y)

PointerX

Supported

li_return = htb_1.PointerX()

PointerY

Supported

li_return = htb_1.PointerY()

PostEvent

Supported

htb_1.PostEvent(Clicked!)

Resize

Supported

li_return = htb_1.Resize(li_x, li_y)

SelectionRange

Supported

li_return = htb_1.SelectionRange(30, 70)

SetFocus

Supported

li_return = htb_1.SetFocus()

SetPosition

Supported

li_return = htb_1.SetPosition(ToTop!)

SetRedraw

Supported

li_return = htb_1.SetRedraw(FALSE)

Show

Supported

li_return = htb_1.Show()

TriggerEvent

Supported

li_return = htb_1.TriggerEvent(Clicked!)

TypeOf

Supported

type_obj = htb_1.typeof()

GetContextService

Unsupported

 

Print

Unsupported

 

InkPicture control

Properties for InkPicture control

Property added by Appeon

Recognitiontimer - Specifies the time period in milliseconds between the last ink stroke and the start of text recognition (the Appeon_recognition event). The default is 2000 (two seconds).

Table 38. 

Property

Support Level

Description

AutoErase

Unsupported

 

BackColor

Supported

 

Border

Supported

 

BorderStyle

Supported

 

BringToTop

Supported

 

ClassDefinition

Supported

 

CollectionMode

Supported

 

DragAuto

Supported

 

DragIcon

Supported

 

DynamicRendering

Supported

 

EditMode

Supported

InkPicSelectMode! is not supported.

Enabled

Supported

 

EraseMode

Supported

 

EraseWidth

Unsupported

 

Height

Supported

 

HighContrastInk

Unsupported

 

IgnorePressure

Unsupported

 

InkAntiAliased

Unsupported

 

InkColor

Supported

 

InkEnabled

Supported

 

InkFileName

Unsupported

 

InkHeight

Unsupported

 

InkTransparency

Unsupported

 

InkWidth

Supported

 

MarginX

Unsupported

 

MarginY

Unsupported

 

PenTip

Unsupported

 

PictureFileName

Unsupported

 

PictureSizeMode

Supported

 

Pointer

Supported

 

PowerTipText

Supported

 

Status

Unsupported

 

TabOrder

Supported

 

Tag

Supported

 

Visible

Supported

 

Width

Supported

 

X

Supported

 

Y

Supported

 

Events for InkPicture control

Event added by Appeon

Appeon_recognition - Occurs when the last ink stroke has finished (that is, Stroke event is ended) for the period of time specified in the Recognitiontimer property. This event provides a way for the developer to write PowerScript to, for example, save user strokes as images or blob data to the database.

Table 39. 

Event

Support Level

Example Code

Clicked

Supported

 

Constructor

Supported

 

Destructor

Supported

 

DoubleClicked

Supported

 

DragDrop

Supported

 

DragEnter

Supported

 

DragLeave

Supported

 

DragWithin

Supported

 

Gesture

Supported

 

GetFocus

Supported

 

Help

Supported

 

LoseFocus

Supported

 

Other

Supported

 

RButtonDown

Unsupported

 

SelectionChanged

Unsupported

 

SelectionChanging

Unsupported

 

SizeChanged

Supported

 

Stroke

Supported

 

Functions for InkPicture control

Table 40. 

Function

Support Level

Example Code

ClassName

Supported

 

Drag

Supported

 

GetContextService

Supported

 

GetParent

Supported

 

Hide

Supported

 

LoadInk

Unsupported

 

LoadPicture

Supported

 

Move

Supported

 

PointerX

Supported

 

PointerY

Supported

 

PostEvent

Supported

 

Print

Unsupported

 

ResetInk

Supported

 

ResetPicture

Supported

 

Resize

Supported

 

Save

Supported

WithInk argument can only be set to "True", not "False".

SaveInk

Unsupported

 

SetFocus

Supported

 

SetPosition

Supported

 

SetRedraw

Supported

 

Show

Supported

 

TriggerEvent

Supported

 

TypeOf

Supported

 

Line control

Properties for Line control

Table 41. 

Property

Support Level

Example Code

BeginX

Supported

ln_1.BeginX = li_value

BeginY

Supported

ln_1.BeginY = li_value

EndX

Supported

ln_1.EndX = li_value

EndY

Supported

ln_1.EndY = li_value

LineColor

Supported

ln_1.LineColor = ll_value

ln_1.LineColor = RGB(192,192,192)

LineStyle

Supported

ln_1.LineStyle = Continuous!

ln_1.LineStyle = Dash!

ln_1.LineStyle = DashDot!

ln_1.LineStyle = DashDotDot!

ln_1.LineStyle = Dot!

ln_1.LineStyle = Transparent!

LineThickness

Supported

ln_1.LineThickness = li_value

Tag

Supported

ln_1.Tag = ls_value

Visible

Supported

ln_1.Visible = TRUE ln_1.Visible = lb_value

ClassDefinition

Unsupported

 

Events for Line control

Table 42. 

Event

Support Level

Example Code

Constructor

Supported

Constructor()

Destructor

Supported

Destructor()


Functions for Line control

Table 43. 

Function

Support Level

Example Code

ClassName

Supported

ls_returnvalue = ln_1.ClassName()

GetParent

Supported

li_returnvalue = ln_1.GetParent( )

Hide

Supported

li_returnvalue = ln_1.Hide( )

Move

Supported

li_returnvalue = ln_1.Move(li_xpos, li_ypos)

Resize

Supported

li_returnvalue = ln_1.Resize(100, 150)

Show

Supported

li_returnvalue = ln_1.Show()

TypeOf

Supported

if ln_1.typeof() = Line! Then

ls_returnvalue = 'Line!'

else

ls_returnvalue = 'Invalid'

end if

GetContextService

Unsupported

 

ListBox control

Properties for ListBox control

Table 44. 

Property

Support Level

Example Code

Accelerator

Supported

lb_1.Accelerator=67

BackColor

Supported

lb_1.BackColor = ll_value

lb_1.BackColor = RGB(192,192,192)

Border

Supported

lb_1.Border = lb_value

BringToTop

Supported

lb_1.BringToTop = TRUE

BorderStyle

Supported

lb_1.BorderStyle = StyleLowered!

lb_1.BorderStyle = StyleRaised!

lb_1.BorderStyle = StyleBox!

Note: StyleShadowBox! is unsupported.

DisableNoScroll

Supported

lb_1.DisableNoScroll = FALSE

lb_1.DisableNoScroll = lb_value

DragAuto

Supported

lb_1.DragAuto = TRUE

DragIcon

Supported

lb_1.DragIcon = 'c:\examples\arrow.ico'

lb_1.DragIcon = 'Question!'

Enabled

Supported

lb_1.Enabled = lb_value

ExtendedSelect

Supported

lb_1.ExtendedSelect = lb_value

FaceName

Supported

lb_1.FaceName = ls_value

FontCharSet

Supported

lb_1.FontCharSet = ANSI!

FontFamily

Supported

lb_1.FontFamily = Roman!

FontPitch

Supported

lb_1.FontPitch = Fixed!

Height

Supported

lb_1.Height = li_value

HScrollBar

Supported

lb_1.HScrollBar = TRUE

lb_1.HscrollBar = lb_value

Italic

Supported

lb_1.Italic = lb_value

Item[ ]

Supported

ls_value = lb_1.Item[1]

MultiSelect

Supported

lb_1.MultiSelect = lb_value

Pointer

Supported

lb_1.Pointer = 'SizeNS!'

lb_1.Pointer='d:\archive\IBEAM.BMP.cur'

RightToLeft

Supported

lb_1.RightToLeft = TRUE

Sorted

Supported

lb_1.Sorted = TRUE

TabOrder

Supported

lb_1.TabOrder = 60

Tag

Supported

lb_1.Tag = ls_value

TextColor

Supported

lb_1.TextColor = ll_value

lb_1.TextColor = RGB(192,192,192)

TextSize

Supported

lb_1.TextSize = li_value

Underline

Supported

lb_1.Underline = lb_value

Visible

Supported

lb_1.Visible = lb_value

VScrollBar

Supported

lb_1.VscrollBar = lb_value

Weight

Supported

lb_1.Weight = li_value

Width

Supported

lb_1.Width = li_value

X

Supported

lb_1.X = li_value

Y

Supported

lb_1.Y = li_value

ClassDefinition

Unsupported

 

TabStop[ ]

Unsupported

 

Events for ListBox control

Table 45. 

Event

Support Level

Example Code

Constructor

Supported

Constructor()

Destructor

Supported

Destructor()

DoubleClicked

Supported

DoubleClicked()

DragDrop

Supported

DragDrop(source)

DragEnter

Supported

DragEnter(source)

DragLeave

Supported

DragLeave(source)

DragWithin

Supported

DragWithin(source)

GetFocus

Supported

GetFocus()

LoseFocus

Supported

LoseFocus()

RButtonDown

Supported

RButtonDown(flags, xpos, ypos)

SelectionChanged

Supported

SelectionChanged(index)

Help

Unsupported

 

Other

Unsupported

 

Functions for ListBox control

Table 46. 

Function

Support Level

Example Code

AddItem

Supported

li_returnvalue = lb_1.AddItem(item)

ClassName

Supported

ls_ returnvalue = lb_1.ClassName()

DeleteItem

Supported

li_returnvalue = lb_1.DeleteItem(index)

DirList

Supported

lb_1.DirList("C:\EMPLOYEE\*.TXT", 0)

DirSelect

Supported

lb_1.DirSelect(ls_filename)

Drag

Supported

lb_1.Drag(End!)

Find Item

Supported

li_returnvalue = lb_1.FindItem(text, index)

GetParent

Supported

PowerObject lpo_returnvalue

lpo_returnvalue = lb_1.GetParent()

Hide

Supported

li_returnvalue = lb_1.Hide()

InsertItem

Supported

li_returnvalue = lb_1.InsertItem(ls_x, li_y)

Move

Supported

li_returnvalue = string(lb_1.Move(li_x,li_y))

PointerX

Supported

li_returnvalue = lb_1.PointerX()

PointerY

Supported

li_returnvalue = lb_1.PointerY()

PostEvent

Supported

lb_returnvalue = string(lb_1.PostEvent(Clicked!))

Reset

Supported

li_returnvalue = lb_1.Reset()

Resize

Supported

li_returnvalue = lb_1.Resize(li_x,li_y)

SelectedIndex

Supported

li_returnvalue = lb_1.SelectedIndex()

SelectedItem

Supported

ls_returnvalue = lb_1.SelectedItem()

SelectItem

Supported

li_returnvalue = lb_1.SelectItem (item, index)

SetFocus

Supported

li_returnvalue = lb_1.SetFocus()

Unsupported: SetFocus(lb_test)

SetPosition

Supported

li_returnvalue = lb_1.SetPosition(position)

SetRedraw

Supported

li_value = lb_1.SetRedraw(TRUE)

SetState

Supported

li_returnvalue = lb_1.SetState(index, lb_y)

SetTop

Supported

li_returnvalue = lb_1.SetTop(index)

Show

Supported

li_returnvalue = lb_1.Show()

State

Supported

li_returnvalue = lb_1.State(index)

Text

Supported

ls_returnvalue = lb_1.Text (index)

Top

Supported

li_returnvalue = lb_1.Top()

TotalItems

Supported

li_returnvalue = lb_1.TotalItems()

TotalSelected

Supported

li_returnvalue = lb_1.TotalSelected()

TriggerEvent

Supported

li_returnvalue = lb_1.TriggerEvent(event)

TypeOf

Supported

if lb_1.typeof() = listbox! Then

ls_returnvalue ='listbox!'

else

ls_returnvalue ='isvalid' end if

GetContextService

Unsupported

 

Print

Unsupported

 

ListView control

Important Requirements

In the ListView control, selecting multiple items at one time is unsupported.

Properties for ListView control

Table 47. 

Property

Support Level

Example Code

Accelerator

Supported

lv_1.Accelerator=67

AutoArrange

Supported

lv_1.AutoArrange = TRUE

BackColor

Supported

lv_1.BackColor = ll_value

lv_1.BackColor = RGB(192,192,192)

Note: transparent value is unsupported.

Border

Supported

lv_1.Border = lb_value

BorderStyle

Supported

lv_1.BorderStyle = StyleBox!

lv_1.BorderStyle = StyleLowered!

lv_1.BorderStyle = StyleRaised!

Note: StyleShadowBox! is not supported.

BringToTop

Supported

lv_1.BringToTop = TRUE

ButtonHeader

Supported

lv_1.ButtonHeader = TRUE

CheckBoxes

Supported

lv_1.CheckBoxes = TRUE

DeleteItems

Supported

lv_1.DeleteItems = lb_value

DragAuto

Supported

lv_1.DragAuto = TRUE

DragIcon

Supported

lv_1.DragIcon = 'c:\archive\arrow.ico''

EditLabels

Supported

lv_1.EditLabels = lb_value

Enabled

Supported

lv_1.Enabled = lb_value

ExtendedSelect

Supported

lv_1.ExtendedSelect = TRUE

FaceName

Supported

lv_1.FaceName =ls_value

FixedLocations

Supported

lv_1.FixedLocations = FALSE

FontCharSet

Supported

lv_1.FontCharSet = ANSI!

FontFamily

Supported

lv_1.FontFamily = Roman!

FontPitch

Supported

lv_1.FontPitch = Fixed!

FullRowSelect

Supported

lv_1.FullRowSelect = TRUE

GridLines

Supported

lv_1.GridLines = TRUE

HeaderDragDrop

Supported

lv_1.HeaderDragDrop = TRUE

Height

Supported

lv_1.Height = li_value

HideSelection

Supported

lv_1.HideSelection = FALSE

Italic

Supported

lv_1.Italic = lb_value

Item[ ]

Supported

lv_1.item[intx] = ls_value

ItemPicture​Index[ ]

Supported

lv_1.ItemPictureIndex [li_x] = ls_value

LabelWrap

Supported

lv_1.LabelWrap = TRUE

LargePicture​Height

Supported

lv_1.LargePictureHeight = li_value

Note: This value cannot be set to 0 or negative.

LargePicture​MaskColor

Supported

lv_1.LargePictureMaskColor = RGB(255, 255, 0)

LargePicture​Name[ ]

Supported

lv_1.LargePictureName [li_x] = ls_value

LargePicture​Width

Supported

lv_1.LargePictureWidth = li_value

Note: This value cannot be set to 0 or negative.

OneClickActivate

Supported

lv_1.OneClickActivate = TRUE

Pointer

Supported

lv_1.Pointer = 'SizeNS!'

lv_1.Pointer = 'd:\archive\IBEAM.BMP.cur'

Scrolling

Supported

lv_1.Scrolling = TRUE

ShowHeader

Supported

lv_1.ShowHeader = TRUE

SmallPicture​Height

Supported

lv_1.SmallPictureHeight = li_value

Note: This value cannot be set to 0 or negative.

SmallPicture​MaskColor

Supported

lv_1.SmallPictureMaskColor = RGB(255, 255, 0)

SmallPictureName[ ]

Supported

lv_1.SmallPictureName [li_x] = ls_value

SmallPicture​Width

Supported

lv_1.SmallPictureWidth = li_value

Note: This value cannot be set to 0 or negative.

SortType

Supported

lv_1.SortType = Unsorted!

StatePicture​MaskColor

Supported

lv_1.StatePictureMaskColor = RGB(255, 255, 0)

StatePicture​Name[ ]

Supported

lv_1.StatePictureName [li_x] = ls_value

TabOrder

Supported

lv_1.TabOrder = 70

Tag

Supported

lv_1.Tag = ls_value

TextColor

Supported

lv_1.TextColor = ll_value

lv_1.TextColor = RGB(192,192,192)

TextSize

Supported

lv_1.TextSize = li_value

TrackSelect

Supported

lv_1.TrackSelect = TRUE

TwoClickActivate

Supported

lv_1.TwoClickActivate = TRUE

Underline

Supported

lv_1.Underline = lb_value

UnderlineCold

Supported

lv_1.UnderlineCold = TRUE

UnderlineHot

Supported

lv_1.UnderlineHot = TRUE

View

Supported

lv_1.View = ListViewLargeIcon!

Visible

Supported

lv_1.Visible = lb_value

Weight

Supported

lv_1.Weight = li_value

Width

Supported

lv_1.Width = li_value

X

Supported

lv_1.X = li_value

Y

Supported

lv_1.Y =li_value

ClassDefinition

Unsupported

 

LayoutRTL

Unsupported

 

StatePictureHeight

Unsupported

 

StatePictureWidth

Unsupported

 

Transparency

Unsupported

 

Events for ListView control

Table 48. 

Event

Support Level

Example Code

BeginDrag

Supported

BeginDrag(index)

BeginLabelEdit

Supported

BeginLabelEdit(index)

BeginRightDrag

Supported

BeginRightDrag(index)

Clicked

Supported

Clicked(index)

ColumnClick

Supported

ColumnClick(column)

Constructor

Supported

Constructor()

DeleteAllItems

Supported

DeleteAllItems()

DeleteItem

Supported

DeleteItem(index)

Destructor

Supported

Destructor()

DoubleClicked

Supported

DoubleClicked(index)

DragDrop

Supported

DragDrop(source,index)

DragEnter

Supported

DragEnter(source)

DragLeave

Supported

DragLeave(source)

DragWithin

Supported

DragWithin(source,index)

EndLabelEdit

Supported

EndLabelEdit(index,newlabel)

GetFocus

Supported

GetFocus()

InsertItem

Supported

InsertIem(index)

ItemActivate

Supported

ItemActivate(index, focuschanged, hasfocus, selectionchange, selected, otherchange)

ItemChanged

Supported

ItemChanged(index, focuschanged, hasfocus, selectionchange, selected, otherchange)

ItemChanging

Supported

ItemChanging(index, focuschange, hasfocus, selectionchange, selected, otherchange)

Key

Supported

Key(key,keyflags)

LoseFocus

Supported

LoseFocus()

RightClicked

Supported

RightClicked(index)

RightDouble​Clicked

Supported

RightDoubleClicked(index)

Help

Unsupported

 

Other

Unsupported

 

Sort

Unsupported

 

Functions for ListView control

Table 49. 

Function

Support Level

Example Code

AddColumn

Supported

li_value = lv_1.AddColumn(ls_x,Center!,li_y)

AddItem

Supported

li_value = lv_1.AddItem(ls_x,li_y)

AddLargePicture

Supported

li_value = lv_1.AddLargePicture(ls_prop)

AddSmallPicture

Supported

li_value = lv_1.AddSmallPicture(ls_prop)

AddStatePicture

Supported

li_value = lv_1.AddstatePicture(ls_prop)

Arrange

Supported

li_value = lv_1.Arrange()

ClassName

Supported

ls_value = lv_1.ClassName( )

DeleteColumn

Supported

li_value = lv_1.DeleteColumn(1)

DeleteColumns

Supported

li_value = lv_1.DeleteColumns( )

DeleteItem

Supported

li_value = lv_1.DeleteItem(li_x)

DeleteItems

Supported

li_value = lv_1.DeleteItems( )

DeleteLarge​Picture

Supported

li_value = lv_1.DeleteLargePicture(li_x)

DeleteLarge​Pictures

Supported

li_value = lv_1.DeleteLargePictures( )

DeleteSmallPicture

Supported

li_value = lv_1.DeleteSmallPicture(li_x)

DeleteSmall​Pictures

Supported

li_value = lv_1.DeleteSmallPictures( )

DeleteState​Picture

Supported

li_value = lv_1.DeleteStatePicture(li_x)

DeleteState​Pictures

Supported

li_value = lv_1.DeleteStatePictures( )

Drag

Supported

lv_1.Drag(Begin!)

EditLabel

Supported

li_value= lv_1.EditLabel()

FindItem

Supported

li_Value = lv_1.FindItem (startindex, label, partial, wrap)

li_value = lv_1.FindItem (startindex, direction, focused, selected, cuthighlighted, drophighlighted)

GetColumn

Supported

li_strValue = lv_1.GetColumn(index, label, alignment, width)

GetItem

Supported

li_value = lv_1.GetItem(li_x,lv1)

GetParent

Supported

PowerObject lpo_returnvalue

lpo_returnvalue = lv_1.GetParent()

Hide

Supported

li_value = lv_1.Hide( )

InsertColumn

Supported

li_value = lv_1.InsertColumn(li_x,ls_x,Center!,li_y)

InsertItem

Supported

li_value = lv_1.InsertItem(2, "Insert String")

Move

Supported

li_value = lv_1.Move(li_x,li_y)

PointerX

Supported

li_value = lv_1.PointerX()

PointerY

Supported

li_value = lv_1.PointerY()

PostEvent

Supported

lv_1.PostEvent(Clicked!)

Resize

Supported

li_value = lv_1.Resize(li_x,li_y)

SelectedIndex

Supported

li_value = lv_1.SelectedIndex( )

SetColumn

Supported

li_value = lv_1.SetColumn(li_x,ls_x,Center!,li_y)

SetFocus

Supported

li_value = lv_1.SetFocus( )

Unsupported: SetFocus(lv_test)

SetItem

Supported

li_value = lv_1.SetItem(li_x[],li_y[],lv1)

SetPosition

Supported

li_value = lv_1.SetPosition(Behind!, lv_three)

SetRedraw

Supported

li_value = lv_1.SetRedraw(TRUE)

Show

Supported

li_value = lv_1.Show( )

Sort

Supported

li_value = lv_1.Sort(Ascending!)

li_value = lv_1.Sort(Descending!)

li_value = lv_1.Sort(Unsorted!)

Note: userdefinesort! is not supported.

TotalColumns

Supported

li_cols = lv_1.TotalColumns( )

TotalItems

Supported

li_value = lv_1.TotalItems( )

TriggerEvent

Supported

li_value = lv_1.TriggerEvent("Clicked")

TypeOf

Supported

if lv_1.TypeOf( ) = ListView! Then

ls_value = "ListView!"

else

ls_value = "invalid"

end if

SetOverlayPicture

Supported

lv_1.SetOverlayPicture(1, index)

TotalSelected

Supported

 

GetContextService

Unsupported

 

GetOrigin

Unsupported

 

Print

Unsupported

 

MonthCalendar control

Properties for MonthCalendar control

Table 50. 

Property

Support Level

Example Code

Accelerator

Supported

mc_1.Accelerator=67

AccessibleDescription

Supported

 

AccessibleName

Supported

 

AccessibleRole

Supported

 

AutoSize

Supported

mc_1.AutoSize = false

BackColor

Supported

mc_1.BackColor = RGB(0, 0, 255)

mc_1.BackColor = ll_value

Border

Supported

mc_1.Border = TRUE

mc_1.Border = lb_value

BorderStyle

Supported

mc_1.BorderStyle = StyleBox!

mc_1.BorderStyle = StyleLowered!

mc_1.BorderStyle = StyleRaised!

Note: StyleShadowBox! is unsupported.

BringToTop

Supported

mc_1.BringToTop = TRUE

DragAuto

Supported

mc_1.DragAuto = TRUE

Note: On the Web, dragging a DatePicker control will not trigger the DropDown event if the DragAuto property is set to True, which means there is no Month Calender displayed on the Web when you Drag the DatePicker with setting the DragAuto property to True.

DragIcon

Supported

mc_1.DragIcon = 'arrow.ico'

Enabled

Supported

mc_1.Enabled=TRUE

mc_1.Enabled = lb_value

FaceName

Supported

mc_1.FaceName = ""

mc_1.FaceName = ls_value

FirstDayOfWeek

Supported

mc_1.FirstDayOfWeek = Monday!

FontCharSet

Supported

mc_1.FontCharSet = ANSI!

FontFamily

Supported

mc_1.FontFamily = Roman!

FontPitch

Supported

mc_1.FontPitch = Fixed!

Height

Supported

mc_1.Height = 750

mc_1.Height = li_value

Italic

Supported

mc_1.Italic=TRUE

mc_1.Italic = lb_value

MaxSelectCount

Supported

mc_1.MaxSelectCount = 7

MonthBackColor

Supported

mc_1.MonthBackColor = RGB(255, 255, 0

Pointer

Supported

mc_1.Pointer = 'Size!'

ScrollRate

Supported

mc_1.ScrollRate = 3

TabOrder

Supported

mc_1.TabOrder = 30

Tag

Supported

mc_1.Tag = ls_value

TextColor

Supported

mc_1.TextColor = ll_value

TextSize

Supported

mc_1.TextSize = li_value

TitleBackColor

Supported

mc_1.TitleBackColor = RGB(128, 255, 128)

TitleTextColor

Supported

mc_1.TitleTextColor = RGB(0,0,255)

TodayCircle

Supported

mc_1.TodaySection = false

TodaySection

Supported

mc_1.TodaySection = false

TrailingTextColor

Supported

mc_1.TrailingTextColor = 134217731

Underline

Supported

mc_1.Underline = lb_value

Visible

Supported

mc_1.Visible = True

WeekNumbers

Supported

mc_1.WeekNumbers = true

Weight

Supported

mc_1.Weight = 700 mc_1.Weight = li_value

Width

Supported

mc_1.Width = li_value

Note:

  1. If the Width value is set to -32768, obtaining the width property returns -32768 on the Web, however it returns 0 in PowerBuilder.

  2. If the Width value is set to 32768, obtaining the width property returns 0 on the Web, however it returns -32768 in PowerBuilder.

X

Supported

mc_1.X = li_value

Note:

  1. If the X value is set to -32768, obtaining the X property returns -32768 on the Web, however it returns 0 in PowerBuilder.

  2. If the Width value is set to 32768, obtaining the width property returns 0 on the Web, however it returns -32768 in PowerBuilder.

Y

Supported

mc_1.Y = li_value

Note:

  1. If the Y value is set to -32768, obtaining the Y property returns -32768 on the Web, however it returns 0 in PowerBuilder.

  2. If the Width value is set to 32768, obtaining the width property returns 0 on the Web, however it returns -32768 in PowerBuilder.

ClassDefinition

Unsupported

 

RightToLeft

Unsupported

 

Events for MonthCalendar control

Table 51. 

Event

Support Level

Example Code

Clicked

Supported

Clicked()

Constructor

Supported

Constructor()

DateChanged

Supported

DateChanged()

Note: SetSelectedDate and SetSelectedRange trigger a DateChanged event twice on the Web.

Destructor

Supported

Destructor()

DoubleClicked

Supported

Doubleclicked(flags,xpos,ypos)

DragDrop

Supported

DragDrop(source)

DragEnter

Supported

DragEnter(source)

DragLeave

Supported

DragLeave(source)

DragWithin

Supported

DragWithin(source)

RButtonDown

Supported

RButtonDown(flags, xpos, ypos)

GetFocus

Unsupported

 

LoseFocus

Unsupported

 

Help

Unsupported

 

UserString

Unsupported

 

Other

Unsupported

 

Functions for MonthCalendar Control

Table 52. 

Function

Support Level

Example Code

ClassName

Supported

ls_value = mc_1.ClassName()

ClearBoldDates

Supported

li_return = mc_1.ClearBoldDates()

Drag

Supported

mc_1.Drag(Begin!)

Note: If you use Drag(Begin!), single mouse clicking will trigger DragEnter and DragDrop event in sequence on the Web. This is different from the event sequences in PowerBuilder.

GetDateLimits

Supported

li_return = mc_1.GetDateLimits (mindate, maxdate)

GetDisplayRange

Supported

li_return = mc_1.GetDisplayRange (startdate, enddate,PartlyDisplayed!)

GetParent

Supported

PowerObject lpo_returnvalue

lpo_returnvalue = mc_1.GetParent()

GetSelectedDate

Supported

li_return = mc_1.GetSelectedDate(seldate)

Notes:

  1. The function returns 0 on the Web if there are several dates selected or the specified date is an invalid value.

  2. The function will trigger a DateChanged event twice on the Web.

GetSelectedRange

Supported

li_return = mc_1.GetSelectedRange(startdate, enddate)

Note: The function will trigger a DateChanged event twice on the Web.

GetToday

Supported

currentdate = mc_1.GetToday()

Hide

Supported

li_return = mc_1.Hide()

Move

Supported

li_return = mc_1.Move(li_x,li_y)

PointerX

Supported

li_value = mc_1.PointerX()

PointerY

Supported

li_value = mc_1.PointerY()

PostEvent

Supported

mc_1.PostEvent(Constructor!)

Resize

Supported

li_return = mc_1.Resize(li_width,li_height)

SetBoldDate

Supported

li_return = mc_1.SetBoldDate(d, true)

SetDateLimits

Supported

li_return = mc_1.SetDateLimits(mindate, maxdate)

SetFocus

Supported

li_return = mc_1.SetFocus()

SetPosition

Supported

li_return = mc_1.SetPosition(position)

SetRedraw

Supported

li_return= mc_1.SetRedraw(FALSE)

SetSelectedDate

Supported

li_return = mc_1.SetSelectedDate(seldate)

Notes: If input an invalid date, the function returns 0 on the Web but -1 in PowerBuilder.

SetSelectedRange

Supported

li_return = mc_1.SetSelectedRange(startdate, enddate)

SetToday

Supported

li_return = mc_1.SetToday(currentdate)

Show

Supported

li_return = mc_1.Show()

TriggerEvent

Supported

mc_1.TriggerEvent(Constructor!)

TypeOf

Supported

if mc_1.TypeOf() = MonthCalendar! Then

ls_return = 'MonthCalendar!'

else

ls_return = 'isvalid'

end if

GetContextService

Unsupported

 

Print

Unsupported

 

MultiLineEdit control

Properties for MultiLineEdit control

Table 53. 

Property

Support Level

Example Code

Accelerator

Supported

mle_1.Accelerator = 67

Alignment

Supported

mle_1.Alignment = Center!

AutoHScroll

Supported

mle_1.AutoHScroll = TRUE

AutoVScroll

Supported

mle_1.AutoVscroll = TRUE

BackColor

Supported

mle_1.BackColor = ll_value

mle_1.BackColor = RGB(192,192,192)

Note: transparent value is unsupported.

Border

Supported

mle_1.Border = lb_value

BorderStyle

Supported

mle_1.BorderStyle = StyleBox!

mle_1.BorderStyle = StyleLowered!

mle_1.BorderStyle = StyleRaised!

Note: StyleShadowBox! is unsupported.

BringToTop

Supported

mle_1.BringToTop = TRUE

DisplayOnly

Supported

mle_1.DisplayOnly =lb_value

DragAuto

Supported

mle_1.DragAuto = TRUE

DragIcon

Supported

mle_1.DragIcon = 'c:\archive\arrow.ico''

Enabled

Supported

mle_1.Enabled = lb_valueM

Note:

when the user moves the pointer over a MultiLineEdit control that has set the Enabled property to false, the pointer on the Web will be different from that in the PowerBuilder application.

FaceName

Supported

mle_1.FaceName = ls_value

FontCharSet

Supported

mle_1.FontCharSet = ANSI!

FontFamily

Supported

mle_1.FontFamily = Roman!

FontPitch

Supported

mle_1.FontPitch = Fixed!

Height

Supported

mle_1.Height = li_value

HideSelection

Supported

mle_1.HideSelection = FALSE

HScrollBar

Supported

mle_1.HScrollBar = TRUE

IgnoreDefault​Button

Supported

mle_1.IgnoreDefaultButton = TRUE

Italic

Supported

mle_1.Italic = lb_value

Limit

Supported

mle_1.Limit = li_value

Pointer

Supported

mle_1.pointer= 'beam!'

mle_1.pointer ='d:\archive\IBEAM.BMP.cur'

RightToLeft

Supported

mle_1.RightToLeft = TRUE

TabOrder

Supported

mle_1.TabOrder = 80

Tag

Supported

mle_1.Tag = ls_value

Text

Supported

mle_1.Text = ls_value

It is unsupported to set the value of this property to null.

TextCase

Supported

mle_1.TextCase = AnyCase!

mle_1.TextCase = Lower! mle_1.TextCase = Upper!

TextColor

Supported

mle_1.TextColor = ll_value

TextSize

Supported

mle_1.TextSize = li_value

Underline

Supported

mle_1.Underline = lb_value

Visible

Supported

mle_1.Visible = lb_value

VScrollBar

Supported

mle_1.VScrollBar = TRUE

Weight

Supported

mle_1.Weight = li_value

Width

Supported

mle_1.Width = li_value

X

Supported

mle_1.X = li_value

Y

Supported

mle_1.Y = li_value

ClassDefinition

Unsupported

 

TabStop[ ]

Unsupported

 

Transparency

Unsupported

 

Events for MultiLineEdit control

Table 54. 

Event

Support Level

Example Code

Constructor

Supported

Constructor()

Destructor

Supported

Destructor()

DragDrop

Supported

DragDrop(source)

DragEnter

Supported

DragEnter(source)

DragLeave

Supported

DragLeave(source)

DragWithin

Supported

DragWithin(source)

GetFocus

Supported

GetFocus()

LoseFocus

Supported

LoseFocus()

Modified

Supported

Modified() A Modified event is followed by a LoseFocus event.

RButtonDown

Supported

RButtonDown(flags, xpos, ypos)

Help

Unsupported

 

Other

Unsupported

 

Functions for MultiLineEdit control

Table 55. 

Function

Support Level

Example Code

ClassName

Supported

ls_value = mle_1.ClassName()

Clear

Supported

ls_value = mle_1.Clear()

Note: the function executes successfully only when the control has focus.

Copy

Supported

ls_value = mle_1.Copy()

Cut

Supported

ls_value = mle_1.Cut()

Drag

Supported

mle_1.Drag(Begin!)

GetParent

Supported

PowerObject lpo_returnvalue

lpo_returnvalue = mle_1.GetParent()

Hide

Supported

ls_value = mle_1.Hide()

LineCount

Supported

li_value = mle_1.LineCount()

LineLength

Supported

li_value = mle_1.LineLength()

Move

Supported

ls_value = mle_1.Move(li_x,li_y)

Paste

Supported

ls_value = mle_1.Paste()

PointerX

Supported

ls_value = mle_1.PointerX()

PointerY

Supported

ls_value = mle_1.PointerY()

Position

Supported

mle_1.Position()

PostEvent

Supported

ls_value = mle_1.PostEvent(Constructor!)

ReplaceText

Supported

ls_strexevalue = mle_1.ReplaceText(ls_x)

Resize

Supported

ls_value = mle_1.Resize(li_x,li_y)

Scroll

Supported

mle_1.Scroll(4)

SelectedLength

Supported

ls_value = mle_1.SelectedLength()

SelectedLine

Supported

integer li_SL

li_SL = mle_1.SelectedLine()

SelectedStart

Supported

ls_value = mle_1.SelectedStart()

SelectedText

Supported

ls_value = mle_1.SelectedText()

SelectText

Supported

li_value = mle_1.SelectText(li_x,li_y)

SetFocus

Supported

ls_value = mle_1.SetFocus()

Unsupported: SetFocus(mle_1)

SetPosition

Supported

mle_1.SetPosition(Behind!, mle_2)

ls_value = mle_1.SetPosition(ToTop!)

ls_value = mle_1.SetPosition(ToBottom!)

SetRedraw

Supported

li_return= mle_1.SetRedraw(FALSE)

Show

Supported

ls_value = mle_1.Show()

TextLine

Supported

ls_value = mle_1.TextLine()

TriggerEvent

Supported

ls_value = mle_1.TriggerEvent(Constructor!)

TypeOf

Supported

if mle_1.typeof() = MultiLineEdit! Then

ls_value = 'MultiLineEdit!'

else

ls_value = 'Invalid' end if

Undo

Supported

li_value = mle_1.Undo()

CanUndo

Unsupported

 

GetContextService

Unsupported

 

Print

Unsupported

 

OLEControl control

Important Requirements

The shortcut key for Ocx is unsupported.

Using parentheses when calling an OLEObject method is required.

Properties for OLEControl control

Table 56. 

Property

Support Level

Example Code

Activation

Supported

ole_1.Activation = ActivateOnDoubleClick!

Note: activateOnGetfocus! is unsupported.

BackColor

Supported

ole_1.BackColor = ll_value

ole_1.BackColor = RGB(192,192,192)

BinaryIndex

Supported

 

BinaryKey

Supported

 

Border

Supported

ole_1.Border = TRUE

ole_1.Border = lb_value

BorderStyle

Supported

ole_1.BorderStyle = StyleBox!

ole_1.BorderStyle = StyleLowered!

Note: StyleShadowBox! is unsupported.

BringToTop

Supported

ole_1.BringToTop = TRUE

DisplayName

Supported

ole_1.DisplayName = "My project"

DisplayType

Supported

ole_1.DisplayType = DisplayAsIcon!

Note: displayasactivexdocument! is unsupported

DocFileName

Supported

ls_ret = ole_1.docfilename

DragAuto

Supported

ole_1.DragAuto = TRUE

DragIcon

Supported

ole_1.DragIcon = 'Question!'

Enabled

Supported

ole_1.Enabled=TRUE

ole_1.Enabled = lb_value

FocusRectangle

Supported

ole_1.FocusRectangle = TRUE

ole_1.FocusRectangle = lb_value

Height

Supported

ole_1.Height = 750

ole_1.Height = li_value

LinkItem

Supported

ls_ret = iole.LinkItem

Object

Supported

OLEObject obj = ole_1.object.activesheet.cells

Int x = ole_1.object.month

ObjectData

Supported

blob lblob_data = ole_1.objectdata

Pointer

Supported

ole_1.Pointer = 'SizeWE!'

ole_1.Pointer='d:\archive\IBEAM.BMP.cur'

SizeMode

Supported

ole_1.SizeMode = Clip!

TabOrder

Supported

ole_1.TabOrder = 40

ole_1.TabOrder = li_order

Tag

Supported

ole_1.Tag = ls_value

Visible

Supported

ole_1.Visible = lb_value

Width

Supported

ole_1.Width = li_value

X

Supported

ole_1.X = li_value

Y

Supported

ole_1.Y = li_value

ClassDefinition

Unsupported

 

ClassLongName

Unsupported

 

ClassShortName

Unsupported

 

ContentsAllowed

Unsupported

 

IsDragTarget

Unsupported

 

LinkUpdate​Options

Unsupported

 

ParentStorage

Unsupported

 

Events for OLEControl control

Table 57. 

Event

Support Level

Example Code

Clicked

Supported

Clicked()

Constructor

Supported

Constructor()

DataChange

Supported

DataChange()

Destructor

Supported

Destructor()

DoubleClicked

Supported

DoubleClicked()

GetFocus

Supported

GetFocus()

LoseFocus

Supported

LoseFocus()

PropertyChanged

Supported

PropertyChanged(propertyname)

PropertyRequest​Edit

Supported

PropertyRequestEdit(propertyname,cancelchange)

RButtonDown

Supported

RButtonDown(flags, xpos, ypos)

SaveObject

Supported

 

Close

Unsupported

 

DragDrop

Unsupported

 

DragEnter

Unsupported

 

DragLeave

Unsupported

 

DragWithin

Unsupported

 

Error

Unsupported

 

ExternalException

Unsupported

 

Help

Unsupported

 

Other

Unsupported

 

Rename

Unsupported

 

Save

Unsupported

 

ViewChange

Unsupported

 

Functions for OLEControl control

Table 58. 

Function

Support Level

Example Code

Activate

Supported

integer li_return

li_return = ole_1.Activate(OffSite!)

Note: the argument InPlace! is unsupported

ClassName

Supported

ls_return = ole_1.ClassName()

Clear

Supported

li_return = ole_1.Clear()

DoVerb

Supported

li_return = ole_1.DoVerb(7)

GetData

Supported

li_return = ole_1.GetData(ClipFormatText!, ls_oledata)

GetNativePointer

Supported

UnsignedLong lul_oleptr

li_return = ole_1.GetNativePointer(lul_oleptr)

GetParent

Supported

PowerObject lpo_parent

lpo_parent = ole_1.GetParent()

Hide

Supported

ole_1.Hide()

InsertClass

Supported

li_return = ole_1.InsertClass("excel.sheet")

InsertFile

Supported

li_return = ole_1.InsertFile("c:\xls\expense.xls")

InsertObject

Supported

li_return = ole_1.InsertObject()

Items listed in the Web Insert Object dialog box contain and only contain all the registered OLE applications in the client. Items listed in PowerBuilder Insert object dialog box are defined in PowerBuilder.

LinkTo

Supported

li_return = ole_1.LinkTo("c:\xls\expense.xls", "R1C1:R5C5")

Move

Supported

li_return = ole_1.Move(P_Train1.X + P_Train1.Width, P_Train1.Y)

Open

Supported

li_return = ole_1.Open("c:\ole2\mystuff.ole")

PointerX

Supported

li_return = ole_1.PointX()

PointerY

Supported

li_return = ole_1.PointY()

PostEvent

Supported

ole_1.PostEvent("DataChange")

ReleaseNative​Pointer

Supported

li_return = ole_1.ReleaseNativePointer(lul_oleptr)

Resize

Supported

li_return = ole_1.Resize(500, 1000)

Save

Supported

li_return = ole_1.Save()

SaveAs

Supported

li_return = ole_1.SaveAs("c:\ole\expense.ole")

SetData

Supported

li_return = ole_1.SetData(ClipFormatText!, ls_oledata)

SetFocus

Supported

li_return = ole_1.SetFocus()

SetPosition

Supported

ole_1.SetPosition(ToTop!)

ole_1.SetPosition(Behind!, cb_exec)

SetRedraw

Supported

ole_1.SetRedraw(true)

Show

Supported

ole_1.Show()

TriggerEvent

Supported

li_return = ole_1.TriggerEvent("DataChange")

TypeOf

Supported

if ole_1.typeof()=olecontrol! then

ls_return="olecontrol!"

Copy

Unsupported

 

Cut

Unsupported

 

Drag

Unsupported

 

GetContextService

Unsupported

 

Paste

Unsupported

 

PasteLink

Unsupported

 

PasteSpecial

Unsupported

 

Print

Unsupported

 

SelectObject

Unsupported

 

UpdateLinks​Dialog

Unsupported

 

OLECustomControl control

Important Requirements

The shortcut key for Ocx is unsupported.

Using parentheses when calling an OLEObject method is required.

Properties for OLECustomControl control

Table 59. 

Property

Support Level

Example Code

BackColor

Supported

ole_1.BackColor = ll_value

ole_1.BackColor = RGB(192,192,192)

BinaryIndex

Supported

 

BinaryKey

Supported

 

Border

Supported

ole_1.Border = TRUE

ole_1.Border = lb_value

BorderStyle

Supported

ole_1.BorderStyle = StyleBox!

ole_1.BorderStyle = StyleLowered!

Note: StyleShadowBox! is unsupported.

BringToTop

Supported

ole_1.BringToTop = TRUE

DisplayName

Supported

ole_1.DisplayName = "My project"

DragAuto

Supported

ole_1.DragAuto = TRUE

DragIcon

Supported

ole_1.DragIcon = 'Question!'

Enabled

Supported

ole_1.Enabled =TRUE

ole_1.Enabled = lb_value

FocusRectangle

Supported

ole_1.FocusRectangle = TRUE

ole_1.FocusRectangle = lb_value

Object

Supported

OLEObject obj = ole_1.object.activesheet.cells

Int x = ole_1.object.month

Pointer

Supported

ole_1.Pointer = 'SizeNWSE!'

ole_1.Pointer='d:\archive\IBEAM.BMP.cur'

TabOrder

Supported

ole_1.TabOrder = 40

ole_1.TabOrder = li_order

Tag

Supported

ole_1.Tag = ls_value

Visible

Supported

ole_1.Visible = lb_value

Width

Supported

ole_1.Width = li_value

X

Supported

ole_1.X = li_value

Y

Supported

ole_1.Y = li_value

Alignment

Unsupported

 

Cancel

Unsupported

 

ClassDefinition

Unsupported

 

ClassLongName

Unsupported

 

ClassShortName

Unsupported

 

Default

Unsupported

 

FaceName

Unsupported

 

FontCharSet

Unsupported

 

FontFamily

Unsupported

 

FontPitch

Unsupported

 

IsDragTarget

Unsupported

 

Italic

Unsupported

 

TextColor

Unsupported

 

TextSize

Unsupported

 

Underline

Unsupported

 

Weight

Unsupported

 

Events for OLECustomControl control

Table 60. 

Event

Support Level

Example Code

Clicked

Supported

Clicked()

Constructor

Supported

Constructor()

DataChange

Supported

DataChange()

Destructor

Supported

Destructor()

DoubleClicked

Supported

DoubleClicked()

GetFocus

Supported

GetFocus()

LoseFocus

Supported

LoseFocus()

PropertyChanged

Supported

PropertyChanged(propertyname)

PropertyRequest​Edit

Supported

PropertyRequestEdit(propertyname,cancelchange)

RButtonDown

Supported

RButtonDown(flags, xpos, ypos)

DragDrop

Unsupported

 

DragEnter

Unsupported

 

DragLeave

Unsupported

 

DragWithin

Unsupported

 

Error

Unsupported

 

ExternalException

Unsupported

 

Help

Unsupported

 

Other

Unsupported

 

Functions for OLECustomControl control

Table 61. 

Function

Support Level

Example Code

ClassName

Supported

ls_return = ole_1.ClassName( )

GetData

Supported

li_return = ole_1.GetData(ClipFormatText!, ls_oledata)

GetNativePointer

Supported

UnsignedLong lul_oleptr

li_return = ole_1.GetNativePointer(lul_oleptr)

GetParent

Supported

PowerObject lpo_parent

lpo_parent = ole_1.GetParent()

Hide

Supported

li_return = ole_1.Hide()

Move

Supported

li_return = ole_1.Move(500 , 1000)

PointerX

Supported

li_return = ole_1.PointX()

PointerY

Supported

li_return = ole_1.PointY( )

PostEvent

Supported

ole_1.PostEvent("DoubleClicked")

ReleaseNative​Pointer

Supported

li_return = ole_1.ReleaseNativePointer(lul_oleptr)

Resize

Supported

li_return = ole_1.Resize(500, 1000)

SetData

Supported

li_return = ole_1.SetData(ClipFormatText!, ls_oledata)

SetFocus

Supported

li_return = ole_1.SetFocus( )

SetPosition

Supported

ole_1.SetPosition(ToTop!)

ole_1.SetPosition(Behind!, cb_exec)

SetRedraw

Supported

ole_1.SetRedraw(true)

Show

Supported

li_return = ole_1.Show( )

TriggerEvent

Supported

li_return = ole_1.TriggerEvent("DoubleClicked")

TypeOf

Supported

if ole_1.typeof( )=olecustomcontrol! then

ls_return="olecustomcontrol!"

end if

Drag

Unsupported

 

GetContextService

Unsupported

 

Print

Unsupported

 

Oval control

Properties for Oval control

Table 62. 

Property

Support Level

Example Code

FillColor

Supported

o_1.FillColor=RGB(255,255,0)

FillPattern

Supported

o_1.FillPattern = Diamond!

Height

Supported

o_1.Height = 750

LineColor

Supported

o_1.LineColor = RGB(255,0,0)

LineStyle

Supported

o_1.LineStyle = Dash!

LineThickness

Supported

 

Tag

Supported

o_1.SetMicroHelp(This.Tag)

Visible

Supported

o_1.Visible = TRUE

Width

Supported

o_1.Width = 750

X

Supported

o_1.X = 215

Y

Supported

o_1.Y = 215

ClassDefinition

Unsupported

 

Events for Oval control

Table 63. 

Event

Support Level

Example Code

Constructor

Supported

Constructor()

Destructor

Supported

Destructor()


Functions for Oval control

Table 64. 

Function

Support Level

Example Code

ClassName

Supported

ls_value = o_1.ClassName()

GetParent

Supported

lo_value = o_1.GetParent()

Hide

Supported

o_1.Hide()

Move

Supported

o_1.Move(150, 200)

PostEvent

Supported

o_1.PostEvent(Clicked!)

Note: The PostEvent function returns 1 if it is successful.

Resize

Supported

o_1.Resize(100, 150)

Show

Supported

o_1.Show()

TriggerEvent

Supported

o_1.TriggerEvent(Clicked!)

Note: in an Web application the TriggerEvent function returns 1 if it is successful.

TypeOf

Supported

if o_1.typeof()=Oval! then

ls_return="Oval!"

end if

GetContextService

Unsupported

 

Picture control

Important Requirements

Picture controls can contain images in the following formats:

  • Bitmaps, with .BMP extensions

  • GIF or animated GIF files, with the .GIF extension

  • JPEG files, with .JPEG or .JPG extensions

  • Ico files with .ICO extensions

  • Cursor files with .CUR extensions

  • PNG files with .PNG extensions

Pictures in an application

  • The name of a picture file cannot be a string that ends with '!'.

  • The picture directory can be an absolute path or relative path.

    For example:

    this.picturename = "c:\app\about.bmp"

    or this.picturename = " image\about.bmp"

  • Different from PB, Appeon supports using an Internet URL as the value for PictureName, for example,

    this.picturename = "http://192.168.168.52/Appeon/AEM/images/AEM_TOP.jpg"

  • If a picture fails to display in the Web application, copy the picture directly to the Web Root Path /images directory. Web Root Path stands for the folder in the Web server that is configured in PowerServer Toolkit Config for storing the Web application files.

Properties for Picture control

Table 65. 

Property

Support Level

Example Code

Border

Supported

p_1.Border = lb_value

BringToTop

Supported

p_1.BringToTop = TRUE

BorderStyle

Supported

p_1.BorderStyle = StyleBox!

p_1.BorderStyle = StyleLowered!

p_1.BorderStyle = StyleRaised!

Note: StyleShadowBox! is unsupported.

DragAuto

Supported

p_1.DragAuto = TRUE

DragIcon

Supported

p_1.DragIcon = 'c:\examples\arrow.ico'

Enabled

Supported

p_1.Enabled = lb_value

FocusRectangle

Supported

p_1.FocusRectangle = TRUE

Height

Supported

p_1.Height = li_value

Invert

Supported

p_1.Invert = FALSE

OriginalSize

Supported

p_1.OriginalSize = lb_value

PictureName

Supported

p_1.PictureName = ls_value

Note: It is unsupported to dynamically change this property if the initial value is a GIF file.

Different from PB, Appeon supports using an Internet URL as the value for PictureName, for example,

p_1.Picturename = "http://192.168.168.52/Appeon/AEM/images/AEM_TOP.jpg"

Pointer

Supported

p_1.pointer= ‘size!’

p_1.pointer= '''d:\archive\IBEAM.BMP.cur'

PowerTipText

Supported

p_1.PowerTipText = "Cancel the operation"

TabOrder

Supported

p_1.TabOrder = 100

Tag

Supported

p_1.Tag = ls_value

Visible

Supported

p_1.Visible = lb_value

Width

Supported

p_1.Width = li_value

X

Supported

p_1.X = li_value

Y

Supported

p_1.Y = li_value

ClassDefinition

Unsupported

 

Map3DColors

Unsupported

 

Events for Picture control

Table 66. 

Event

Support Level

Example Code

Clicked

Supported

Clicked()

Constructor

Supported

Constructor()

Destructor

Supported

Destructor()

DoubleClicked

Supported

DoubleClicked()

DragDrop

Supported

DragDrop(source)

DragEnter

Supported

DragEnter(source)

DragLeave

Supported

DragLeave(source)

DragWithin

Supported

DragWithin(source)

GetFocus

Supported

GetFocus()

LoseFocus

Supported

LoseFocus()

RButtonDown

Supported

RButtonDown(flags, xpos, ypos)

Help

Unsupported

 

Other

Unsupported

 

Functions for Picture control

Table 67. 

Function

Support Level

Example Code

ClassName

Supported

ls_value = p_1.ClassName( )

Drag

Supported

p_1.Drag(Begin!)

Draw

Supported

li_value = p_1.Draw(li_x,li_y)

Note: run the Draw function once the picture has been resized. After conversion, the size of the modified picture will be the same as the most recent state. In PowerBuilder, the size of the drawn picture will be the same as the original one.

GetParent

Supported

PowerObject lpo_value

lpo_value = p_1.GetParent( )

Hide

Supported

li_value = p_1.Hide( )

Move

Supported

li_value = p_1.Move(li_x,li_y)

PointerX

Supported

li_value = p_1.PointerX()

PointerY

Supported

li_value = p_1.PointerY()

PostEvent

Supported

lb_value = p_1.PostEvent(Clicked!)

Resize

Supported

li_value = p_1.Resize(li_x,li_y)

SetFocus

Supported

li_value = p_1.SetFocus( )

Unsupported: SetFocus(p_1)

SetPicture

Supported

p_1.SetPicture(Emp_pic)

SetPosition

Supported

li_value = p_1.SetPosition( )

SetRedraw

Supported

li_value = p_1.SetRedraw(FALSE)

Show

Supported

li_value = p_1.Show( )

TriggerEvent

Supported

li_value = p_1.TriggerEvent(Clicked!)

TypeOf

Supported

if p_1.TypeOf( ) = Picture! Then

ls_value = "Picture!"

else

ls_value = "invalid"

end if

GetContextService

Unsupported

 

Print

Unsupported

 

PictureButton control

Important Requirements

It is unsupported to use GIF files in PictureButton controls.

Properties for PictureButton control

Table 68. 

Property

Support Level

Example Code

BackColor

Supported

pb_1.BackColor = 8421376

Note: transparent value is unsupported.

BringToTop

Supported

pb_1.BringToTop = TRUE

Cancel

Supported

pb_1.Cancel = TRUE

Default

Supported

pb_1.Default = TRUE

DisabledName

Supported

pb_1.DisabledName = "d:\pbhelp\controls.bmp"

DragAuto

Supported

pb_1.DragAuto = TRUE

DragIcon

Supported

pb_1.DragIcon = 'c:\archive\arrow.ico'

Enabled

Supported

pb_1.Enabled = TRUE

FaceName

Supported

pb_1.FaceName = ls_value

FontCharSet

Supported

pb_1.FontCharSet = ANSI!

FontFamily

Supported

pb_1.FontFamily = Roman!

FontPitch

Supported

pb_1.FontPitch = Fixed!

Height

Supported

pb_1.Height = li_value

HTextAlign

Supported

pb_1.HtextAlign = "Left!"

//Specifies how the text in the control is aligned. Values are: Center! Justify! Left! Right!

Italic

Supported

pb_1.Italic = lb_value

OriginalSize

Supported

pb_1.OriginalSize = FALSE

//Specifies whether the width and height properties of a bitmap image (picture) are set to their original values.

PictureName

Supported

pb_1.PictureName = ls_value

Different from PB, Appeon supports using an Internet URL as the value for PictureName, for example,

pb_1.Picturename = "http://192.168.168.52/Appeon/AEM/images/AEM_TOP.jpg"

Pointer

Supported

pb_1.pointer = 'Arrow!'

pb_1.pointer ='d:\archive\IBEAM.BMP.cur'

PowerTipText

Supported

pb_1.PowerTipText = "This button opens a new form"

TabOrder

Supported

pb_1.TabOrder = 10

Tag

Supported

pb_1.Tag = ls_value

Text

Supported

pb_1.Text = ls_value

TextColor Supported pb_1.TextColor = li_value

TextSize

Supported

pb_1.TextSize = li_value

Underline

Supported

pb_1.Underline = lb_value

Visible

Supported

pb_1.Visible = lb_value

VTextAlign

Supported

pb_1.VTextAlign= Top!

//Specifies how the text in the control is aligned. Values are: Bottom!, MultiLine!, Top!, and VCenter! All these values, except for MultiLine!, assume that there is only one line of text.

Weight

Supported

pb_1.Weight = li_value

Width

Supported

pb_1.Width = li_value

X

Supported

pb_1.X = li_value

Y

Supported

pb_1.Y = li_value

ClassDefinition

Unsupported

 

FlatStyle

Unsupported

 

Map3DColors

Unsupported

 

Transparency

Unsupported

 

Events for PictureButton control

Table 69. 

Event

Support Level

Example Code

Clicked

Supported

Clicked()

Constructor

Supported

Constructor()

Destructor

Supported

Destructor()

DragDrop

Supported

DragDrop(source)

DragEnter

Supported

DragEnter(source)

DragLeave

Supported

DragLeave(source)

DragWithin

Supported

DragWithin(source)

GetFocus

Supported

GetFocus()

LoseFocus

Supported

LoseFocus()

RButtonDown

Supported

RButtonDown(flags, xpos, ypos)

Help

Unsupported

 

Other

Unsupported

 

Functions for PictureButton control

Table 70. 

Function

Support Level

Example Code

ClassName

Supported

ls_returnvalue = pb_1.ClassName()

Drag

Supported

pb_1.Drag (Cancel!)

GetParent

Supported

PowerObject lpo_returnvalue

lpo_returnvalue = pb_1.GetParent()

Hide

Supported

li_returnvalue = pb_1.Hide()

Move

Supported

li_returnvalue = pb_1.Move(li_xpos, li_ypos)

PointerX

Supported

lb_returnvalue = pb_1.PointerX()

PointerY

Supported

lb_returnvalue = pb_1.PointerY()

PostEvent

Supported

lb_returnvalue = pb_1.PostEvent(event)

Resize

Supported

li_returnvalue = pb_1.Resize(li_width, li_height)

SetFocus

Supported

li_returnvalue = pb_1.SetFocus()

Unsupported: SetFocus(pb_1)

SetPosition

Supported

li_returnvalue = pb_1.SetPosition(position)

SetRedraw

Supported

li_returnvalue = pb_1.SetRedraw (TRUE)

Show

Supported

li_returnvalue = pb_1.Show()

TriggerEvent

Supported

li_returnvalue = pb_1.TriggerEvent(event)

TypeOf

Supported

if pb_1.TypeOf() = PictureButton! Then

ls_returnvalue = 'PictureButton!'

end if

GetContextService

Unsupported

 

Print

Unsupported

 

PictureHyperLink control

Important Requirements

The PictureHyperLink controls can contain images in the following formats:

  • Bitmaps, with .BMP extensions

  • GIF or animated GIF files, with the .GIF extensions

  • JPEG files, with .JPEG or .JPG extensions

  • Ico files with .ICO extensions

  • Cursor files with .CUR extensions

Properties for PictureHyperLink control

Table 71. 

Property

Support Level

Example Code

Border

Supported

phl_1.Border = lb_value

BorderStyle

Supported

phl_1.BorderStyle = StyleBox!

phl_1.BorderStyle = StyleLowered!

phl_1.BorderStyle = StyleRaised!

Note: StyleShadowBox! is unsupported.

BringToTop

Supported

phl_1.BringToTop = TRUE

DragAuto

Supported

 

DragIcon

Supported

 

Enabled

Supported

phl_1.Enabled = lb_value

FocusRectangle

Supported

phl_1.FocusRectangle = TRUE

Height

Supported

phl_1.Height = li_value

OriginalSize

Supported

phl_1.OriginalSize = lb_value

PictureName

Supported

phl_1.PictureName = ls_value

Different from PB, Appeon supports using an Internet URL as the value for PictureName, for example,

phl_1.Picturename = "http://192.168.168.52/Appeon/AEM/images/AEM_TOP.jpg"

Pointer

Supported

phl_1= 'Size!'

phl_1='d:\archive\IBEAM.BMP.cur'

PowerTipText

Supported

phl_1.PowerTipText = "This button opens a new form"

TabOrder

Supported

phl_1.TabOrder = 100

Tag

Supported

phl_1.Tag = ls_value

URL

Supported

phl_1.URL = "http://www.appeon.com/"

Visible

Supported

phl_1.Visible = lb_value

Width

Supported

phl_1.Width = li_value

X

Supported

phl_1.X = li_value

Y

Supported

phl_1.Y = li_value

ClassDefinition

Unsupported

 

Invert

Unsupported

 

Map3DColors

Unsupported

 

Events for PictureHyperLink control

Table 72. 

Event

Support Level

Example Code

Clicked

Supported

Clicked()

Constructor

Supported

Constructor()

Destructor

Supported

Destructor()

DoubleClicked

Supported

DoubleClicked()

DragDrop

Supported

DragDrop(source)

DragEnter

Supported

DragEnter(source)

DragLeave

Supported

DragLeave(source)

DragWithin

Supported

DragWithin(source)

GetFocus

Supported

GetFocus()

LoseFocus

Supported

LoseFocus()

RButtonDown

Supported

RButtonDown(flags, xpos, ypos)

Help

Unsupported

 

Other

Unsupported

 

Functions for PictureHyperLink control

Table 73. 

Function

Support Level

Example Code

ClassName

Supported

ls_value = phl_1.ClassName( )

Draw

Supported

li_value = phl_1.Draw(li_x,li_y)

Drag

Supported

phl_1.Drag(Begin!)

GetParent

Supported

PowerObject lpo_value

lpo_value = phl_1.GetParent()

Hide

Supported

li_value = phl_1.Hide( )

Move

Supported

li_value = phl_1.Move(li_x,li_y)

PointerX

Supported

li_value = phl_1.PointerX()

PointerY

Supported

li_value = phl_1.PointerY()

PostEvent

Supported

lb_value = phl_1.PostEvent(Clicked!)

Resize

Supported

li_value = phl_1.Resize(li_x,li_y)

SetFocus

Supported

li_value = phl_1.SetFocus( )

Unsupported: SetFocus(phl_1)

SetPicture

Supported

phl_1.SetPicture(Emp_pic)

SetPosition

Supported

li_value = phl_1.SetPosition( )

SetRedraw

Supported

li_returnvalue = phl_1.SetRedraw (FALSE)

Show

Supported

li_value = phl_1.Show( )

TriggerEvent

Supported

li_value = phl_1.TriggerEvent(Clicked!)

TypeOf

Supported

if phl_1.TypeOf( ) = PictureHyperLink! Then

ls_value = "PictureHyperLink!"

else

ls_value = "invalid"

end if

GetContextService

Unsupported

 

Print

Unsupported

 

PictureListBox control

Important Requirements

Setting a PictureListBox as a Dropdown PictureListBox is not supported.

Properties for PictureListBox control

Table 74. 

Property

Support Level

Example Code

Accelerator

Supported

plb_1.Accelerator=67

BackColor

Supported

plb_1.BackColor = ll_value

plb_1.BackColor = RGB(192,192,192)

Border

Supported

plb_1.Border = lb_value

BorderStyle

Supported

plb_1.BorderStyle = StyleLowered!

plb_1.BorderStyle = StyleRaised!

plb_1.BorderStyle = StyleBox!

Note: StyleShadowBox! is not supported.

BringToTop

Supported

plb_1.BringToTop = TRUE

DisableNoScroll

Supported

plb_1.DisableNoScroll = lb_value

DragAuto

Supported

plb_1.DragAuto = TRUE

DragIcon

Supported

plb_1.DragIcon ='c:\archive\arrow.ico'

Enabled

Supported

plb_1.Enabled = lb_value

ExtendedSelect

Supported

plb_1.ExtendedSelect = lb_value

FaceName

Supported

plb_1.FaceName = ls_value

FontCharSet

Supported

plb_1.FontCharSet = ANSI!

FontFamily

Supported

plb_1.FontFamily = Roman!

FontPitch

Supported

plb_1.FontPitch = Fixed!

Height

Supported

plb_1.Height = li_value

HScrollBar

Supported

plb_1.Hscrollbar = lb_value

Italic

Supported

plb_1.Italic = lb_value

Item[ ]

Supported

plb_1.Item[] = ls_value

ItemPicture​Index[ ]

Supported

plb_1.ItemPictureIndex[ ] = li_value[]

MultiSelect

Supported

plb_1.MultiSelect = lb_value

PictureHeight

Supported

plb_1.PictureHeight = 16

PictureWidth

Supported

plb_1.PictureWidth = 16

PictureName[ ]

Supported

ls_result[] = plb_1.PictureName[li_x[]]

Assigning values to part of an array and using the default values for the other part is not supported.

For example:

picturename[1] = "aaa.bmp"

picturename[3] = "bbb.bmp"

var pic1 = picutrename[1];

var pic2 = picturename[3];

A supported example is given as follows:

picturename[1] = "aaa.bmp"

picturename[2] = "bbb.bmp"

picturename[3] = "ccc.bmp"

var pic1 = picutrename[1];

var pic2 = picturename[2];

var pic3 = picturename[3];

Pointer

Supported

plb_1.pointer = 'Icon!'

plb_1.pointer ='d:\archive\IBEAM.BMP'

RightToLeft

Supported

plb_1.RightToLeft = TRUE

Sorted

Supported

plb_1.Sorted =lb_value

TabOrder

Supported

plb_1.TabOrder = 110

Tag

Supported

plb_1.Tag = ls_value

TextColor

Supported

plb_1.Textcolor = ll_value

TextSize

Supported

plb_1.TextSize = li_value

Underline

Supported

plb_1.Underline = lb_value

Visible

Supported

plb_1.Visible = lb_value

VScrollBar

Supported

plb_1.VScrollBar = lb_value

Weight

Supported

plb_1.Weight = li_value

Width

Supported

plb_1.Width = li_value

X

Supported

plb_1.X = li_value

Y

Supported

plb_1.Y = li_value

PictureMaskColor

Supported

plb_1.PictureMaskColor= ll_value

ClassDefinition

Unsupported

 

ShowList

Unsupported

 

TabStop[ ]

Unsupported

 

Events for PictureListBox control

Table 75. 

Event

Support Level

Example Code

Constructor

Supported

Constructor()

Destructor

Supported

Destructor()

DoubleClicked

Supported

DoubleClicked()

DragDrop

Supported

DragDrop(source)

DragEnter

Supported

DragEnter(source)

DragLeave

Supported

DragLeave(source)

DragWithin

Supported

DragWithin(source)

GetFocus

Supported

GetFocus()

LoseFocus

Supported

LoseFocus()

RButtonDown

Supported

RButtonDown(flags, xpos, ypos)

SelectionChanged

Supported

SelectionChanged(index)

Help

Unsupported

 

Other

Unsupported

 

Functions for PictureListBox control

Table 76. 

Function

Support Level

Example Code

AddItem

Supported

li_position = plb_1.AddItem(ls_name, li_pic)

AddPicture

Supported

li_pic = plb_1.AddPicture("c:\pics\cardinal.bmp")

ClassName

Supported

ls_value = plb_1.ClassName()

DeleteItem

Supported

plb_1.DeleteItem(li_value)

DeletePicture

Supported

plb_1.DeletePicture (6)

DeletePictures

Supported

plb_1.DeletePictures ()

DirList

Supported

plb_1.DirList("C:\EMPLOYEE\*.TXT", 0)

DirSelect

Supported

plb_1.DirSelect(ls_filename)

Drag

Supported

plb_1.Drag(End!)

FindItem

Supported

li_index = plb_1.FindItem ("Delete", 1)

GetParent

Supported

PowerObject lpo_value

lpo_value = plb_1.GetParent()

Hide

Supported

li_value = plb_1.Hide()

InsertItem

Supported

plb_1.InsertItem("Run Application", 5)

plb_1.InsertItem("Run Application", 5, 4)

Move

Supported

li_value = plb_1.Move(li_x[],li_y[])

PointerX

Supported

li_value = plb_1.PointerX()

PointerY

Supported

li_value = plb_1.PointerY()

PostEvent

Supported

lb_value = plb_1.PostEvent(Clicked!)

Reset

Supported

li_value = plb_1.Reset()

Resize

Supported

li_value = plb_1.Resize(li_x[],li_y[])

SelectedIndex

Supported

li_index = plb_1.SelectedIndex()

SelectedItem

Supported

li_item = plb_1.SelectedItem()

SelectItem

Supported

li_value = plb_1.SelectItem (li_x[],li_y[])

SetFocus

Supported

li_value = plb_1.SetFocus()

Unsupported: SetFocus(plb_1)

SetPosition

Supported

li_returnvalue = plb_1.SetPosition(position)

SetRedraw

Supported

li_returnvalue = plb_1.SetRedraw (FALSE)

SetState

Supported

plb_1.SetState(6, TRUE)

SetTop

Supported

plb_1.SetTop(6)

Show

Supported

li_value = plb_1.Show()

State

Supported

li_item = plb_1.State(3)

Text

Supported

ls_return = plb_1.Text(2)

Top

Supported

li_num = plb_1.Top()

TotalItems

Supported

li_value= plb_1.TotalItems()

TotalSelected

Supported

integer SelectedTotal

SelectedTotal = plb_1.TotalSelected()

TriggerEvent

Supported

li_value = plb_1.TriggerEvent(Constructor!)

TypeOf

Supported

if plb_1.typeof()=picturelistbox! Then

ls_value='picturelistbox!'

else

ls_value='isvalid'

end if

Clear

Unsupported

 

Copy

Unsupported

 

Cut

Unsupported

 

GetContextService

Unsupported

 

Paste

Unsupported

 

Position

Unsupported

 

Print

Unsupported

 

RadioButton control

Properties for RadioButton control

Table 77. 

Property

Support Level

Example Code

Automatic

Supported

rb_1.Automatic = TRUE

BackColor

Supported

rb_1.BackColor = ll_value

rb_1.BackColor = RGB(192,192,192)

Note: transparent value is unsupported.

BorderStyle

Supported

rb_1.BorderStyle = StyleLowered!

rb_1.BorderStyle = StyleRaised!

BringToTop

Supported

rb_1.BringToTop = TRUE

Checked

Supported

rb_1.Checked = lb_value

DragAuto

Supported

rb_1.DragAuto = TRUE

DragIcon

Supported

rb_1.DragIcon ='c:\archive\arrow.ico'

Enabled

Supported

rb_1.Enabled = lb_value

FaceName

Supported

rb_1.FaceName = ls_value

FontCharSet

Supported

rb_1.FontCharSet = ANSI!

FontFamily

Supported

rb_1.FontFamily = Roman!

FontPitch

Supported

rb_1.FontPitch = Fixed!

Height

Supported

rb_1.Height = li_value

LeftText

Supported

rb_1.LeftText = TRUE

Italic

Supported

rb_1.Italic = lb_value

Pointer

Supported

rb_1.Pointer ='AppStarting!'

rb_1.Pointer='d:\archive\IBEAM.BMP'

RightToLeft

Supported

rb_1.RightToLeft = TRUE

TabOrder

Supported

rb_1.TabOrder = 120

Tag

Supported

rb_1.Tag = ls_value

Text

Supported

rb_1.Text = ls_value

TextColor

Supported

rb_1.TextColor = ll_value

TextSize

Supported

rb_1.TextSize = li_value

Underline

Supported

rb_1.Underline = lb_value

Visible

Supported

rb_1.Visible = lb_value

Weight

Supported

rb_1.Weight = li_value

Width

Supported

rb_1.Width = li_value

X

Supported

rb_1.X = li_value

Y

Supported

rb_1.Y = li_value

ClassDefinition

Unsupported

 

Transparency

Unsupported

 

Events for RadioButton control

Table 78. 

Event

Support Level

Example Code

Clicked

Supported

Clicked()

Constructor

Supported

Constructor()

Destructor

Supported

Destructor()

DragDrop

Supported

DragDrop(source)

DragEnter

Supported

DragEnter(source)

DragLeave

Supported

DragLeave(source)

DragWithin

Supported

DragWithin(source)

GetFocus

Supported

GetFocus()

LoseFocus

Supported

LoseFocus()

RButtonDown

Supported

RButtonDown(flags, xpos, ypos)

Help

Unsupported

 

Other

Unsupported

 

Functions for RadioButton control

Table 79. 

Function

Support Level

Example Code

ClassName

Supported

ls_value = rb_1.ClassName( )

Drag

Supported

rb_1.Drag(Begin!)

GetParent

Supported

PowerObject lpo_value

lpo_value = rb_1.GetParent( )

Hide

Supported

li_value = rb_1.Hide( )

Move

Supported

li_value = rb_1.Move(li_x,li_y)

PointerX

Supported

li_vaule = rb_1.PointerX()

PointerY

Supported

li_value = rb_1.PointerY()

PostEvent

Supported

lb_value = rb_1.PostEvent(Clicked!)

Resize

Supported

li_value = rb_1.Resize(li_x,li_y)

SetFocus

Supported

li_value = rb_1.SetFocus( )

Unsupported: SetFocus(rb_1)

SetPosition

Supported

li_value = rb_1.SetPosition(ToTop!)

li_value = rb_1.SetPosition(ToBottom!)

SetRedraw

Supported

li_returnvalue = rb_1.SetRedraw (FALSE)

Show

Supported

li_value = rb_1.Show( )

TriggerEvent

Supported

li_value = rb_1.TriggerEvent(Clicked!)

TypeOf

Supported

if rb_1.TypeOf( ) = RadioButton! Then

ls_value = "RadioButton!"

end if

GetContextService

Unsupported

 

Print

Unsupported

 

Rectangle control

Properties for Rectangle control

Table 80. 

Property

Support Level

Example Code

FillColor

Supported

r_1.FillColor = ll_value

FillPattern

Supported

r_1.FillPattern = Diamond!

Height

Supported

r_1.Height = li_value

LineColor

Supported

r_1.LineColor = ll_value

LineStyle

Supported

r_1.LineStyle = Continuous!

r_1.LineStyle = Dash!

r_1.LineStyle = DashDot!

r_1.LineStyle = DashDotDot!

r_1.LineStyle = Dot!

r_1.LineStyle = Transparent!

LineThickness

Supported

r_1.LineThickness =li_value

Note: If LineThickness is greater than one pixel (about four PowerBuilder units), the LineStyle property is forced to Continuous!

Tag

Supported

r_1.Tag = ls_value

Visible

Supported

r_1.Visible = lb_value

Width

Supported

r_1.Width = li_value

X

Supported

r_1.X = li_value

Y

Supported

r_1.Y = li_value

ClassDefinition

Unsupported

 

Events for Rectangle control

Table 81. 

Event

Support Level

Example Code

Constructor

Supported

Constructor()

Destructor

Supported

Destructor()


Functions for Rectangle control

Table 82. 

Function

Support Level

Example Code

ClassName

Supported

ls_value = r_1.ClassName( )

GetParent

Supported

PowerObject lpo_value

lpo_value = r_1.GetParent( )

Hide

Supported

li_value = r_1.Hide( )

Move

Supported

li_value = r_1.Move(li_x,li_y)

PostEvent

Supported

lb_value = r_1.PostEvent(Clicked!)

Note: The PostEvent function returns 1 if it is successful.

Resize

Supported

lb_value = r_1.Resize(Clicked!)

Show

Supported

li_value = r_1.Show( )

TriggerEvent

Supported

li_value = r_1.TriggerEvent(Clicked!)

Note: The TriggerEvent function returns 1 if it is successful.

TypeOf

Supported

if r_1.TypeOf( ) = Rectangle! Then

li_value = "Rectangle!"

end if

GetContextService

Unsupported

 

RichTextEdit control

Differences

  1. On the Web, the printed result of the rich text may be different from what you see in the RichTextEdit control. This is because the printed result will be reformatted according to the size of the paper.

  2. On the Web, an input field is selected when you click on it, you can then delete or replace it by using the keyboard. This is different from that in PowerBuilder.

  3. Because of the following differences, the return value on the Web