0

Dynamically add Textbox to Hbox

asked 2008-11-10 22:17:17 +0800

kevint gravatar image kevint
3

Has anyone been able to add any given number of textboxes to a hbox or some other container?

Thanks

delete flag offensive retag edit

1 Reply

Sort by ยป oldest newest

answered 2008-11-11 02:13:20 +0800

flyworld gravatar image flyworld
155 3

you can add them use "appendChild"

<window id="win" title="test">
	<hbox id="hbox" width="300px" height="300px"/>
	<zscript><![CDATA[  
		Textbox tb = new Textbox("test");
		hbox.appendChild(tb);
	]]></zscript>
</window>

link publish delete flag offensive edit
Your reply
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow

RSS

Stats

Asked: 2008-11-10 22:17:17 +0800

Seen: 114 times

Last updated: Nov 11 '08

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More