realbasic-nug
[Top] [All Lists]

control arrays as arrays in IDE

To: realbasic-nug at lists dot realsoftware dot com
Subject: control arrays as arrays in IDE
From: Hector Schisa <joeschisa at mac dot com>
Date: Fri, 29 Feb 2008 09:42:04 -0500
Delivered-to: listarchive at realsoftware dot com
Delivered-to: realbasic-nug at lists dot realsoftware dot com
If this has been covered before, excuse, but mac mail is not too good  
(or I'm not) at searching for word combinations.

I  put an oval  in the IDE on a window as a control array [ i.e. oval1 
(0) ], adding members as user clicks for them (they represent points  
for later graphics [splines, to be specific]).  The question is:  in  
the IDE coding window, when I type oval1 the RB IDE auto-completes it  
as if it were an array (e.g. oval1.append, oval1.remove, etc.), but  
then gives error on compiling  with messages like "no such method" or  
"using as array but is not".

If these methods are not appropriate for control array, why is IDE  
code window auto-completing them for my oval1: is it a known issue (I  
can live with that)?  Or are these appropriate methods for the  
control array (standard array methods) and I'm just using them wrong  
(they would be handy):  if I'm using them wrong, does it have  
something to do with initially "declaring" the oval in the IDE  
instead of in code or what?  Can't find answer in RB docs.
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>


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