Powerbuilder Objects and Controls

Default – PB Docs 2017

Default property for PowerScript controls Applies to CommandButton, PictureButton, OLECustomControl controls  Description The Default property specifies that the control is the default button. If Default is true, the selected control has a thick border and receives a Clicked event when the user presses Enter (unless the user has tabbed to another control). If Default is…

DropDownListBox control – PB Docs 2017

DropDownListBox control A DropDownListBox control combines the features of a ListBox and a SingleLineEdit. In some DropDownListBoxes, the user can select an item by entering the name of the item in the text box. In other DropDownListBoxes, the user cannot modify the text box and must click the item or enter the first character of…

DropDownPictureListBox control – PB Docs 2017

DropDownPictureListBox control A DropDownPictureListBox control is similar to a DropDownListBox, but with the addition of pictures associated with the items in the list. The pictures used in this control can be bitmaps (BMP file), icons (ICO file), cursors (CUR file), GIF (but not animated GIF) files, or JPEG files. Making the list display In the development environment, if…

DropDownRight – PB Docs 2017

DropDownRight property for PowerScript controls Applies to DatePicker and EditMask controls Description Specifies whether the drop-down calendar is aligned with the right or left side of the DatePicker or EditMask control. Usage In a painter To set the DropDownRight property: Select or clear the DropDownRight check box on the General page in the Properties view…

DropLines – PB Docs 2017

DropLines property for PowerScript controls Applies to grAxis objects in Graph controls Description A drop line is a line that extends from a data point to its axis. Drop lines are not available for all graph types. Usage In a painter To set the drop line type: Display the Axis tab page of the graph…

DataWindow control – PB Docs 2017

DataWindow control You place DataWindow controls in a window or user object and then specify the DataWindow object you want to use within them to display and manipulate data in the window. A DataWindow object allows users to display, manipulate, and update database or other information. You build DataWindow objects in the DataWindow painter. For…

DragAuto – PB Docs 2017

DragAuto property for PowerScript controls Applies to Draggable controls Description The DragAuto property determines whether PowerBuilder puts the control into drag mode automatically. If the property is enabled, when the user clicks the control and starts dragging it, PowerBuilder puts the control in drag mode. Clicking the control triggers a DragDrop event, not a Clicked…

DatePicker control – PB Docs 2017

DatePicker control A DatePicker control makes it easy for users to select a date. It has two parts: a drop-down list box that displays the date in a selected format, and a grid that resembles the MonthCalendar control. Unlike the MonthCalendar control, which can be used to select a range of dates, the DatePicker control…

DragIcon – PB Docs 2017

DragIcon property for PowerScript controls Applies to Draggable controls Description The DragIcon property specifies the icon to display when the user drags the control. The default icon is a box the size of the control. When the user drags a control, the icon displays when the cursor is over an area in which the user…

DBPass – PB Docs 2017

DBPass property for PowerScript controls Applies to MLSync and SyncParm objects Description Password for the SQL Anywhere remote database. Setting this property value is equivalent to including the -c “pwd=myPassword” dbmlsync option, where myPassword is the password for the database connection. Usage At design time, you can enter a DBPass value on the SQL Anywhere Connect tab…