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: 660
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,746
Registered: ‎04-08-2010
My Device: Passport Silver, PRIV
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 native Mobile Business Apps
BlackBerry 10 | Qt Mobile (Android, iOS)
Workshops / Trainings / Bootcamps

blog: http://ekkes-corner.org
mobile-development: http://appbus.org Twitter: @ekkescorner
Highlighted
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