1. help

I'm moving my programs to the new win32 and having some success but I don't
know where to look for this trap. My keypress's are working fine but when I
click a button it blows up with this message... which is a long way away
from my program. Here's the code:

----------------------------------- Button
Handler ----------------------------------
procedure clickButton(integer self, integer eventId, sequence arg)
 for i = 1 to len(btn) do
  if self = btn[i] then
   call_proc(buttonProcess[i],{})
   exit
  end if
 end for
end procedure
-------------------------------- Setup process
control ------------------------------

 setHandler(btn, w32HClick, routine_id("clickButton"))

Here's the error txt:

E:\EUPHORIA\include\win32lib.ew:7146 in function invokeHandler()
call_proc/call_func: an integer was expected, not a sequence
    id = 81'Q'
    event = 4
    params = {}
    lRoutines = {{106'j'}}
    lCallType = 1
    i = 1
    j = 1

... called from E:\EUPHORIA\include\win32lib.ew:7146 in function
invokeHandler()
    id = 49'1'
    event = 6700160
    params = 51'3'
    lRoutines = 9385548
    lCallType = 51'3'
    i = 1
    j = 1

... called from E:\EUPHORIA\include\win32lib.ew:22851 in procedure
wmCommand()
    id = 81'Q'
    hWnd = 1024
    iMsg = 273
    wParam = 0
    lParam = 1488
    event = 0
    w32event = 4
    parms = {}

... called from E:\EUPHORIA\include\win32lib.ew:23753 in function
fDoCommand()
    id = 3
    hWnd = 1024
    iMsg = 273
    wParam = 0
    lParam = 1488
    pReturn = -2761
    lRC = {-9987}
    lChildId = 81'Q'

... called from E:\EUPHORIA\include\win32lib.ew:24725 in function
MessageProcessor()
    pSource = -2761
    hWnd = 1024
    iMsg = 273
    wParam = 0
    lParam = 1488
    id = 3
    lHandledEvent = 2
    lTemp = <no value>
    result = <no value>
    lUserReturn = <no value>

... called from E:\EUPHORIA\include\win32lib.ew:24772 in function WndProc()
    hWnd = 1024
    iMsg = 273
    wParam = 0
    lParam = 1488

^^^ call-back from Windows

... called from E:\EUPHORIA\include\w32dll.ew:208 in function w32Func()
    funcid = 59';'
    parms = {-2145003624,1488,514,0,1179680}
    lRC = <no value>
    libfunc = <no value>
    lFuncDef = 41')'
    linked = <no value>
    memset = 0
    i = 5

... called from E:\EUPHORIA\include\win32lib.ew:24737 in function
MessageProcessor()
    pSource = -9987
    hWnd = 1488
    iMsg = 514
    wParam = 0
    lParam = 1179680
    id = 81'Q'
    lHandledEvent = 14
    lTemp = <no value>
    result = {-9987}
    lUserReturn = <no value>

... called from E:\EUPHORIA\include\win32lib.ew:24778 in function SubProc()
    hWnd = 1488
    iMsg = 514
    wParam = 0
    lParam = 1179680

^^^ call-back from Windows

... called from E:\EUPHORIA\include\w32dll.ew:279 in procedure w32Proc()
    funcid = 26
    parms = {9456300}
    libfunc = <no value>
    lFuncDef = 50'2'
    memset = 0
    i = 1

... called from E:\EUPHORIA\include\win32lib.ew:25062 in procedure
eventLoop()
    id = 0
    Flag = -1
    msg = 9456300
    hWnd = 0
    getRC = 1
    inc = 0
    el = 1
    lTock = 0

... called from E:\EUPHORIA\include\win32lib.ew:25206 in procedure WinMain()

new topic     » topic index » view message » categorize

2. Re: help

On Tue, 22 Jul 2003 08:43:12 -0400, George Walters
<gwalters at sc.rr.com> wrote:

>
>
>I'm moving my programs to the new win32 and having some success but I =
don't
>know where to look for this trap.

what is buttonProcess[i]?

Pete

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

3. Re: help

