Chapter 13 Using MobiLink Synchronization – PB Docs 115
Chapter 13 Using MobiLink Synchronization About this chapter This chapter supplements the introduction to MobiLink synchronization presented in the database management chapter of the Users Guide . It provides additional background on the synchronization process and the use of objects generated by the MobiLink synchronization wizard. It also discusses how to create synchronization objects without…
Managing TreeView pictures – PB Docs 115
Managing TreeView pictures PowerBuilder stores TreeView images in three image lists: Picture list (called the regular picture list here) State picture list Overlay picture list You add pictures to these lists and associate them with items in the TreeView. Pictures for items There are several ways to use pictures in a TreeView. You associate a…
About MobiLink synchronization – PB Docs 115
About MobiLink synchronization MobiLink is a session-based synchronization system that allows two-way synchronization between a main database, called the consolidated database, and many remote databases. This section introduces some MobiLink terms and concepts. Where to find additional information Detailed information about MobiLink synchronization is provided in the MobiLink Getting Started , the MobiLink – Client…
Using DataWindow information to populate a TreeView – PB Docs 115
Using DataWindow information to populate a TreeView A useful implementation of the TreeView control is to populate it with information that you retrieve from a DataWindow. To do this your application must: Declare and instantiate a DataStore and assign a DataWindow object Retrieve information as needed Use the retrieved information to populate the TreeView Destroy…
Chapter 9 Using Lists in a Window – PB Docs 115
Chapter 9 Using Lists in a Window About this chapter This chapter describes how to use lists to present information in an application. Contents Topic About presenting lists Using lists Using drop-down lists Using ListView controls Document get from Powerbuilder help Thank you for watching.
About presenting lists – PB Docs 115
About presenting lists You can choose a variety of ways to present lists in your application: ListBoxes and PictureListBoxes display available choices that can be used for invoking an action or viewing and displaying data. DropDownListBoxes and DropDownPictureListBoxes also display available choices to the user. However, you can make them editable to the user. DropDownListBoxes…
Using lists – PB Docs 115
Using lists You can use lists to present information to the user in simple lists with scroll bars. You can present this information with text and pictures (in a PictureListBox) or with text alone (using a ListBox). Depending on how you design your application, the user can select one or more list items to perform…
Drag-and-drop properties, events, and functions – PB Docs 115
Drag-and-drop properties, events, and functions Drag-and-drop properties Each PowerBuilder control has two drag-and-drop properties: DragAuto DragIcon The DragAuto property DragAuto is a boolean property. Table 10-1: DragAuto property values Value Meaning TRUE When the object is clicked, the control is placed automatically in drag mode FALSE When the object is clicked, the control is not…
Identifying the dragged control – PB Docs 115
Identifying the dragged control To identify the type of control that was dropped, use the source argument of the DragDrop event. This script for the DragDrop event in a picture declares two variables, then determines the type of object that was dropped:
|
1 |
CommandButton lcb_button |
|
1 |
StaticText lst_info |
|
1 |
|
1 |
IF source.TypeOf() = CommandButton! THEN |
|
1 |
lcb_button = source |
|
1 |
lcb_button.Text = "You dropped a Button!" |
|
1 |
ELSEIF source.TypeOf() = StaticText! THEN |
|
1 |
lst_info = source |
|
1 |
lst_info.Text = "You dropped the text!" |
|
1 |
END IF<i></i> |
Using CHOOSE CASE If your window has a large number of controls…
Chapter 11 Providing Online Help for an Application – PB Docs 115
Chapter 11 Providing Online Help for an Application About this chapter This chapter describes how to provide online Help for other PowerBuilder developers and for end users on Windows. Contents Topic Creating Help files Providing online Help for developers Providing online Help for users Document get from Powerbuilder help Thank you for watching.