Brian G
Brian G

Reputation: 55062

Swap Gridfieldmanager on button click

I have an application that I am building for blackberry OS 6.

I have a screen made of a Gridfieldmanager and a Horizontalfieldmanager. The Horizontalfieldmanager contains 4 image buttons along the bottom, when these are clicked I want to basically swap the Gridfieldmanager with another fieldmanager. Is this possible?

Upvotes: 1

Views: 212

Answers (1)

jprofitt
jprofitt

Reputation: 10964

Sure is! You can use theManager.replace(Field oldField, Field new Field) to swap them out.

Documentation on replace

Upvotes: 2

Related Questions