>----------------------------------- Button
>Handler ----------------------------------
>procedure clickButton(integer self, integer eventId, sequence arg)
>  for i = 1 to len(btn) do
>   if self = btn[i] then
>    call_proc(buttonProcess[i],{})
>    exit
>   end if
>  end for
>end procedure
>
>  setHandler(btn, w32HClick, routine_id("clickButton"))
>


Since 'btn' appears to be a sequence of buttons you may have to do:

constant clickHandlerID = routine_id("clickButton")
for i=1 to length(btn) do
  setHandler(btn[i], w32HClick, clickHandlerID)
end for

..although I'm no expert on win32lib, so I don't know if this is what's 
causing the problem.

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

4. Re: help

if anyone responded to this please resubmit. my emails have been getting
bounced back...(ISP problem)

thanks

----- Original Message -----
From: "George Walters" <gwalters at sc.rr.com>
To: "EUforum" <EUforum at topica.com>
Subject: help


>
>
> I'm moving my programs to the new win32 and having some success but I
don't
> know where to look for this trap. My keypress's are working fine but when
I
> click a button it blows up with this message... which is a long way away
> from my program. Here's the code:
>
> procedure clickButton(integer self, integer eventId, sequence arg)
>  for i = 1 to len(btn) do
>   if self = btn[i] then
>    call_proc(buttonProcess[i],{})
>    exit
>   end if
>  end for
> end procedure
>
>  setHandler(btn, w32HClick, routine_id("clickButton"))
>
> Here's the error txt:
>
> E:\EUPHORIA\include\win32lib.ew:7146 in function invokeHandler()
> call_proc/call_func: an integer was expected, not a sequence
>     id = 81'Q'
>     event = 4
>     params = {}
>     lRoutines = {{106'j'}}
>     lCallType = 1
>     i = 1
>     j = 1
>
> ... called from E:\EUPHORIA\include\win32lib.ew:7146 in function
> invokeHandler()
>     id = 49'1'
>     event = 6700160
>     params = 51'3'
>     lRoutines = 9385548
>     lCallType = 51'3'
>     i = 1
>     j = 1
>
> ... called from E:\EUPHORIA\include\win32lib.ew:22851 in procedure
> wmCommand()
>     id = 81'Q'
>     hWnd = 1024
>     iMsg = 273
>     wParam = 0
>     lParam = 1488
>     event = 0
>     w32event = 4
>     parms = {}
>
> ... called from E:\EUPHORIA\include\win32lib.ew:23753 in function
> fDoCommand()
>     id = 3
>     hWnd = 1024
>     iMsg = 273
>     wParam = 0
>     lParam = 1488
>     pReturn = -2761
>     lRC = {-9987}
>     lChildId = 81'Q'
>
> ... called from E:\EUPHORIA\include\win32lib.ew:24725 in function
> MessageProcessor()
>     pSource = -2761
>     hWnd = 1024
>     iMsg = 273
>     wParam = 0
>     lParam = 1488
>     id = 3
>     lHandledEvent = 2
>     lTemp = <no value>
>     result = <no value>
>     lUserReturn = <no value>
>
> ... called from E:\EUPHORIA\include\win32lib.ew:24772 in function
WndProc()
>     hWnd = 1024
>     iMsg = 273
>     wParam = 0
>     lParam = 1488
>
> ^^^ call-back from Windows
>
> ... called from E:\EUPHORIA\include\w32dll.ew:208 in function w32Func()
>     funcid = 59';'
>     parms = {-2145003624,1488,514,0,1179680}
>     lRC = <no value>
>     libfunc = <no value>
>     lFuncDef = 41')'
>     linked = <no value>
>     memset = 0
>     i = 5
>
> ... called from E:\EUPHORIA\include\win32lib.ew:24737 in function
> MessageProcessor()
>     pSource = -9987
>     hWnd = 1488
>     iMsg = 514
>     wParam = 0
>     lParam = 1179680
>     id = 81'Q'
>     lHandledEvent = 14
>     lTemp = <no value>
>     result = {-9987}
>     lUserReturn = <no value>
>
> ... called from E:\EUPHORIA\include\win32lib.ew:24778 in function
SubProc()
>     hWnd = 1488
>     iMsg = 514
>     wParam = 0
>     lParam = 1179680
>
> ^^^ call-back from Windows
>
> ... called from E:\EUPHORIA\include\w32dll.ew:279 in procedure w32Proc()
>     funcid = 26
>     parms = {9456300}
>     libfunc = <no value>
>     lFuncDef = 50'2'
>     memset = 0
>     i = 1
>
> ... called from E:\EUPHORIA\include\win32lib.ew:25062 in procedure
> eventLoop()
>     id = 0
>     Flag = -1
>     msg = 9456300
>     hWnd = 0
>     getRC = 1
>     inc = 0
>     el = 1
>     lTock = 0
>
> ... called from E:\EUPHORIA\include\win32lib.ew:25206 in procedure
WinMain()
>
>
>
> TOPICA - Start your own email discussion group. FREE!
>
>

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

