Talk About Network



Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Clarion > Re: Adding even...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 1 Topic 9073 of 9097
Post > Topic >>

Re: Adding event handlers

by pblais@[EMAIL PROTECTED] Apr 1, 2008 at 10:00 AM

To make your custom events you need an equate like this

mycustomeevent		EQUATE(401) ! custom events start at 401

Then on the event accepted loop add a new value

OF mycustomevent

Then to call the event in the procedure.

POST(mycustomevent)

Clarion is not like .Net with events.

POST can also be done to other threads using NOTIFY to send an event
to another thread. You then set up the receipt with NOTIFICATION. The
docs are good enough to help you through making this work if you need
to send data to another thread. You can pass a LONG to the thread with
the event too so that opens up a whole lot of options.

You can be dangerous now!

On 1 Apr 2008 07:19:24 -0500, "JannemanRobinson" <joske@[EMAIL PROTECTED]
> wrote:

>And if you read all the way through here thinking... What's he on?  Well,

>then at least, thank you for reading... :-)
---------------------------------------
 Paul Blais -  Hayes, Virginia




 1 Posts in Topic:
Re: Adding event handlers
pblais@[EMAIL PROTECTED]   2008-04-01 10:00:33 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Tue May 13 14:52:59 CDT 2008.