Hiding a field in Black Berry
I would like to toggle two Fields on a screen, like a simulated tab screen. I tried creating a HorizontalFieldManager and populating it with Field A, then to开发者_如何学运维 toggle deleteAll() and add() Field B. Then Repeat to switch them. (Triggered by a button) This works, but in the simulator is locks up after doing this five times. I haven't tried it on a device yet. Is there a better way to to this, or is this pretty much the only way to do something like that?
It sounds like what you want to do is covered by this support article: Create tabbed view screens. I haven't tried it though.
精彩评论