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: 6,152
Registered: ‎07-05-2012
My Device: Playbook, Dev Alpha C, Z10 LE, Z30
My Carrier: Orange

Re: Painting in BB10

If you are using screen co-ordinates just a set of simple if statements restricting them to the containers size and position on screen should be sufficient.
Container size and co-ords can be got by attaching a LayoutUpdateHandler...

http://developer.blackberry.com/native/reference/cascades/bb__cascades__layoutupdatehandler.html


If you've been helped click on Like Button, if you've been saved buy the app. Smiley Happy

Developer of stokLocker, Sympatico and Super Sentences.