Using sheets – PB Docs 90
Using sheets In an MDI frame window, users can open windows (sheets) to perform activities. For example, in an electronic mail application, an MDI frame might have sheets that users open to create and send messages and read and reply to messages. All sheets can be open at the same time and the user can…
Providing MicroHelp – PB Docs 90
Providing MicroHelp MDI provides a MicroHelp facility that you can use to display information to the user in the status area at the bottom of the frame. For example, when the user selects a menu item, the MicroHelp facility displays a description of the selected item in the status area. You can define MicroHelp for…
Using window arrays – PB Docs 90
Using window arrays To create an array of windows, declare an array of the datatype of the window. For example, the following statement declares an array named myarray, which contains five instances of the window w_employee:
|
1 |
w_employee myarray[5] |
You can also create unbounded arrays of windows if the number of windows to be opened is not…
Referencing entities in descendants – PB Docs 90
Referencing entities in descendants When you declare a variable whose datatype is a kind of object, such as a window, you can use the variable to reference any entity defined in the object, but not in one of its descendants. Consider the following code:
|
1 |
w_customer mycust<br /> <br /> Open(mycust)<br /> // The following statement is legal if<br /> // w_customer window has a st_name control.<br /> mycust.st_name.text = "Joe" |
mycust is declared as a variable of type w_customer (mycust…
About MDI – PB Docs 90
About MDI Multiple Document Interface (MDI) is an application style you can use to open multiple windows (called sheets) in a single window and move among the sheets. To build an MDI application, you define a window whose type is MDI Frame and open other windows as sheets within the frame. Most large-scale Windows applications…
Building an MDI frame window – PB Docs 90
Building an MDI frame window When you create a new window in PowerBuilder, its default window type is Main. Select mdi! or mdihelp! on the General property page to change the window to an MDI frame window. Using menus When you change the window type to MDI, you must associate a menu with the frame….
PowerBuilder COM servers – PB Docs 90
PowerBuilder COM servers In addition to the COM server file generated in PowerBuilder, the PowerBuilder runtime files listed in Table 39-17 should be installed on the computer on which the server will run if the component uses the feature listed in the table. Table 39-17: PowerBuilder files required on COM server host Name Description PBVM90.DLL…
Installing the sample applications – PB Docs 90
Installing the sample applications To install the samples from the CD, select the Custom setup type in the PowerBuilder installation program and select Code Examples from the list of components. To install the Code Examples application, select Example Application. To install the Web DataWindow PBL, select Web DataWindow. Both samples are installed in the Code…
PowerBuilder automation servers – PB Docs 90
PowerBuilder automation servers To use a PowerBuilder automation server, the following files need to be deployed: The PBD or DLL containing the implementation of the automation server The generated type library file if you chose to create one or, if you built a named server, the PBAEN90.TLB file that provides type library information for PowerBuilder.Application…
Chapter 7 Using Tab Controls in a Window – PB Docs 90
Chapter 7 Using Tab Controls in a Window About this chapter This chapter describes how to use Tab controls in your application. Contents Topic About Tab controls Defining and managing tab pages Customizing the Tab control Using Tab controls in scripts Document get from Powerbuilder help Thank you for watching.