Examining a class definition – PB Docs 90
Examining a class definition This section illustrates how to access a class definition object and how to examine its properties to get information about the class, its scripts, and its variables. Getting a class definition object To work with class information, you need a class definition object. There are two ways to get a ClassDefinition…
Web DataWindow on EAServer – PB Docs 90
Web DataWindow on EAServer You can run the Web DataWindow server component on EAServer using PowerDynamo as the dynamic page server. The component transaction server and the page server can run on the same or on different computers. Files required on the transaction server Two types of files are required on the transaction server: The…
Web DataWindow on COM+/MTS or IIS – PB Docs 90
Web DataWindow on COM+/MTS or IIS You can run the Web DataWindow server component on a Microsoft Transaction Serveror COM+ using either PowerDynamo or ASP as the page server. You can also run the Web DataWindow on a Microsoft IIS application server. Files required on the COM+/MTS or IIS server Two types of files are…
Chapter 5 Building an MDI Application – PB Docs 90
Chapter 5 Building an MDI Application About this chapter This chapter describes how to build a Multiple Document Interface (MDI) application in PowerBuilder. Contents Topic About MDI Building an MDI frame window Using sheets Providing MicroHelp Providing toolbars Sizing the client area About keyboard support in MDI applications Document get from Powerbuilder help Thank you…
Populating TreeViews – PB Docs 90
Populating TreeViews You must write a script to add items to a TreeView. You cannot add items in the painter as with other list controls. Although you can populate all the levels of the TreeView at once, TreeView events allow you to populate only branches the user looks at, which saves unnecessary processing. Typically, you…
Managing TreeView items – PB Docs 90
Managing TreeView items An item in a TreeView is a TreeViewItem structure. The preceding section described how to set the item’s properties in the structure and then insert it into the TreeView. This code declares a TreeViewItem structure and sets several properties:
|
1 |
TreeViewItem tvi_defined<br /> <br /> tvi_defined.Label = "Symphony No. 3 Eroica"<br /> tvi_defined.StatePictureIndex = 0<br /> tvi_defined.PictureIndex = 3<br /> tvi_defined.SelectedPictureIndex = 4<br /> tvi_defined.OverlayPictureIndex = 0<br /> tvi_defined.Children = TRUE |
For information about Picture properties, see “Managing TreeView pictures”. When you insert…
Managing TreeView pictures – PB Docs 90
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…
Using DataWindow information to populate a TreeView – PB Docs 90
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…
About Tab controls – PB Docs 90
About Tab controls A Tab control is a container for tab pages that display other controls. One page at a time fills the display area of the Tab control. Each page has a tab like an index card divider. The user can click the tab to switch among the pages: The Tab control allows you…
Chapter 10 Using Drag and Drop in a Window – PB Docs 90
Chapter 10 Using Drag and Drop in a Window About this chapter This chapter describes how to make applications graphical by dragging and dropping controls. Contents Topic About drag and drop Drag-and-drop properties, events, and functions Identifying the dragged control Document get from Powerbuilder help Thank you for watching.