Charles Ross <[EMAIL PROTECTED]> wrote:

> Any other suggestions?

Use a dictionary.

dim v as string
dim d as new dictionary
dim s as statictext

d.value("a")=StaticText1
d.value("b")=StaticText2

now you can assign

v="a"
or
v="b"

and access it indirect using the dictionary.

s=d.value(v)

Gruß
Christian

-- 
Around eleven thousand functions in one REALbasic plug-in. 
The Monkeybread Software Realbasic Plugin v6.1.
<http://www.monkeybreadsoftware.de/realbasic/plugins.shtml>
_______________________________________________
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