Re: Phix object arrays

new topic     » goto parent     » topic index » view thread      » older message » newer message
petelomax said...

Unfortunately it's just not smart enough to figure out that buttons[1] is a Button instance, not entirely dissimilar to how you can code

  Button b = new() 

but you had to say

  buttons[i] = new(Button) 

rather than

  buttons[i] = new() 

I was afraid that might be the case. Let me think about the best way to work around this. In EuGTK, it is very convenient to be able to make calls like this by name:

set("Button1.label","Foo") 

Perhaps I can do something similar.

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu