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.

treeview-control item style

3 posts in Objects Last posting was on 2008-06-25 19:04:15.0Z
Martin Posted on 2008-06-25 07:30:27.0Z
From: "Martin" <m.kaltenboeck@utanet.at>
Newsgroups: sybase.public.powerbuilder.objects
Subject: treeview-control item style
Lines: 18
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
X-RFC2646: Format=Flowed; Original
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Message-ID: <4861f413@forums-1-dub>
Date: 25 Jun 2008 00:30:27 -0700
X-Trace: forums-1-dub 1214379027 10.22.241.152 (25 Jun 2008 00:30:27 -0700)
X-Original-Trace: 25 Jun 2008 00:30:27 -0700, vip152.sybase.com
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.objects:9739
Article PK: 736870

pb 10.5.1, winxp

hello,

Is there any possibility to set some items in a treeview control to italic
style.

Doku says that the treeviewitem has only the bold-property but not italic,
underline and so on ...

Italic can only be set for the whole treeview.

But maybe there is a way to do that

thanks for ideas
Martin


Roland Smith [TeamSybase] Posted on 2008-06-25 17:30:14.0Z
From: "Roland Smith [TeamSybase]" <rsmith_at_trusthss_dot_com>
Newsgroups: sybase.public.powerbuilder.objects
References: <4861f413@forums-1-dub>
Subject: Re: treeview-control item style
Lines: 28
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
X-RFC2646: Format=Flowed; Response
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Message-ID: <486280a6$1@forums-1-dub>
Date: 25 Jun 2008 10:30:14 -0700
X-Trace: forums-1-dub 1214415014 10.22.241.152 (25 Jun 2008 10:30:14 -0700)
X-Original-Trace: 25 Jun 2008 10:30:14 -0700, vip152.sybase.com
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.objects:9740
Article PK: 736871

The PowerBuilder Treeview control is a wrapper around the Treeview control
built into Windows. I looked at the documentation on MSDN and there doesn't
appear to be a way to change font attributes on an item level.

You would have to get into Custom Owner-Drawn which would probably require
C++ coding and PBNI.

"Martin" <m.kaltenboeck@utanet.at> wrote in message
news:4861f413@forums-1-dub...
> pb 10.5.1, winxp
>
> hello,
>
> Is there any possibility to set some items in a treeview control to italic
> style.
>
> Doku says that the treeviewitem has only the bold-property but not italic,
> underline and so on ...
>
> Italic can only be set for the whole treeview.
>
> But maybe there is a way to do that
>
> thanks for ideas
> Martin
>


Philip Salgannik Posted on 2008-06-25 19:04:15.0Z
Reply-To: "Philip Salgannik" <PhilipSalgannik@work.com>
From: "Philip Salgannik" <PhilipSalgannik@work.com>
Newsgroups: sybase.public.powerbuilder.objects
References: <4861f413@forums-1-dub> <486280a6$1@forums-1-dub>
Subject: Re: treeview-control item style
Lines: 33
Organization: ATWORK
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.3138
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198
X-RFC2646: Format=Flowed; Response
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Message-ID: <486296af$1@forums-1-dub>
Date: 25 Jun 2008 12:04:15 -0700
X-Trace: forums-1-dub 1214420655 10.22.241.152 (25 Jun 2008 12:04:15 -0700)
X-Original-Trace: 25 Jun 2008 12:04:15 -0700, vip152.sybase.com
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.objects:9741
Article PK: 736873

...and there is an example of doing this on CodeExchange

"Roland Smith [TeamSybase]" <rsmith_at_trusthss_dot_com> wrote in message
news:486280a6$1@forums-1-dub...
> The PowerBuilder Treeview control is a wrapper around the Treeview control
> built into Windows. I looked at the documentation on MSDN and there
> doesn't appear to be a way to change font attributes on an item level.
>
> You would have to get into Custom Owner-Drawn which would probably require
> C++ coding and PBNI.
>
> "Martin" <m.kaltenboeck@utanet.at> wrote in message
> news:4861f413@forums-1-dub...
>> pb 10.5.1, winxp
>>
>> hello,
>>
>> Is there any possibility to set some items in a treeview control to
>> italic style.
>>
>> Doku says that the treeviewitem has only the bold-property but not
>> italic, underline and so on ...
>>
>> Italic can only be set for the whole treeview.
>>
>> But maybe there is a way to do that
>>
>> thanks for ideas
>> Martin
>>
>
>