- or - if you have the courage - set multiselection by yourself - subclassing the WndProc in a ddlfunc and react on the messages in there.
============================ regards / mfg / mvh / Kveðja
michael
p.s. half of 12 is 7
__ __ ___ ___
\ / | | \/ | | __________________ cut off here
/\ | | / \ | |
-- -- --- ---
-----Ursprüngliche Nachricht-----
Von: Thomas Vogt Poulsen [mailto:[EMAIL PROTECTED] Gesendet: Montag, 17. November 2003 16:32
An: [EMAIL PROTECTED]
Betreff: [development-axapta] Re: Multiple selection from Listbox in Axapta
Hey
Mayby you should use listview instead (if possible). In that case the following is the way to do it:
1. The first thing is that the SingleSelection proportie on the list 2. When som button or double click is done call this:
Public void handleList()
{
FormListItem formListItem;
int idxSelected = listAvailable.getNextItem(_all? FormListNext::ALL : FormListNEXT::SELECTED);
while (idxSelected != -1)
{
formListItem = listAvailable.getItem(idxSelected);
formListItem.stateSelected(false);// Handle formListItem and its data
idxSelected = listAvailable.getNextItem(_all? FormListNext::ALL : FormListNEXT::SELECTED, idxSelected);
}
}
--- In [EMAIL PROTECTED], panda arabinda <[EMAIL PROTECTED]> wrote:
Hi All
In Axapta Listbox is there.But by using it i am
able to choose only one single element from the
Listbox.But i would like to choose multiple
elements.For that what i have to do.If any body any information about it then kindly mail me.Waiting for response and thanks in advance.
Warm Regards
Arabinda
__________________________________
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard http://antispam.yahoo.com/whatsnewfree
------------------------ Yahoo! Groups Sponsor ---------------------~--> Buy Ink Cartridges or Refill Kits for your HP, Epson, Canon or Lexmark Printer at MyInks.com. Free s/h on orders $50 or more to the US & Canada. http://www.c1tracking.com/l.asp?cid=5511 http://us.click.yahoo.com/mOAaAA/3exGAA/qnsNAA/saFolB/TM ---------------------------------------------------------------------~->
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
Yahoo! Groups Sponsor ADVERTISEMENT
click here
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.

