Sybase NNTP forums - End Of Life (EOL)

The NNTP forums from Sybase - forums.sybase.com - are now closed.

All new questions should be directed to the appropriate forum at the SAP Community Network (SCN).

Individual products have links to the respective forums on SCN, or you can go to SCN and search for your product in the search box (upper right corner) to find your specific developer center.

DW Grid Line Color

3 posts in Objects Last posting was on 2007-04-09 18:39:49.0Z
Anthony Calo Posted on 2007-04-09 18:12:22.0Z
Reply-To: "Anthony Calo" <anthony.calo@targetsoftware.com>
From: "Anthony Calo" <anthony.calo@targetsoftware.com>
Newsgroups: sybase.public.powerbuilder.objects
Subject: DW Grid Line Color
Lines: 8
Organization: Target Software
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.3028
X-RFC2646: Format=Flowed; Original
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3028
NNTP-Posting-Host: 64.9.107.255
X-Original-NNTP-Posting-Host: 64.9.107.255
Message-ID: <461a73f6$1@forums-1-dub>
Date: 9 Apr 2007 10:12:22 -0800
X-Trace: forums-1-dub 1176138742 64.9.107.255 (9 Apr 2007 10:12:22 -0800)
X-Original-Trace: 9 Apr 2007 10:12:22 -0800, 64.9.107.255
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.objects:9319
Article PK: 736478

Is it possible to change the color of the grid lines when using a Grid style
datawindow??
When you set the background color of the datawindow to ButtonFace the grid
lines are dark but if you set it to any standard color (ie... gray, green,
etc...) the grid line is very light colored and with some backgrounds it is
hard to see.


Philip Salgannik Posted on 2007-04-09 18:26:28.0Z
Sender: 334e.461a7647.1804289383@sybase.com
From: Philip Salgannik
Newsgroups: sybase.public.powerbuilder.objects
Subject: Re: DW Grid Line Color
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <461a7744.3389.1681692777@sybase.com>
References: <461a73f6$1@forums-1-dub>
NNTP-Posting-Host: 10.22.241.41
X-Original-NNTP-Posting-Host: 10.22.241.41
Date: 9 Apr 2007 10:26:28 -0800
X-Trace: forums-1-dub 1176139588 10.22.241.41 (9 Apr 2007 10:26:28 -0800)
X-Original-Trace: 9 Apr 2007 10:26:28 -0800, 10.22.241.41
Lines: 11
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.objects:9320
Article PK: 736479

No

> Is it possible to change the color of the grid lines when
> using a Grid style datawindow??
> When you set the background color of the datawindow to
> ButtonFace the grid lines are dark but if you set it to
> any standard color (ie... gray, green, etc...) the grid
> line is very light colored and with some backgrounds it is
> hard to see.
>
>


Terry Dykstra Posted on 2007-04-09 18:39:49.0Z
Reply-To: "Terry Dykstra" <dontreply_tddykstra@forestoil.ca.x>
From: "Terry Dykstra" <tddykstra@forestoil.ca>
Newsgroups: sybase.public.powerbuilder.objects
References: <461a73f6$1@forums-1-dub>
Subject: Re: DW Grid Line Color
Lines: 32
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.3028
X-RFC2646: Format=Flowed; Response
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3028
NNTP-Posting-Host: gw.forestoil.ca
X-Original-NNTP-Posting-Host: gw.forestoil.ca
Message-ID: <461a7a65$1@forums-1-dub>
Date: 9 Apr 2007 10:39:49 -0800
X-Trace: forums-1-dub 1176140389 72.29.237.65 (9 Apr 2007 10:39:49 -0800)
X-Original-Trace: 9 Apr 2007 10:39:49 -0800, gw.forestoil.ca
X-Authenticated-User: TeamSybase
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.objects:9321
Article PK: 736480

In the database painter you can experiment somewhat with the gridstyle by
adding the following lines in the pb.ini:

[Data Window]
new_grid_text_color=33554432
new_grid_column_color=33554432
new_grid_color=12632256
new_grid_text_border=None
new_grid_column_border=Box

Adjust colours as desired. For the border type see the dwsyntax utility for
available values. I'm not aware of anything to set the colour of the
gridline itself. The DWSyntax utility doesn't list any options at all.

--
Terry Dykstra (TeamSybase)
http://powerbuilder.codeXchange.sybase.com/
http://www.pb9books.com
product enhancement requests:
http://my.isug.com/cgi-bin/1/c/submit_enhancement

"Anthony Calo" <anthony.calo@targetsoftware.com> wrote in message
news:461a73f6$1@forums-1-dub...
> Is it possible to change the color of the grid lines when using a Grid
> style datawindow??
> When you set the background color of the datawindow to ButtonFace the grid
> lines are dark but if you set it to any standard color (ie... gray, green,
> etc...) the grid line is very light colored and with some backgrounds it
> is hard to see.
>