5. Re: help

Pete, buttonProcess is a table of the routines to branch to...but it never
gets that far. I can't even "trace(1)" it. it blows up immediately when I
click any button.


sequence  leftButtonText,leftButtonProcess

 leftButtonText = {"E&XIT"}
 leftButtonProcess = {"processExit"}

sequence rightButtonText,rightButtonProcess

 rightButtonText = {"&CHANGE","&SAVE","A&BORT"}
 rightButtonProcess = {"processChange","processSave",
      "processAbort"}
sequence buttonProcess
 buttonProcess = leftButtonProcess & rightButtonProcess


george

----- Original Message -----
From: "Pete Lomax" <petelomax at blueyonder.co.uk>
To: "EUforum" <EUforum at topica.com>
Sent: Tuesday, July 22, 2003 2:58 PM
Subject: Re: help


>
>
> On Tue, 22 Jul 2003 08:43:12 -0400, George Walters
> <gwalters at sc.rr.com> wrote:
>
> >
> >I'm moving my programs to the new win32 and having some success but I
don't
> >know where to look for this trap.
>
> what is buttonProcess[i]?
>
> Pete
>
>
>
> TOPICA - Start your own email discussion group. FREE!
>
>

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

6. Re: help

I read the doc in win32lib and is seems to be able to handle a sequence of
ID's....

Derek's email seems to say setHandler can handle a sequence... per his
email.

"    setHandler(lbt&rbt, w32HClick, routine_id("xfr_click"))"


george

----- Original Message -----
From: <stabmaster_ at hotmail.com>
To: "EUforum" <EUforum at topica.com>
Sent: Tuesday, July 22, 2003 3:41 PM
Subject: Re: help


>
>
> >procedure clickButton(integer self, integer eventId, sequence arg)
> >  for i = 1 to len(btn) do
> >   if self = btn[i] then
> >    call_proc(buttonProcess[i],{})
> >    exit
> >   end if
> >  end for
> >end procedure
> >
> >  setHandler(btn, w32HClick, routine_id("clickButton"))
> >
>
> Since 'btn' appears to be a sequence of buttons you may have to do:
>
> constant clickHandlerID = routine_id("clickButton")
> for i=1 to length(btn) do
>   setHandler(btn[i], w32HClick, clickHandlerID)
> end for
>
> ..although I'm no expert on win32lib, so I don't know if this is what's
> causing the problem.
>
>
>
> TOPICA - Start your own email discussion group. FREE!
>
>

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

7. Re: help

----- Original Message ----- 
From: "George Walters" <gwalters at sc.rr.com>
To: "EUforum" <EUforum at topica.com>
Subject: help


> 
> 
> I'm moving my programs to the new win32 and having some success but I don't
> know where to look for this trap. My keypress's are working fine but when I
> click a button it blows up with this message... which is a long way away
> from my program. Here's the code:
> 
> ----------------------------------- Button
> Handler ----------------------------------
> procedure clickButton(integer self, integer eventId, sequence arg)
>  for i = 1 to len(btn) do
>   if self = btn[i] then
>    call_proc(buttonProcess[i],{})
>    exit
>   end if
>  end for
> end procedure
> -------------------------------- Setup process
> control ------------------------------
> 
>  setHandler(btn, w32HClick, routine_id("clickButton"))
> 

