Re: active bar popup multiple selection
ActiveBar Support
active bar popup multiple selection
02-25-2009, 10:59 PM
Hi,
How to select multiple options in activebar popup menu. For example in popup menu i have to select more than one. if i select first one it needs to apply check mark, if i select 2nd one second also needs to marked as checkmark.. like that. please help me regarding this.. thanks in advance
Re: active bar popup multiple selection
02-25-2009, 11:14 PM
For example in the given attachment i am able to select "country" alone. I i select "language" country checkmark is disabled. But i need in both places this checkmark.
Re: active bar popup multiple selection
02-26-2009, 5:46 AM
rajaa,
You can check "Checked" property for each Tool. Please find the attached sample. Note, that you can check/uncheck any menu items in popup menu in this sample.
Thank you,
Andrey T.
Re: active bar popup multiple selection
02-26-2009, 11:24 PM
Hi Andrey,
Thanks for your response, but i am adding the tools in run time band_open. so eariler state (checked or not checked) of the tool is not existing.
Thanks,
Rajaa
Re: active bar popup multiple selection
02-27-2009, 12:07 AM
Rajaa,
Could you please send a simplified sample so I can look into it and update? You can attach it with your post as .zip file or send it to support directly via e-mail activebar.support@grapecity.us.com
Thank you,
Andrey T.
Re: active bar popup multiple selection
03-04-2009, 10:02 PM
Hi Andrey,
Sorry for the late response. Please find the attached sample program. I am doing my project also same like this example. I am adding the popups in dynamically in runtime that too in bandopen. so i am not able to maintain previous state of the popup.
Re: active bar popup multiple selection
03-05-2009, 12:23 AM
Rajaa,
I've noticed that you completely delete all tools from Band in BandOpen event and add new tools. In this case, of course, checked state is not stored anywhere. Your approach here maybe is to store Tools Checked values in independent array in ToolClick event and then retrieve them from this array in BandOpen event. See the attached modified sample.
Thank you,
Andrey T.
Re: active bar popup multiple selection
03-05-2009, 5:55 AM
Hi Andrey,
Thanks a lot. It is working fine. Thanks for your valuable time. Is there any other method is there to do this. But i need to add the popup in runtime.
Regards,
Raja