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.

How to break the display value of a datawindow field set with a RadioButton style type ?

3 posts in DataWindow Last posting was on 2008-03-19 16:35:18.0Z
Jean Sagi Posted on 2008-03-19 03:57:11.0Z
From: Jean Sagi <jeansagi@myrealbox.com>
Organization: Oolnta Inc.
User-Agent: Thunderbird 2.0.0.12 (Windows/20080213)
MIME-Version: 1.0
Newsgroups: sybase.public.powerbuilder.datawindow
Subject: How to break the display value of a datawindow field set with a RadioButton style type ?
Content-Type: multipart/alternative; boundary="------------060709000507070709040606"
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Message-ID: <47e08f17@forums-1-dub>
Date: 18 Mar 2008 19:57:11 -0800
X-Trace: forums-1-dub 1205899031 10.22.241.152 (18 Mar 2008 19:57:11 -0800)
X-Original-Trace: 18 Mar 2008 19:57:11 -0800, vip152.sybase.com
Lines: 814
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.datawindow:86476
Article PK: 415736

Hi everyone !

I have a free-form datawindow with a field whose "style type" is set to "RadioButtons" and one of the "display value(s)" is a long string that I want to break into a second line... How do I do that? I've tryed with ~r and ~n and \n much like in messagebox but whatever I try I can't make it... Maybe this can't be done.

I explain myself with two little graphics (sorry):

This is how the field look like:

Figure-1

And what I want is a way to achieve this:

Figure-2

Can this be done ?


J.


Radio1.jpg
Radio2.jpg

fisher <fisher_NO Posted on 2008-03-19 05:48:09.0Z
From: fisher <fisher_NO@SPAM_wckp.lodz.pl_PLEASE>
User-Agent: Thunderbird 2.0.0.12 (Windows/20080213)
MIME-Version: 1.0
Newsgroups: sybase.public.powerbuilder.datawindow
Subject: Re: How to break the display value of a datawindow field set with a RadioButtonstyle type ?
References: <47e08f17@forums-1-dub>
In-Reply-To: <47e08f17@forums-1-dub>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Message-ID: <47e0a919@forums-1-dub>
Date: 18 Mar 2008 21:48:09 -0800
X-Trace: forums-1-dub 1205905689 10.22.241.152 (18 Mar 2008 21:48:09 -0800)
X-Original-Trace: 18 Mar 2008 21:48:09 -0800, vip152.sybase.com
Lines: 35
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.datawindow:86477
Article PK: 415735

Have you tried using checkbox Edit styles with empty Texts and
additional text for labels ?

It's confusing but works.

BTW, ALWAYS let us know your PB version/Build, DB, connection method
you're using.

Regards

Jean Sagi pisze:

> Hi everyone !
>
> I have a free-form datawindow with a field whose "style type" is set to
> "RadioButtons" and one of the "display value(s)" is a long string that I
> want to break into a second line... How do I do that? I've tryed with ~r
> and ~n and \n much like in messagebox but whatever I try I can't make
> it... Maybe this can't be done.
>
> I explain myself with two little graphics (sorry):
>
> This is how the field look like:
>
> Figure-1
>
> And what I want is a way to achieve this:
>
> Figure-2
>
> Can this be done ?
>
>
> J.
>
>


Jean Sagi Posted on 2008-03-19 16:35:18.0Z
From: Jean Sagi <jeansagi@myrealbox.com>
Organization: Oolnta Inc.
User-Agent: Thunderbird 2.0.0.12 (Windows/20080213)
MIME-Version: 1.0
Newsgroups: sybase.public.powerbuilder.datawindow
Subject: Re: How to break the display value of a datawindow field set witha RadioButtonstyle type ?
References: <47e08f17@forums-1-dub> <47e0a919@forums-1-dub>
In-Reply-To: <47e0a919@forums-1-dub>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8bit
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Message-ID: <47e140c6$1@forums-1-dub>
Date: 19 Mar 2008 08:35:18 -0800
X-Trace: forums-1-dub 1205944518 10.22.241.152 (19 Mar 2008 08:35:18 -0800)
X-Original-Trace: 19 Mar 2008 08:35:18 -0800, vip152.sybase.com
Lines: 50
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.datawindow:86487
Article PK: 415748

My fault I'm on 10.5.1 and 11.1 .

For what I need I can't use check box edit styles but your tip still
apply !! I can let empty the display values and use some static text
controls for simulating the display values.
The only drawback, for radiobuttons, is that I need to make the
radiobutton control larger in order to make room for a second line, but
is the price.

Thanks for tip it works.


J.

fisher escribió:

> Have you tried using checkbox Edit styles with empty Texts and
> additional text for labels ?
>
> It's confusing but works.
>
> BTW, ALWAYS let us know your PB version/Build, DB, connection method
> you're using.
>
> Regards
>
> Jean Sagi pisze:
>> Hi everyone !
>>
>> I have a free-form datawindow with a field whose "style type" is set
>> to "RadioButtons" and one of the "display value(s)" is a long string
>> that I want to break into a second line... How do I do that? I've
>> tryed with ~r and ~n and \n much like in messagebox but whatever I
>> try I can't make it... Maybe this can't be done.
>>
>> I explain myself with two little graphics (sorry):
>>
>> This is how the field look like:
>>
>> Figure-1
>>
>> And what I want is a way to achieve this:
>>
>> Figure-2
>>
>> Can this be done ?
>>
>>
>> J.
>>
>>