It's not perfect, but I'll try it.
Then exactly want u want FCampos
. U can populate the color value in the combobox and u can set the "id" (not visible to user) of the color in the rowtag Property of the combobox. Further if u have any problem let me know.
Thank you very much for your answers and support. And sorry for answering so late.
I'll try to explain what I see using this control (combobox, popup menu, ...)
If I use a comboxbox with datacontrol binding the combobox to a data field, what it's stored in my field is what I'm seeing in my combobox, not with the rowtag value. I have to bind another control (hidden) to my datafield and update that control with my combobox rowtag when I update the combobox. Analogously, if I move to a record, I have to update the value of my combobox via code because the values of the combobox are not the ID's of the table that is based my combobox values.
Please, if I'm wrong or there is another way to do it, an easier way, let me know.
An example would be appreciated.