Hi.....

a combobox with autodeclaration "yes" and name: combobox

place this code in the click-method of a button or in the init-method
of your form after the super()-call

to fill elements in the combobox:

      int i;

      for (i=0;i<10;i++) {
            combobox.add(int2str(i));
      }

to select an item via code:
     
      combobox.selection(5);


bye,
SebDra

___________________________________
Dipl.Ing.(BA) Sebastian Draese
www.source-center.de
           


-----Original Message-----
From: smeagul2303 [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 11, 2004 1:15 PM
To: [EMAIL PROTECTED]
Subject: [development-axapta] Using ComboBox





Hi,

using a combo box for showing content of a table field is easy.
You get a combo box if your table field is from type enum.

But how do I fill a combo box with a list of elements and how do i
select programmatically one item in the list ?

How do i react on user interaction ?

Does anyone has experiences wwith combo box control ?

Regards

Manfred










Yahoo! Groups Links











Yahoo! Groups Sponsor
ADVERTISEMENT
click here


Yahoo! Groups Links

Reply via email to