?
Solved

powerbuilder grid datawindow title bar

Posted on 2009-02-13
6
Medium Priority
?
1,255 Views
Last Modified: 2013-12-26
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 ?
0
Comment
Question by:basilhs_s
  • 3
  • 3
6 Comments
 
LVL 18

Expert Comment

by:diasroshan
ID: 23643980
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
0
 

Author Comment

by:basilhs_s
ID: 23659318
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?
0
 
LVL 18

Expert Comment

by:diasroshan
ID: 23667425
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
0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 

Author Comment

by:basilhs_s
ID: 23691516
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  |
-------------------------------------------------
0
 
LVL 18

Accepted Solution

by:
diasroshan earned 2000 total points
ID: 23698827
Hi,

Yes, it is possible.
Increase the header band and move the below columns lower to make place to insert a text for title.
--------------------------------------------------
| cust_code |   cust_firm                          |


U can insert a text object just above cust_code text object, increase the width and Change the property of the text object as follows
Position Tab--> Layer --> Change this from "Band" to "Foreground"

Give it a try or export and paste ur DW here, ill insert the text and export and paste the DW back again for u here.

Cheers,
Rosh
0
 

Author Closing Comment

by:basilhs_s
ID: 31546557
perfect solution. !!!thanks very much.
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Jaspersoft Studio is a plugin for Eclipse that lets you create reports from a datasource.  In this article, we'll go over creating a report from a default template and setting up a datasource that connects to your database.
How to install Selenium IDE and loops for quick automated testing. Get Selenium IDE from http://seleniumhq.org Go to that link and select download selenium in the right hand column That will then direct you to their download page. From that p…
The viewer will learn how to use NetBeans IDE 8.0 for Windows to connect to a MySQL database. Open Services Panel: Create a new connection using New Connection Wizard: Create a test database called eetutorial: Create a new test tabel called ee…
The viewer will learn how to use and create new code templates in NetBeans IDE 8.0 for Windows.
Suggested Courses

807 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question