Thanks for the help. Got it working now.

Thanks and Regards,
Sriram
-----Original Message-----
From: Josua Dietze [mailto:[email protected]] 
Sent: Saturday, October 17, 2009 1:17 PM
To: [email protected]
Subject: Re: [vtcl-user] Doubts in Tree and TableList widget

Sriram Rajagopal01 schrieb:

> Thanks a lot for the input,Joshua. Any pointers to my second question?
> 
> 2. Another widget is the Tablelist. Is it possible for the user launching to 
> add elements to the table list i.e. in real time? If so,how to? If not, is 
> there any alternate widget that can perform this task?

In vtcl - as anywhere in Tcl/Tk - you can dynamically change widgets 
which includes creating and deleting.

Either you use the widget name constructed by vtcl like 
".top73.fra74.tab75" or - much more comfortable - you use the 
provided "Alias" (see Attribute Editor) like "Tablelist1", contained 
in the "widget" array.

To add a row you would do this in one of your functions:

$widget(Tablelist1) insert end {column1 column2 column3 ...}

Mind that "widget" has to be declared global in functions; if you 
add a new procedure in the "Function List", this declaration is 
already added.


Josh
-- 
Man is the only creature on earth enabled to take a
warm meal while flying!                      Loriot

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
vtcl-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/vtcl-user

**************** CAUTION - Disclaimer *****************
This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely 
for the use of the addressee(s). If you are not the intended recipient, please 
notify the sender by e-mail and delete the original message. Further, you are 
not 
to copy, disclose, or distribute this e-mail or its contents to any other 
person and 
any such actions are unlawful. This e-mail may contain viruses. Infosys has 
taken 
every reasonable precaution to minimize this risk, but is not liable for any 
damage 
you may sustain as a result of any virus in this e-mail. You should carry out 
your 
own virus checks before opening the e-mail or attachment. Infosys reserves the 
right to monitor and review the content of all messages sent to or from this 
e-mail 
address. Messages sent to or from this e-mail address may be stored on the 
Infosys e-mail system.
***INFOSYS******** End of Disclaimer ********INFOSYS***

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
vtcl-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/vtcl-user

Reply via email to