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

Reply via email to