Link to home
Start Free TrialLog in
Avatar of basilhs_s
basilhs_s

asked on

powerbuilder grid datawindow title bar

i am having a datawindow which has a grid style and a title bar (dw_1). under what conditions the command dw_1.print() will print the title bar contents ?
Avatar of diasroshan
diasroshan
Flag of Kuwait image

Hi,

im not sure if that is possible,

Can u provide more details as to why u wish to print ur title bar, could give u a work around.

U can have a text object on the header of ur dw to print similar contents like ur title bar contents.

Cheers,
Rosh
Avatar of basilhs_s
basilhs_s

ASKER

Is it possible for a grid data window to have any kind of text in its header area except from the labels of the fields which it contains?
Hi,

Yes, it is possible. U can insert a text object on the header of ur DW.
Change the property of the text object as follows
Position Tab--> Layer --> Change this from "Band" to "Foreground"

Cheers,
Rosh
suppose that we have a grid as follows

-------------------------------------------------
| cust_code |   cust_firm                          |
-------------------------------------------------
|  xxxxx      | xxxxxxxxxxxxxxxxxxxxx  |
-------------------------------------------------

cust_code, cust_firm are the fields from the database. is it possible to place a text in the header of the datawindow as

          **********  TITLE ************
-------------------------------------------------
| cust_code |   cust_firm                          |
-------------------------------------------------
|  xxxxx      | xxxxxxxxxxxxxxxxxxxxx  |
-------------------------------------------------
ASKER CERTIFIED SOLUTION
Avatar of diasroshan
diasroshan
Flag of Kuwait image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
perfect solution. !!!thanks very much.