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: 587
Registered: ‎04-01-2009
My Device: Z10, PlayBook
My Carrier: NA
Accepted Solution

Way to display dialog from QML JavaScript?

I was hoping I could do something like:

 

alert("here");

 

... from QML JavaScript.

 

Is there a way to pop up debug dialog boxes?

Developer
Posts: 587
Registered: ‎04-01-2009
My Device: Z10, PlayBook
My Carrier: NA

Re: Way to display dialog from QML JavaScript?

I see that you can do:

 

console.log("here");

 

... so that mostly solves what I need. But I'm still curious.

Retired
Posts: 155
Registered: ‎07-16-2012
My Device: Dev Alpha
My Carrier: Bell

Re: Way to display dialog from QML JavaScript?

Hi dbigham,

 

Check this one, might be what you're looking for

 

http://supportforums.blackberry.com/t5/Cascades-Development/SystemDialog/m-p/1859737/highlight/true#...