As you indicate in a subsequent email, buttonProcess contains a list of
procedure names. That is, each element in buttonProcess is a NAME of a routine in
your program. Thus the line ...

   call_proc(buttonProcess[i],{})

is running call_proc() giving the first parameter a routine name. However,
call_proc()'s first parameter must be a routine_id and not a routine name.

The easiest fix for you is to change this line to ...

   call_proc(routine_id(buttonProcess[i]),{})

but that is also the slowest executing fix. You might like to consider this
fix... Leave the call_proc() line as it is but change the initialization of
buttonProcess...

   rightButtonProcess = {routine_id("processChange"),
                         routine_id("processSave"),
                         routine_id("processAbort")}
etc ....

An even better fix (in terms of execution speed) is to do this...Change the
initialization as above and change the code in clickButton() to ...



 procedure clickButton(integer self, integer eventId, sequence arg)
  int pos
  pos = find(self, btn)
  if pos != 0 then
    call_proc(buttonProcess[pos],{})
  end if
 end procedure

Though I still prefer the original method I sent you.

-- 
Derek

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

8. Re: help

----- Original Message -----=20
From: "George Walters" <gwalters at sc.rr.com>
To: "EUforum" <EUforum at topica.com>
Subject: Re: help


>=20
>=20
> I read the doc in win32lib and is seems to be able to handle a =
sequence of
> ID's....
>=20
> Derek's email seems to say setHandler can handle a sequence... per his
> email.
>=20
> "    setHandler(lbt&rbt, w32HClick, routine_id("xfr_click"))"
>=20

Confirmed. The first parameter to setHandler can either be a single =
control ID or a list of control ids.

--=20
Derek

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

9. Re: help

now that you've explained the bug it's obvious. i couldn't see the forrest
for the trees...

thanks. Derek

george

----- Original Message -----
From: "Derek Parnell" <ddparnell at bigpond.com>
To: "EUforum" <EUforum at topica.com>
Subject: Re: help


>
>
> ----- Original Message -----
> From: "George Walters" <gwalters at sc.rr.com>
> To: "EUforum" <EUforum at topica.com>
> Sent: Tuesday, July 22, 2003 10:43 PM
> Subject: help
>
>
> > I'm moving my programs to the new win32 and having some success but I
don't
> > know where to look for this trap. My keypress's are working fine but
when I
> > click a button it blows up with this message... which is a long way away
> > from my program. Here's the code:
> >
> > procedure clickButton(integer self, integer eventId, sequence arg)
> >  for i = 1 to len(btn) do
> >   if self = btn[i] then
> >    call_proc(buttonProcess[i],{})
> >    exit
> >   end if
> >  end for
> > end procedure
> >
> >  setHandler(btn, w32HClick, routine_id("clickButton"))
> >
>
> As you indicate in a subsequent email, buttonProcess contains a list of
procedure names. That is, each element in buttonProcess is a NAME of a
routine in your program. Thus the line ...
>
>    call_proc(buttonProcess[i],{})
>
> is running call_proc() giving the first parameter a routine name. However,
call_proc()'s first parameter must be a routine_id and not a routine name.
>
> The easiest fix for you is to change this line to ...
>
>    call_proc(routine_id(buttonProcess[i]),{})
>
> but that is also the slowest executing fix. You might like to consider
this fix... Leave the call_proc() line as it is but change the
initialization of buttonProcess...
>
>    rightButtonProcess = {routine_id("processChange"),
>                          routine_id("processSave"),
>                          routine_id("processAbort")}
> etc ....
>
> An even better fix (in terms of execution speed) is to do this...Change
the initialization as above and change the code in clickButton() to ...
>
>
>  procedure clickButton(integer self, integer eventId, sequence arg)
>   int pos
>   pos = find(self, btn)
>   if pos != 0 then
>     call_proc(buttonProcess[pos],{})
>   end if
>  end procedure
>
> Though I still prefer the original method I sent you.
>
> --
> Derek
>
>
>
> TOPICA - Start your own email discussion group. FREE!
>
>

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

10. help

What is the unsusscribe command for this list?

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

11. Re: help

