@edvin this c# code is the basis of what I'm talking about. "execute" is the function that tornadofx has today. canexecute is the addition which would be cue to controls
public interface ICommand
{
void Execute(object arg);
bool CanExecute(object arg)
event EventHandler CanExecuteChanged;
}