[Gambas-user] variable content as object referer
    R. Stormo 
    rohnny at ...1248...
       
    Fri Sep 29 10:05:05 CEST 2006
    
    
  
Is it possible to use variable content as referer to a object?
psudeo
dim i as integer
const s as string="TextBox"
for i = 1 to 5
      eval(`s`&i.text) = "something"
next
or 
If I have written text2 in textbox1 I would 
use the content 
  eval('textbox1.text')="something"
What it will execute is
   text2.text = "something"
Hope someone understand what I mean. 
Reards Rohnny
     http://forum.stormweb.no
-- 
View this message in context: http://www.nabble.com/variable-content-as-object-referer-tf2355532.html#a6560888
Sent from the gambas-user mailing list archive at Nabble.com.
    
    
More information about the User
mailing list