Jump to content
Software FX Community

Create SubCommands at Runtime


User (Legacy)

Recommended Posts

Hi,

I would like to allow user to hide panes using toolbar.

So I tried to create a tool command called "Hide graphs". When a user

click it, subcommand entries, one for each graph in the ChartFX, were

inserted.

My ask is:

It is possible to create at runtime in a toolbar a subcommand list of a

command?

I tried, but happens that click event on the "Hide graphs" command is

raised only one time and so I adds subcommands. But after that if I click on

the toolbar command, no events are raised and so I can refresh the list.

Where I do the mistake?

Thx.

Davide Villa.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...