>    mDrawingAreaMatrix[X] = NEW DrawingArea(Panel1) AS "Card" & CStr(X)
>
>    I'm beginning to think that what I am trying to accomplish is not
> possible. How can a Draw event that is not in the compile-time source be
> accessed during run-time?
>

I don't know why you need multiple drawing areas, but your drawing areas
will raise the event by its name.
They will be:

Public Sub Card1_Draw()
Public Sub Card2_Draw()
 ...

But maybe it is easier to set the drawing areas as Cached.


Jussi
------------------------------------------------------------------------------
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to