To leave the Euphoria mailing list,
send an e-mail message to:

         LISTSERV at LISTSERV.MUOHIO.EDU

Note the new address. Unfortunately there are still
many copies of EUPHOR21.ZIP floating around that
have an older, now invalid LISTSERV address.

The subject of your message doesn't matter, but
the first line of your message must be:

         SIGNOFF EUPHORIA

To avoid any possible confusion, do not put any other text
in the body of your message, not even a signature.

You can also try the Web interface for leaving the list:

Visit:  http://www.RapidEuphoria.com/listserv.htm
for other list server commands, such as the DIGESTS
command that will give you just one (large) message
per day.

You can also view the mailing list from our main page.
Click on "most recent messages" near the bottom.

Possible Problems:

Be sure to send the SIGNOFF command from the
same e-mail address that you used to subscribe in the
first place. Sometimes this is not possible because your
service provider has changed your address in some way.
If LISTSERV rejects your request to signoff, it will reply
with a lengthy message. Somewhere in that message
is the address of a human being (not myself) who can take you
off the list manually. Allow a few days for this to happen.

If you are still stuck, e-mail me personally and I will
contact the list owner for you.

Regards,
     Rob Craig
     Rapid Deployment Software
     http://www.RapidEuphoria.com

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

12. help

------=_NextPart_000_0016_01BF99BD.3A617F40
        charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi there i have just downloaded euphoria but do not know how to run it =
please help.


------=_NextPart_000_0016_01BF99BD.3A617F40
        charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD W3 HTML//EN">
<HTML>
<HEAD>

<META content=3Dtext/html;charset=3Diso-8859-1 =
http-equiv=3DContent-Type>
<META content=3D'"MSHTML 4.72.3110.7"' name=3DGENERATOR>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT color=3D#000000 size=3D2>Hi there i have just downloaded =
euphoria but do=20
not know how to run it please help.</FONT></DIV>

------=_NextPart_000_0016_01BF99BD.3A617F40--

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

13. Re: help

> peter wolstencroft wrote:
>
> Hi there i have just downloaded euphoria but do not know how to run it
> please help.
>

Hi Peter, as far as I remember: unzip euhpor22.zip in a temporary DIR
and read the install.doc with an ordinary editor like NOTEPAD (it's not
a WORD-DOC).
Read the instructions.
Good luck! Rolf

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

14. help

------=_NextPart_000_0009_01BF7144.B4F2F780
        charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Newbie here, I hit f5 using david's EE to execute a program and windows =
reported not enough memory. euphoria reported a fatal error (of course) =
but ever since running ex or exw both report 'more than 300 lines'. EXW =
has always reported this but not EX. Any Ideas what got dorked and how =
do I fix?

... thanks... george

------=_NextPart_000_0009_01BF7144.B4F2F780
        charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD W3 HTML//EN">
<HTML>
<HEAD>

<META content=3Dtext/html;charset=3Diso-8859-1 =
http-equiv=3DContent-Type>
<META content=3D'"MSHTML 4.72.3110.7"' name=3DGENERATOR>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT color=3D#000000 size=3D2>Newbie here, I hit f5 using david's =
EE to=20
execute a program and windows reported not enough memory. euphoria =
reported a=20
fatal error (of course) but ever since running ex or exw both report =
'more than=20
300 lines'. EXW has always reported this but not EX. Any Ideas what got =
dorked=20
and how do I fix?</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#000000 size=3D2>... thanks... =

------=_NextPart_000_0009_01BF7144.B4F2F780--

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

15. Re: help

----- Original Message -----
From: George Walters <gwalters at SC.RR.COM>
To: <EUPHORIA at LISTSERV.MUOHIO.EDU>
Sent: Monday, February 07, 2000 8:24 AM
Subject: help
--

Newbie here, I hit f5 using david's EE to execute a program and windows
reported not enough memory. euphoria reported a fatal error (of course) but
ever since running ex or exw both report 'more than 300 lines'. EXW has
always reported this t not EX. Any Ideas what got dorked and how do I fix?
--
Do you get the "more than 300 lines" message when you try to run a one-line
hello.ex program? One thing that might help: search and destroy all ex.err
files you can find.
If an ex.err file was produced, and somehow got write protected, then you'll
keep
getting that old error no matter what is really wrong.

