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 | |
|
|
Yahoo! Groups Links
- To visit your group on the web, go to:
http://groups.yahoo.com/group/development-axapta/
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.

