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
BBSJdev
Posts: 6,090
Registered: ‎07-05-2012
My Device: Playbook, Z10 LE, Dev Alpha C
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. :smileyhappy:

Developer of stokLocker, Sympatico and Super Sentences.
Please use plain text.