HTH
Irv

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

16. help

i would like to make a program that has the option to press "Q" to quit.
can you tell me how?
--
BMxQ

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

17. Re: help

Umm... more information??
What would this program want to do?

....Blind suggestion....
integer key
while stay_in_loop_condition do
  key = get_key()
  if key = "Q" or key = "q" then exit end if
  do_whatever(with_stuff)
end while

Anyway... <B?,
Nick

JON STOHR wrote:

> i would like to make a program that has the option to press "Q" to quit.
> can you tell me how?
> --
> BMxQ

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

18. Re: help

Nick wrote:
>
> Umm... more information??
> What would this program want to do?
>
> ....Blind suggestion....
> integer key
> while stay_in_loop_condition do
>   key = get_key()
>   if key = "Q" or key = "q" then exit end if
>   do_whatever(with_stuff)
> end while
>
> Anyway... <B?,
> Nick
>
> JON STOHR wrote:
>
> > i would like to make a program that has the option to press "Q" to quit.
> > can you tell me how?
> > --
> > BMxQ
>When I try the program it says stay_in_loop_condition has not been declared!
>what should i do?
--
BMxQ

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

19. Re: help

On Wed, 7 Apr 1999 17:44:06 -0500, JON STOHR <sstohr at SPRINTMAIL.COM> wrote:

>i would like to make a program that has the option to press "Q" to quit.
>can you tell me how?
>--
include get.e
object key

while 1 do
  --------------------------------
  -- your program steps go here --
  --------------------------------
  puts(1,"Press Q to Quit, any other key to continue ")
  key = wait_key() -- wait for a keypress
  if compare(key,"Q") = 0 then exit
  elsif compare(key,"q") = 0 then exit
  end if
  ---------------------------------
  -- other steps can go here     --
  ---------------------------------
end while

Irv

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

20. Re: help

Sheesh! I hate replying to my own messages, but here goes:

include get.e
object key

while 1 do
  --------------------------------
  -- your program steps go here --
  --------------------------------
  position(22,1) -- add this to position the prompt
  puts(1,"Press Q to Quit, any other key to continue ")
  key = wait_key() -- wait for a keypress
  if compare(key,'q') = 0 then exit -- changed from double quotes
  elsif compare(key,'Q') = 0 then exit -- to single quotes
  end if
  ---------------------------------
  -- other steps can go here     --
  ---------------------------------
end while

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

21. Re: help

Oh dear, stay_in_loop_condition and do_whatever(with_stuff) were meant to be
representative of your
own program variables and code, whatever they might be.  Sorry for the
confusion.

Cheers,
Nick

JON STOHR wrote:

> Nick wrote:
> >
> > Umm... more information??
> > What would this program want to do?
> >
> > ....Blind suggestion....
> > integer key
> > while stay_in_loop_condition do
> >   key = get_key()
> >   if key = "Q" or key = "q" then exit end if
> >   do_whatever(with_stuff)
> > end while
> >
> > Anyway... <B?,
> > Nick
> >
> > JON STOHR wrote:
> >
> > > i would like to make a program that has the option to press "Q" to quit.
> > > can you tell me how?
> > > --
> > > BMxQ
> >When I try the program it says stay_in_loop_condition has not been declared!
> >what should i do?
> --
> BMxQ

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

22. help

This is a multi-part message in MIME format.

------=_NextPart_000_005E_01C27150.2C6F28C0
	charset="iso-8859-1"

ok please help with my preveous message!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

------=_NextPart_000_005E_01C27150.2C6F28C0
	charset="iso-8859-1"

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.2614.3500" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>ok please help with my preveous=20

------=_NextPart_000_005E_01C27150.2C6F28C0--

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

23. help

I have a panel with 3 editText fields to collect parameters to run the
program. The're in a window that is then closed and the main window opens,
uses the parameters to run and display stuff.

Problem: getText(id) for all of the id's on the panel do not return the data
in the field. They all return {}. I've checked the id's and they're all
valid numbers, so I'm lost. I've used this in other programs with no
problem. This one has me stumped.

