Register to post in forums, or Log in to your existing account
 

This forum is locked: you cannot post, reply to, or edit topics.  This topic is locked: you cannot edit posts or make replies.     Home » Forums » General zApp Discussion
Zugg
MASTER


Joined: 25 Sep 2000
Posts: 23379
Location: Colorado, USA

PostPosted: Tue Jun 21, 2005 11:21 pm   

ActiveX events changing in v2.31
 
I found a problem with ActiveX events in the current 2.3 public version of zApp. It doesn't work in some cases when changing the value of parameters sent to ActiveX event routines.

I have a fix for it that I'm putting into v2.31. However, this fix was incompatible with the previous version. Specifically, the argument list of the event handler for an ActiveX control no longer has the "Sender" argument. Also, in the new version, the subroutine that is called by an event is: controlname_eventname without any extra "On" added to the eventname.

In other words, in the 2.3 version, you would handle the status change of the WebBrowser activeX control with a subroutine declared like this:
Code:
      sub Browser_OnStatusTextChange( Sender, sText)

where as in the new 2.31 version, the correct syntax will be:
Code:
      sub Browser_StatusTextChange( sText)

notice the absence of the Sender argument, and notice the absence of the "On" in the subroutine name.

This should make zApp ActiveX event handlers much more standard and should fix the problems changing passed argument values.
Reply with quote
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.     Home » Forums » General zApp Discussion All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
© 2009 Zugg Software. Hosted on Wolfpaw.net