Another newbie question:

I'm working on a casino display that shows the results of dice rolls on
Window1.

In Window1, I have a SpriteSurface 'ssDicePair()' that I've given Index=0
(and a background image of blank dice). I created ssDicePair(0) by dragging
the SpriteSurface control into Window1 and setting Index=0. This
automatically provides Index as a parameter in all the SpriteSurface
methods. I've succeeded at getting 'dot' sprites attached to ssDicePair(0)
and putting them all in their places. I move the sprites to change the dot
patterns according to the roll results.

Now, I'd like to be able to generate additional SpriteSurfaces at runtime
(e.g., ssDicePair(1), ssDicePair(2), etc), arranged around Window1. I want
to instantiate the new SpriteSurfaces and set their left, top, height, and
width. After that, I'm expecting that each Open method would run. However, I
can't seem to get the syntax right.

Any clues will be appreciated.

Paul Mathews






_______________________________________________
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