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.

Spin control

3 posts in Objects Last posting was on 2005-01-05 21:47:28.0Z
Eric Ullman Posted on 2005-01-05 15:59:34.0Z
From: "Eric Ullman" <ullman2k4@hotmail.com>
Newsgroups: sybase.public.powerbuilder.objects
Subject: Spin control
Lines: 20
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1409
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
NNTP-Posting-Host: asconline.com
X-Original-NNTP-Posting-Host: asconline.com
Message-ID: <41dc0ee6@forums-1-dub>
Date: 5 Jan 2005 07:59:34 -0800
X-Trace: forums-1-dub 1104940774 68.21.225.178 (5 Jan 2005 07:59:34 -0800)
X-Original-Trace: 5 Jan 2005 07:59:34 -0800, asconline.com
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.objects:8161
Article PK: 735428

Version: PB 9.0.2 Build 7509

Might seem like a silly question. I have an external DW with one field,
"year".
I set the EditMask for year to be #### with the spin control checked (using
the
default spin increment of 1) Everything works fine, but the spin is
spinning opposite
from what I want(I'm picky), ^ counts up(2000..2001..2002) Can I switch the
spinner
to count down when you click the up arrow? Is there some setting that I'm
just
overlooking?

Thanks in advance,

Eric


Doug Porter Posted on 2005-01-05 16:20:25.0Z
From: "Doug Porter" <doug_porterATdailyaccessDOTnospamDOTcom>
Newsgroups: sybase.public.powerbuilder.objects
References: <41dc0ee6@forums-1-dub>
Subject: Re: Spin control
Lines: 34
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4927.1200
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4927.1200
NNTP-Posting-Host: 12.6.74.84
X-Original-NNTP-Posting-Host: 12.6.74.84
Message-ID: <41dc13c9$1@forums-1-dub>
Date: 5 Jan 2005 08:20:25 -0800
X-Trace: forums-1-dub 1104942025 12.6.74.84 (5 Jan 2005 08:20:25 -0800)
X-Original-Trace: 5 Jan 2005 08:20:25 -0800, 12.6.74.84
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.objects:8162
Article PK: 735429

Standard behavior for spin controls in windows is for the up arrow to
increment the value by one unit and for the down arror to decrement the
value by one unit. I believe to change this, you would have to create your
own userobject that mimics the look and functionality of a spin control.

Doug Porter
DailyAccess Corporation

"Eric Ullman" <ullman2k4@hotmail.com> wrote in message
news:41dc0ee6@forums-1-dub...
> Version: PB 9.0.2 Build 7509
>
> Might seem like a silly question. I have an external DW with one field,
> "year".
> I set the EditMask for year to be #### with the spin control checked
(using
> the
> default spin increment of 1) Everything works fine, but the spin is
> spinning opposite
> from what I want(I'm picky), ^ counts up(2000..2001..2002) Can I switch
the
> spinner
> to count down when you click the up arrow? Is there some setting that I'm
> just
> overlooking?
>
> Thanks in advance,
>
> Eric
>
>
>


Jim O'Neil [Sybase] Posted on 2005-01-05 21:47:28.0Z
From: "Jim O'Neil [Sybase]" <joneil_at_sybase_dot_com>
Newsgroups: sybase.public.powerbuilder.objects
Subject: Re: Spin control
Message-ID: <50oot0p7b6358p1cr4r937rtaui4tuiidf@4ax.com>
References: <41dc0ee6@forums-1-dub> <41dc13c9$1@forums-1-dub>
X-Newsreader: Forte Agent 2.0/32.652
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Original-NNTP-Posting-Host: joneilw2k.sybase.com
X-Original-Trace: 5 Jan 2005 13:47:26 -0800, joneilw2k.sybase.com
Lines: 42
X-Original-NNTP-Posting-Host: forums-2-dub.sybase.com
X-Original-Trace: 5 Jan 2005 13:47:27 -0800, forums-2-dub.sybase.com
NNTP-Posting-Host: forums-master.sybase.com
X-Original-NNTP-Posting-Host: forums-master.sybase.com
Date: 5 Jan 2005 13:47:28 -0800
X-Trace: forums-1-dub 1104961648 10.22.108.75 (5 Jan 2005 13:47:28 -0800)
X-Original-Trace: 5 Jan 2005 13:47:28 -0800, forums-master.sybase.com
X-Authenticated-User: ngsysop
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.objects:8166
Article PK: 735433

I would question going against standard windows behavior as well, but
a back door to this would be to change <control>.edit.spinincr=-1. I
can't seem to do this in the IDE, but you can if you change the DW
source.

On 5 Jan 2005 08:20:25 -0800, "Doug Porter"

<doug_porterATdailyaccessDOTnospamDOTcom> wrote:

>Standard behavior for spin controls in windows is for the up arrow to
>increment the value by one unit and for the down arror to decrement the
>value by one unit. I believe to change this, you would have to create your
>own userobject that mimics the look and functionality of a spin control.
>
>Doug Porter
>DailyAccess Corporation
>
>"Eric Ullman" <ullman2k4@hotmail.com> wrote in message
>news:41dc0ee6@forums-1-dub...
>> Version: PB 9.0.2 Build 7509
>>
>> Might seem like a silly question. I have an external DW with one field,
>> "year".
>> I set the EditMask for year to be #### with the spin control checked
>(using
>> the
>> default spin increment of 1) Everything works fine, but the spin is
>> spinning opposite
>> from what I want(I'm picky), ^ counts up(2000..2001..2002) Can I switch
>the
>> spinner
>> to count down when you click the up arrow? Is there some setting that I'm
>> just
>> overlooking?
>>
>> Thanks in advance,
>>
>> Eric
>>
>>
>>
>