In a message regarding Listbox Control "CellTextPaint" Event dated Mon, 30
May 2005 13:32:54 -0700, Claude W Stone said that ...
> Can anyone point me to some example code which provides for calling and
> the
> five(5) parameter passing that's required by the "celltextpaint" event.
>
> On one hand I hear that you can't call control events but this must be
> callable
> since it requires that 5 parameters be passed to it. ie:
> Function CellTextPaint(g As Graphics, row As Integer, column As Integer,
> x As Integer, y As Integer) As Boolean
You can't call the events and it's not your job to pass the parameters.
RB's framework will do that.
You can use the parameters within the event handler.
If you want to force the event to fire, you could try the InvalidateCell
method.
--
Steve Garman
Using REALbasic 5.5.5 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>
|