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.

Prevent exit from a Single Line Edit Control.

3 posts in Objects Last posting was on 2007-10-25 20:08:08.0Z
Alex Castillo Posted on 2007-10-25 15:08:42.0Z
From: "Alex Castillo" <AlexCast_SlwMx-at-HotMail-dot-Com>
Newsgroups: sybase.public.powerbuilder.objects
Subject: Prevent exit from a Single Line Edit Control.
Lines: 7
MIME-Version: 1.0
Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Windows Mail 6.0.6000.16480
X-MimeOLE: Produced By Microsoft MimeOLE V6.0.6000.16545
NNTP-Posting-Host: 189.156.34.91
X-Original-NNTP-Posting-Host: 189.156.34.91
Message-ID: <4720b17a$2@forums-1-dub>
Date: 25 Oct 2007 08:08:42 -0700
X-Trace: forums-1-dub 1193324922 189.156.34.91 (25 Oct 2007 08:08:42 -0700)
X-Original-Trace: 25 Oct 2007 08:08:42 -0700, 189.156.34.91
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.objects:9528
Article PK: 736686

Hello...

Using Powerbuilder v 7.0, how can I prevent the user from exiting a Single
Line Edit Control when something is not right with the value entered?

Thanks..!


"Manuel Espinoza" <jmespinoza.no_spam Posted on 2007-10-25 18:05:15.0Z
From: "Manuel Espinoza" <jmespinoza.no_spam@seicom_dot_com_dot_mx>
Newsgroups: sybase.public.powerbuilder.objects
References: <4720b17a$2@forums-1-dub>
Subject: Re: Prevent exit from a Single Line Edit Control.
Lines: 17
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2869
X-RFC2646: Format=Flowed; Response
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2869
NNTP-Posting-Host: 189.158.56.130
X-Original-NNTP-Posting-Host: 189.158.56.130
Message-ID: <4720dadb$1@forums-1-dub>
Date: 25 Oct 2007 11:05:15 -0700
X-Trace: forums-1-dub 1193335515 189.158.56.130 (25 Oct 2007 11:05:15 -0700)
X-Original-Trace: 25 Oct 2007 11:05:15 -0700, 189.158.56.130
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.objects:9529
Article PK: 736688

I think you may evaluate the value of the text in the LoseFocus() event,
then throw the sle_1.SetFocus() if error...

HTH


"Alex Castillo" <AlexCast_SlwMx-at-HotMail-dot-Com> escribió en el mensaje
news:4720b17a$2@forums-1-dub...

> Hello...
>
> Using Powerbuilder v 7.0, how can I prevent the user from exiting a Single
> Line Edit Control when something is not right with the value entered?
>
> Thanks..!
>


Philip Salgannik Posted on 2007-10-25 20:08:08.0Z
Reply-To: "Philip Salgannik" <PhilipSalgannik@work.com>
From: "Philip Salgannik" <PhilipSalgannik@work.com>
Newsgroups: sybase.public.powerbuilder.objects
References: <4720b17a$2@forums-1-dub> <4720dadb$1@forums-1-dub>
Subject: Re: Prevent exit from a Single Line Edit Control.
Lines: 23
Organization: ATWORK
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.3138
X-RFC2646: Format=Flowed; Response
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198
NNTP-Posting-Host: host41.155.212.59.conversent.net
X-Original-NNTP-Posting-Host: host41.155.212.59.conversent.net
Message-ID: <4720f7a8@forums-1-dub>
Date: 25 Oct 2007 13:08:08 -0700
X-Trace: forums-1-dub 1193342888 155.212.59.41 (25 Oct 2007 13:08:08 -0700)
X-Original-Trace: 25 Oct 2007 13:08:08 -0700, host41.155.212.59.conversent.net
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.objects:9531
Article PK: 736687

...or just use a datawindow - this is PowerBuilder :-)

"Manuel Espinoza" <jmespinoza.no_spam@seicom_dot_com_dot_mx> wrote in
message news:4720dadb$1@forums-1-dub...
>I think you may evaluate the value of the text in the LoseFocus() event,
>then throw the sle_1.SetFocus() if error...
>
> HTH
>
>
> "Alex Castillo" <AlexCast_SlwMx-at-HotMail-dot-Com> escribió en el mensaje
> news:4720b17a$2@forums-1-dub...
>> Hello...
>>
>> Using Powerbuilder v 7.0, how can I prevent the user from exiting a
>> Single Line Edit Control when something is not right with the value
>> entered?
>>
>> Thanks..!
>>
>
>