1. Problem in program developed with VEL

Hi.

I am developing a program in VEL and have run into a problem.  I created
many controls successfully, and wanted to add another one.  So, I went about
it the same way I did all the others.  It was successfully created (with
NewControl()) and the attributes were successfully set (with
SetAttribute()).  The control (it was a button) appeared on the form just
fine.  But when I try to capture the CLICK_EVENT, it tells me that
"'usingOk' is undefined". ('usingOk' is the name of the control.)

Any ideas?

Ben

______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com

new topic     » topic index » view message » categorize

2. Re: Problem in program developed with VEL

Ben,

Thanks for the support to convince Gary to go on with VEL. But we'll need
more support, I guess!
Now to your question; the answer is quite simple: In VEL005, if you want to
use the EventHandler, you should create a control using CreateControl(),
instead of NewControl(). That way the callback routine wil get the message
you send it.

 ^  |
/-\<|

On Sat, 18 Sep 1999 18:06:51 EDT, Ben Logan <wbljr79 at HOTMAIL.COM> wrote:

>Hi.
>
>I am developing a program in VEL and have run into a problem.  I created
>many controls successfully, and wanted to add another one.  So, I went
about
>it the same way I did all the others.  It was successfully created (with
>NewControl()) and the attributes were successfully set (with
>SetAttribute()).  The control (it was a button) appeared on the form just
>fine.  But when I try to capture the CLICK_EVENT, it tells me that
>"'usingOk' is undefined". ('usingOk' is the name of the control.)
>
>Any ideas?
>
>Ben
>
>______________________________________________________
>Get Your Private, Free Email at http://www.hotmail.com

new topic     » goto parent     » topic index » view message » categorize

3. Re: Problem in program developed with VEL

Thanks, Ad!  I just downloaded VEL005 the other day, and didn't read the
manual carefully enough.  That fixed it though.

Ben


>From: Ad Rienks <kwibus at DOLFIJN.NL>
>To: EUPHORIA at LISTSERV.MUOHIO.EDU,              Ben Logan
><wbljr79 at HOTMAIL.COM>
>Subject: Re: Problem in program developed with VEL
>Date: Sat, 18 Sep 1999 19:24:51 -0400
>
>Ben,
>
>Thanks for the support to convince Gary to go on with VEL. But we'll need
>more support, I guess!
>Now to your question; the answer is quite simple: In VEL005, if you want to
>use the EventHandler, you should create a control using CreateControl(),
>instead of NewControl(). That way the callback routine wil get the message
>you send it.
>
>  ^  |
>/-\<|
>
>On Sat, 18 Sep 1999 18:06:51 EDT, Ben Logan <wbljr79 at HOTMAIL.COM> wrote:
>
> >Hi.
> >
> >I am developing a program in VEL and have run into a problem.  I created
> >many controls successfully, and wanted to add another one.  So, I went
>about
> >it the same way I did all the others.  It was successfully created (with
> >NewControl()) and the attributes were successfully set (with
> >SetAttribute()).  The control (it was a button) appeared on the form just
> >fine.  But when I try to capture the CLICK_EVENT, it tells me that
> >"'usingOk' is undefined". ('usingOk' is the name of the control.)
> >
> >Any ideas?
> >
> >Ben
> >
> >______________________________________________________
> >Get Your Private, Free Email at http://www.hotmail.com

______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu