Reputation: 1211
is there a way to get the active item of a card layout panel?
I used to use it until the last update [ today ]. after update it just stopped !!
is there any other way to check which panel/card is activated ?
Upvotes: 3
Views: 5622
Reputation: 15109
panel.getLayout().getActiveItem()
is the method to use.
Here's the documentation
That is the recommended method. You don't need to look for alternatives.
Upvotes: 3