Can DropListBox could automated tagged ?
Derek
Forums
Hi Brian,
If my dialog have 6 droplistbox call DropListBox1 to DropListBox6, and those droplistbox all used same attached list array.
Have any possible, I add a button call "Auto Mapping", and pre-defind if DropListBox1 = SO_NUM, DropListBox2 = SO_LINE_NUM, DropListBox3 = SO_CUSTOMER, DropListBox4 = SO_ITEM, DropListBox5 = SO_UNIT_PRICE, DropListBox6 = SO_QTY, when I click the AuotMapping button the system can automated tagged as picture 2 ?
Regards,
Derek
Hi Derek,
Hi Derek,
Yes this can be done but it means having to close and reopen the dialog. Here you can see my example:
And when you select the Auto Mapping you get this:
How this is done is that I have a loop to keep the dialog open while the user has selected the Auto Mapping button. If the button has been selected I select the item by using the dlg.DropListBox1 = 2, the 2 would be the third item in the array (arrays start with a value of 0) and then display the dialog again.
Here is the code that hopefully you can see what I did. I have also attached it so you will have the items for the menu. Let me know if you have any questions or if something doesn't make sense.