1. close button dosen't work

Using the following code in Euphoria 2.3:
procedure close(integer a,integer b,sequence p)
   save_file({getText(EditText5)}&{getText(EditText6)}&{getText(etTop)}&
            {getText(etLeft)}   &{getText(etRow)}    &{getText(etSpace)}&
            {getText(etSize)}   &{getText(etAdj)},"label.dat")
   closeWindow(Window1)
end procedure
setHandler(PushButton5,w32HClick,routine_id("close"))

Works fine when running from the editor but after I bind it the Close button (PushButton5) does nothing. I deleted out the save routine and still nothing> Any ideas?

don cole SF }}}

new topic     » topic index » view message » categorize

2. Re: close button dosen't work

don cole wrote:
> 
> Using the following code in Euphoria 2.3:
> }}}
<eucode>
> procedure close(integer a,integer b,sequence p)
>    save_file({getText(EditText5)}&{getText(EditText6)}&{getText(etTop)}&
>             {getText(etLeft)}   &{getText(etRow)}    &{getText(etSpace)}&
>             {getText(etSize)}   &{getText(etAdj)},"label.dat")
>    closeWindow(Window1)
> end procedure
> setHandler(PushButton5,w32HClick,routine_id("close"))
> 
> Works fine when running from the editor but after I bind it the Close button
> (PushButton5) does nothing.
> I deleted out the save routine and still nothing>
> Any ideas?

"close" is a reserved word, isn't it? Maybe that's confusing things. Rename
your procedure to close_x() and it'll probably work fine.

-=ck
"Programming in a state of EUPHORIA."
http://www.cklester.com/euphoria/

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

3. Re: close button dosen't work

cklester wrote:
> 


> "close" is a reserved word, isn't it? Maybe that's confusing things. Rename
> your procedure to close_x() and it'll probably work fine.
> 
> -=ck
> "Programming in a state of EUPHORIA."
> http://www.cklester.com/euphoria/
> 
Thank you cklester and Merry Chistmas ,Happy Hollidays or whatever is polically
corect
now a days.

don cole
SF

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

Search



Quick Links

User menu

Not signed in.

Misc Menu