gettingstarted
[Top] [All Lists]

Re: Newbie trouble

To: Getting Started <gettingstarted at lists dot realsoftware dot com>
Subject: Re: Newbie trouble
From: Dan Berghult <dan dot berghult at infomaker dot se>
Date: Fri, 25 Feb 2005 21:32:36 +0100
Delivered-to: gettingstarted at lists dot realsoftware dot com
References: <421E17EF dot 3030901 at kotisprop dot com> <56B7F7E8-868F-11D9-A98F-00039378202C at realsoftware dot com> <01d139f61cbe26511d21b046c5bdd98d at mobleybros dot com> <421E28E5 dot 9090509 at kotisprop dot com> <9950813c5bba4c309291fa34630960ea at shaw dot ca> <a06002004be452a20081f at [10 dot 0 dot 1 dot 3]> <a0620071dbe452db767ed at [10 dot 10 dot 13 dot 4]>
At 8:19 PM +0100 2/25/05, Dan Berghult wrote:

I have a window containing 20 Canvas objects which I want to access in a loop.

Give them all the same name in the window editor, making them into a control array. The name should be something descriptive of what they are for; but for the sake of example, I'll call them WidgetCanv. Then the code would be:

  for j = 1 to 20
     WidgetCanv(j).Backdrop = vPicture
  next

Best,



Sure did the trick.  Thanks!



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

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

<Prev in Thread] Current Thread [Next in Thread>