1. onClick commands

I get an error on executing a program "onClick" . Where are these located? Thanks jvandal

new topic     » topic index » view message » categorize

2. Re: onClick commands

jvandal said...

I get an error on executing a program "onClick" . Where are these located?

I assume you are using the Win32Lib library.

The onXXX interface has been discontinued (for some time now actually). You need to convert them to the 'handler' interface.

The onXXX code might say ...

procedure handleClick_Button() 
 . . . 
end procedure 
onClick[theButton] = routine_id("handleClick_Button") 

The converted code might look like...

procedure handleClick_Button(integer self, integer event, sequence parms) 
 . . . 
end procedure 
setHandler(theButton, w32HClick, routine_id("handleClick_Button")) 
new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu