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: 238
Registered: ‎12-26-2010
My Device: BlackBerry Z10
My Carrier: Telus
Accepted Solution

CustomControl Problem

Hi, I have created a CustomControl in cpp..

 

But whenever I try to initialize it in my main cpp file, I got this error

 

conversion from 'bb::cascades::MyTextControl*' to non-scalar type 'bb::cascades::MyTextControl' requested.

 

Any thought on this?? Thanks

www.jackdevora.com
Developer
Posts: 238
Registered: ‎12-26-2010
My Device: BlackBerry Z10
My Carrier: Telus

Re: CustomControl Problem

Sorry, figured it out, forgot to declare it as a pointer......
www.jackdevora.com