[vwnc] ComboBox Issue

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[vwnc] ComboBox Issue

Juan Pablo Cook
Hi Everybody! I have a problem with a ComboBox. I have properties - Choices: listaEditoriales.
So, This is the method:

listaEditoriales
| lista listaEdit |
    lista := adm listaEditoriales. "Here, I go to the DB and search the editoriales"
listaEdit := List new.
lista do:[:e | listaEdit add: (e at:1)]. "I add to listaEdit the editoriales, that are in an Array"

listaEditoriales := listaEdit asValue.

Finally, I have in the list listaEdit all the editoriales, like a String (I checked with listaEdit inspect) but fails when It want to assign that to the listaEditoriales again.

Can you help me? Do I use a ComboBox or a Menu? What I'm doing wrong? I read all the ComboBox information of the GUIDevGuide.pdf but I don't know what is bad.

The error is this: 'Unhandled exception: Message not understood: #value'

Thanks!!

JP Cook

_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc
Reply | Threaded
Open this post in threaded view
|

Re: [vwnc] ComboBox Issue

James Robertson-7
I did a screencast on the ComboBox widget here:


and here:



James Robertson
Cincom Smalltalk Product Evangelist
Talk Small and Carry a Big Class Library




On Jun 16, 2009, at 4:52 PM, Juan Pablo Cook wrote:

Hi Everybody! I have a problem with a ComboBox. I have properties - Choices: listaEditoriales.
So, This is the method:

listaEditoriales
| lista listaEdit |
    lista := adm listaEditoriales. "Here, I go to the DB and search the editoriales"
listaEdit := List new.
lista do:[:e | listaEdit add: (e at:1)]. "I add to listaEdit the editoriales, that are in an Array"

listaEditoriales := listaEdit asValue.

Finally, I have in the list listaEdit all the editoriales, like a String (I checked with listaEdit inspect) but fails when It want to assign that to the listaEditoriales again.

Can you help me? Do I use a ComboBox or a Menu? What I'm doing wrong? I read all the ComboBox information of the GUIDevGuide.pdf but I don't know what is bad.

The error is this: 'Unhandled exception: Message not understood: #value'

Thanks!!

JP Cook
_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc


_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc