Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

Hackers are just a migratory lifeform with a tropism for computers.


devel / comp.lang.clipper.visual-objects / Re: An SLE that does numbers only?

SubjectAuthor
* An SLE that does numbers only?David Linda
+- Re: An SLE that does numbers only?JohnMartens
`- Re: An SLE that does numbers only?Jamal

1
An SLE that does numbers only?

<cc2f61f1-3464-4329-9547-2fcb58e6d80dn@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=1201&group=comp.lang.clipper.visual-objects#1201

  copy link   Newsgroups: comp.lang.clipper.visual-objects
X-Received: by 2002:ac8:6896:0:b0:3a5:6aa1:7cd6 with SMTP id m22-20020ac86896000000b003a56aa17cd6mr70336697qtq.146.1670861898635;
Mon, 12 Dec 2022 08:18:18 -0800 (PST)
X-Received: by 2002:a81:6d86:0:b0:368:e6b8:77f1 with SMTP id
i128-20020a816d86000000b00368e6b877f1mr27071908ywc.414.1670861898457; Mon, 12
Dec 2022 08:18:18 -0800 (PST)
Path: i2pn2.org!i2pn.org!aioe.org!news.uzoreto.com!npeer.as286.net!npeer-ng0.as286.net!peer01.ams1!peer.ams1.xlned.com!news.xlned.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.clipper.visual-objects
Date: Mon, 12 Dec 2022 08:18:18 -0800 (PST)
Injection-Info: google-groups.googlegroups.com; posting-host=2601:8b:8402:5ab0:d853:888c:4056:3d1f;
posting-account=sU18rAoAAABkmMxWPcRa-aD_FCz6Y1Ix
NNTP-Posting-Host: 2601:8b:8402:5ab0:d853:888c:4056:3d1f
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <cc2f61f1-3464-4329-9547-2fcb58e6d80dn@googlegroups.com>
Subject: An SLE that does numbers only?
From: dlinda2011@gmail.com (David Linda)
Injection-Date: Mon, 12 Dec 2022 16:18:18 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 1804
 by: David Linda - Mon, 12 Dec 2022 16:18 UTC

I found the code below:

CLASS mySLE INHERIT SingleLineEdit //Creata a class inherit SingleLineEdit

METHOD init(oOwner, nResourceID) CLASS mySLE // Init the Class
SUPER:init(oOwner, nResourceID)
RETURN SELF

METHOD Dispatch(oEvent) CLASS mySLE

IF oEvent:Message == WM_GETDLGCODE

IF SELF:NameSym == #SymName // of your SLE

IF oEvent:wParam == KEYENTER // or any key you want

SELF:Owner:myMethod() //execute your method
RETURN 0L
ENDIF

ENDIF

ENDIF

RETURN SUPER:Dispatch(oEvent)

But the dispatch method never gets called...I am thinking that I need to create a mysle object in the datawindow activate method. Is that right?

David

Re: An SLE that does numbers only?

<tn7oj7$293ls$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=1202&group=comp.lang.clipper.visual-objects#1202

  copy link   Newsgroups: comp.lang.clipper.visual-objects
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: martens@tennishulp.info (JohnMartens)
Newsgroups: comp.lang.clipper.visual-objects
Subject: Re: An SLE that does numbers only?
Date: Mon, 12 Dec 2022 18:32:23 +0100
Organization: A noiseless patient Spider
Lines: 37
Message-ID: <tn7oj7$293ls$1@dont-email.me>
References: <cc2f61f1-3464-4329-9547-2fcb58e6d80dn@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Mon, 12 Dec 2022 17:32:23 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="97c44a6c0da4ffb4c85a1863090615f4";
logging-data="2395836"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/9RW33wukf3OSZhAjnF2lJC0A669QsV9U="
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.5.1
Cancel-Lock: sha1:oEU6pxjetbU9CgRnYzWLflFnZN8=
In-Reply-To: <cc2f61f1-3464-4329-9547-2fcb58e6d80dn@googlegroups.com>
Content-Language: nl
 by: JohnMartens - Mon, 12 Dec 2022 17:32 UTC

Hi David,

Why not put a picture clause (like 9999) on the SLE ?

John

Op 12-12-2022 om 17:18 schreef David Linda:
> I found the code below:
>
> CLASS mySLE INHERIT SingleLineEdit //Creata a class inherit SingleLineEdit
>
> METHOD init(oOwner, nResourceID) CLASS mySLE // Init the Class
> SUPER:init(oOwner, nResourceID)
> RETURN SELF
>
> METHOD Dispatch(oEvent) CLASS mySLE
>
> IF oEvent:Message == WM_GETDLGCODE
>
> IF SELF:NameSym == #SymName // of your SLE
>
> IF oEvent:wParam == KEYENTER // or any key you want
>
> SELF:Owner:myMethod() //execute your method
> RETURN 0L
> ENDIF
>
> ENDIF
>
> ENDIF
>
> RETURN SUPER:Dispatch(oEvent)
>
> But the dispatch method never gets called...I am thinking that I need to create a mysle object in the datawindow activate method. Is that right?
>
> David

Re: An SLE that does numbers only?

<to2npb$1hdl$1@gioia.aioe.org>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=1217&group=comp.lang.clipper.visual-objects#1217

  copy link   Newsgroups: comp.lang.clipper.visual-objects
Path: i2pn2.org!i2pn.org!aioe.org!usMzckGswq/a27BPojtwGg.user.46.165.242.75.POSTED!not-for-mail
From: nospam@example.com (Jamal)
Newsgroups: comp.lang.clipper.visual-objects
Subject: Re: An SLE that does numbers only?
Date: Thu, 22 Dec 2022 18:04:11 -0500
Organization: Aioe.org NNTP Server
Message-ID: <to2npb$1hdl$1@gioia.aioe.org>
References: <cc2f61f1-3464-4329-9547-2fcb58e6d80dn@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Info: gioia.aioe.org; logging-data="50613"; posting-host="usMzckGswq/a27BPojtwGg.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.5.1
Content-Language: en-US
X-Notice: Filtered by postfilter v. 0.9.2
 by: Jamal - Thu, 22 Dec 2022 23:04 UTC

You need to drop an SLE control on the Window, then change the Inherit
From property to the subclass mySLE. Forget about the Activate method.

Jamal

On 12/12/2022 11:18 AM, David Linda wrote:
> I found the code below:
>
> CLASS mySLE INHERIT SingleLineEdit //Creata a class inherit SingleLineEdit
>
> METHOD init(oOwner, nResourceID) CLASS mySLE // Init the Class
> SUPER:init(oOwner, nResourceID)
> RETURN SELF
>
> METHOD Dispatch(oEvent) CLASS mySLE
>
> IF oEvent:Message == WM_GETDLGCODE
>
> IF SELF:NameSym == #SymName // of your SLE
>
> IF oEvent:wParam == KEYENTER // or any key you want
>
> SELF:Owner:myMethod() //execute your method
> RETURN 0L
> ENDIF
>
> ENDIF
>
> ENDIF
>
> RETURN SUPER:Dispatch(oEvent)
>
> But the dispatch method never gets called...I am thinking that I need to create a mysle object in the datawindow activate method. Is that right?
>
> David

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor