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
Highlighted
Developer
Posts: 49
Registered: ‎03-27-2013
My Device: z10
My Carrier: Banglalink

How to omit confirmButton &cancelButton from SystemDialog in c++ for Q10??

I am facing a strange problem regarding SystemDialog. I need to omit confirmButton & cancelButton from my dialog. And I put the following code to do so-

	SystemUiButton *cancelButton = alertDialog->cancelButton();
	cancelButton->setLabel(QString::null);
	SystemUiButton *confirmButton = alertDialog->confirmButton();
	confirmButton->setLabel(QString::null);

 It's perfectly working in Z10. But in Q10 it's not working. My both device running on 10.1

Can you guys please put some feedback regarding this issue?

 

Thanks.

Retired
Posts: 249
Registered: ‎07-14-2008
My Device: Not Specified

Re: How to omit confirmButton &cancelButton from SystemDialog in c++ for Q10??

Hi,
What is not working? Can you share a screenshot?

Also, please share your code for SystemDialog as well.

Shadid