In a message regarding RaiseEvent dated Fri, 21 Apr 2006 23:01:39 -0700,
Charles Ross said that ...

> I have created a subclass of the ListBox that I've added an Event
> Defintion to called Update, which will update the contents of the
> listbox. The window with this listbox has many of these subclassed
> listboxes, so I thought it would be better to have each listbox know  
> how to update itself rather than place the code for updating a
> listbox into a method of the Window.

If you're intending to have code in the window something like
myListBox1.Update
and the subclass knows how to update itself, then you need a method, not an
event.


--
Steve Garman
Using REALbasic 2006r2 Professional on Windows XP Pro



_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to