Thanks. That's just what I was looking for.
-----Original Message----- From: Luca Ritossa [mailto:[EMAIL PROTECTED] Sent: Friday, May 05, 2006 11:42 AM To: William Krick Cc: Laszlo-User Subject: Re: [Laszlo-user] help with datapaths Try with this: ------------------------------------------------------------------- <canvas> <dataset name="tablabels"> <item>one</item> <item>two</item> <item>three</item> </dataset> <view name="x"> <tabslider datapath="tablabels:/" width="250" height="300" inset_left="20" inset_top="20"> <tabelement text="$path{'item[1]'}" selected="true"/> <tabelement text="$path{'item[2]'}" /> <tabelement text="$path{'item[3]'}" /> </tabslider> </view> </canvas> ------------------------------------------------------------------- Bye bye. Luca Ritossa William Krick ha scritto: > I'm stuck and I'm hoping someone can help. > > Given the code below, what do I put in place of ??? to display the string > from the dataset as the label on the slider? > > <canvas> > > <dataset name="tablabels"> > <item>one</item> > <item>two</item> > <item>three</item> > </dataset> > > <tabslider datapath="tablabels:/"> > <tabelement text="???" selected="true"/> > <tabelement text="???" /> > <tabelement text="???" /> > </tabslider> > > </canvas> > > _______________________________________________ > Laszlo-user mailing list > [email protected] > http://www.openlaszlo.org/mailman/listinfo/laszlo-user > > _______________________________________________ Laszlo-user mailing list [email protected] http://www.openlaszlo.org/mailman/listinfo/laszlo-user
