Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Native Development

Reply
Developer
Posts: 654
Registered: ‎10-08-2009
My Device: Bold 9900
My Carrier: Telus

Adding options to SystemListDialog

Hi, I am trying to create SystemListDialog to provide some options for the user but I'm having problem adding options to it.

 

I've looked at: 

 

https://developer.blackberry.com/cascades/reference/bb__system__systemlistdialog.html

 

but doesn't have any explanation on how to add the items.

 

https://developer.blackberry.com/cascades/documentation/ui/dialogs_toasts/sysdialogs.html

 

the documentation omits the SystemListDialog completely

 

Please help me!

----------------------------------------------------------
Twitter: @gyubok
Developer
Posts: 1,650
Registered: ‎04-08-2010
My Device: Z10 (red Limited Edition), Q10, Z30
My Carrier: Telekom.de, O2, Vodafone

Re: Adding options to SystemListDialog

perhaps my SystemProgressDialog example helps you to understand ?

-------------------------------------------------------------------------------
ekke (independent software architect, rosenheim, germany)

BlackBerry Elite Developer
BlackBerry Platinum Enterprise Partner
International Development Mobile Apps BlackBerry 10 Cascades
Cascades - Workshops / Trainings / Bootcamps

blog: http://ekkes-corner.org videos: http://www.youtube.com/user/ekkescorner http://vimeo.com/ekkescorner/videos
bb10-development: http://appbus.org Twitter: @ekkescorner
New Contributor
Posts: 7
Registered: ‎03-31-2011
My Device: 9800
My Carrier: Rogers

Re: Adding options to SystemListDialog

The function you are probably looking for is appendItem(). I couldn't find this function in the online API spec that you posted either, so I looked in Momentics' auto-complete hints for my SystemListDialog object. 

 

Scott

Developer
Posts: 541
Registered: ‎05-17-2009
My Device: Not Specified

Re: Adding options to SystemListDialog