Hi, I'm having another problem with the Dropdownlist. The value returned by the command:
{List.nth {D get($)} {D get(firstselection:$)}} is a list of numbers (which I suppose represents the selected virtual string from the list). When combined with {L set(...)} the value displayed is really the string but when I try: Var := {List.nth {D get($)} {D get(firstselection:$)}} I get the list of numbers instead of the string itself in Var. Any help? Thanks. 2012/5/4 Torsten Anders <torsten.and...@plymouth.ac.uk> > Dear Khadija, > > Great you solved it. Indeed, the graphics in this documentation are very > distorted. > > Best wishes, > Torsten > > > On 3 May 2012, at 22:41, Khadija EL MAHRSI wrote: > > > Hi, > > Thank you for trying to help. I managed to solve the problem which was > caused by a silly mistake actually. When I was about to put the part of the > code which caused the problem, I noticed that I somehow missed the handle > part in the dropdownlistbox when I copied the code into my application > (maybe due to the weird way the web page was displayed) which is why it > didn't work. My mistake. > > > > > > 2012/5/3 Torsten Anders <torsten.and...@plymouth.ac.uk> > > Dear Khadija, > > > > I have not used QTk for years, so I don't remember any of theses things > I must say. > > > > Anyway, I wrote some application once that uses the Listbox widget, and > that is still working fine under Mozart 1.4.0 (just checked). Also, if I > remember correctly the Prototyper application uses this widget -- so you > could check its source out as an example. > > > > > http://www.mozart-oz.org/documentation/mozart-stdlib/wp/qtk/html/node2.html#chapter.prototyper > > > > So, for any more specific help I am afraid you need to send us some code > demonstrating your problem :) > > > > Best wishes, > > Torsten > > > > -- > > Dr Torsten Anders > > Course Leader, Music Technology > > University of Bedfordshire > > Park Square, Room A315 > > http://www.torsten-anders.de > > > > > > > > On 3 May 2012, at 15:07, Khadija EL MAHRSI wrote: > > > > > Hello, > > > I was experimenting with QTk and wanted to use the Dropdownlistbox. > First of all, the documentation page is weirdly displayed compared to the > other widgets and secondly (and more importantly), it's not working. The > part where the label is supposed to display the selected value from the > list is not working. I've tried making the label display any given string > instead and it worked. > > > I've also tried the Listbox widget and noticed that the items > disappear when selected. Is this normal? > > > Isn't there a way to have something close to the traditional List box > or Drop-down list box? > > > > > > Thanks. > > > > _________________________________________________________________________________ > > > mozart-users mailing list > mozart-users@mozart-oz.org > > > http://www.mozart-oz.org/mailman/listinfo/mozart-users > > > > > _________________________________________________________________________________ > > mozart-users mailing list > mozart-users@mozart-oz.org > > http://www.mozart-oz.org/mailman/listinfo/mozart-users > > > > > _________________________________________________________________________________ > > mozart-users mailing list > mozart-users@mozart-oz.org > > http://www.mozart-oz.org/mailman/listinfo/mozart-users > > > _________________________________________________________________________________ > mozart-users mailing list > mozart-users@mozart-oz.org > http://www.mozart-oz.org/mailman/listinfo/mozart-users >
_________________________________________________________________________________ mozart-users mailing list mozart-users@mozart-oz.org http://www.mozart-oz.org/mailman/listinfo/mozart-users