12-06-2013 11:20 AM
I have a array of 10 control references, obtained from taking the controls [] property of a cluster called mycontrols. I also have a cluster of individual control references that are already specifically classed from the original control - mycontrolsrefs. Is there a way to take this array of 10 control references obtained from teh controls property and make them more specific by using the cluster of individual control refs (mycontrolsrefs) that have been specifically classed without unpacking the thing and running each control thru a "to more specific class" function?
12-06-2013 05:27 PM
Use Type Cast
12-06-2013 08:49 PM
Thank you very much..That function was off on another menu which didnt bring that option to mind. It works great.
12-07-2013 03:17 AM
Glad to hear that it works. Please mark this threads as solved. (This is good forum practice.)
12-07-2013 03:11 PM
Actually, that was a pretty good trick! Looking at the original post my mind wasn't going in that direction at all. I'll remember
12-08-2013 12:01 AM
@JÞB wrote:
[...] Looking at the original post my mind wasn't going in that direction at all. [...]
Same with me. This way in doing it is far away from R-G code.