Here's the id

-- Range Selection of filter
    reportRange = create(Group,"Vendor
Selection",parmWindow,40,cy*10-25,320,65,0)
        setFont(reportRange, "Courier New", fs, Bold)

        id = create (LText,"Vendor Nbr",reportRange,5,cy*1+10,cx*12,25,0)
        idVendor =
create(EditText,"ALL",reportRange,cx*7,cy*1+5,cx*8,cy+4,ES_UPPERCASE)


Here's the getText

        -- Report Customer range selection
        reportFrom =getText(idVendor)

Hope you see something wrong.

george

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

24. Re: help

> I have a panel with 3 editText fields to collect parameters to run the
> program. The're in a window that is then closed and the main window 
> opens, uses the parameters to run and display stuff.
>
> Problem: getText(id) for all of the id's on the panel do not return the 
> data in the field. They all return {}. I've checked the id's and they're
> all valid numbers, so I'm lost. I've used this in other programs with no
> problem. This one has me stumped.
>
> Here's the id
>
> -- Range Selection of filter
>     reportRange = create(Group,"Vendor
> Selection",parmWindow,40,cy*10-25,320,65,0)
>         setFont(reportRange, "Courier New", fs, Bold)
>
>         id = create (LText,"Vendor Nbr",reportRange,5,cy*1+10,cx*12,25,0)
>         idVendor =
> create(EditText,"ALL",reportRange,cx*7,cy*1+5,cx*8,cy+4,ES_UPPERCASE)
>
> Here's the getText
>
>         -- Report Customer range selection
>         reportFrom =getText(idVendor)
>
> Hope you see something wrong.
>
> george

George, where and when are you calling getText? If you call it after the 
window is already closed, maybe the textboxes are already destroyed or 
reset, and don't have a value anymore.

-- 

Tommy Carlier
tommy online: http://users.pandora.be/tommycarlier

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

25. Re: help

Tommy, that's the problem. So simple but I could not see it...

thanks.

george

----- Original Message -----
From: "Tommy Carlier" <tommy.carlier at pandora.be>
To: <EUforum at topica.com>
Subject: Re: help


>
>
> > I have a panel with 3 editText fields to collect parameters to run the
> > program. The're in a window that is then closed and the main window
> > opens, uses the parameters to run and display stuff.
> >
> > Problem: getText(id) for all of the id's on the panel do not return the
> > data in the field. They all return {}. I've checked the id's and they're
> > all valid numbers, so I'm lost. I've used this in other programs with no
> > problem. This one has me stumped.
> >
> > Here's the id
> >
> > -- Range Selection of filter
> >     reportRange = create(Group,"Vendor
> > Selection",parmWindow,40,cy*10-25,320,65,0)
> >         setFont(reportRange, "Courier New", fs, Bold)
> >
> >         id = create (LText,"Vendor
Nbr",reportRange,5,cy*1+10,cx*12,25,0)
> >         idVendor =
> > create(EditText,"ALL",reportRange,cx*7,cy*1+5,cx*8,cy+4,ES_UPPERCASE)
> >
> > Here's the getText
> >
> >         -- Report Customer range selection
> >         reportFrom =getText(idVendor)
> >
> > Hope you see something wrong.
> >
> > george
>
> George, where and when are you calling getText? If you call it after the
> window is already closed, maybe the textboxes are already destroyed or
> reset, and don't have a value anymore.
>
> --
>
> Tommy Carlier
> tommy online: http://users.pandora.be/tommycarlier
>
>
>
> For Topica's complete suite of email marketing solutions visit:
> http://www.topica.com/?p=TEXFOOTER
>
>

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

26. help

pls tell how to execute euphoria? or what exactly do i have to do after 
instalation?
hyh

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

27. Re: help

On Sunday 06 January 2002 05:52 am, you wrote:
>
>
> pls tell how to execute euphoria? or what exactly do i have to do after
> instalation?
> hyh

For DOS? 
Windows (which version?)
Linux?

Regards,
Irv

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

Search



Quick Links

User menu

Not signed in.

Misc Menu