These are chat archives for ButchersBoy/Dragablz

3rd
Oct 2016
bebenins
@bebenins
Oct 03 2016 16:38
@ButchersBoy I understand your reasoning for tearing off tabs off.
In my case though, they are fixed and I trigger events (reading HW registers) when a tab is selected. But before HW is initialized, I must prevent the user from selecting certain tabs because if a tab is selected during init, there will be register access clashes. So I guess I can put some kind of "blanket" over tabs I don't want to be clicked. Anything else you can suggest? Thank you!
blob
In the example above, the Firmware and Diags tabs must always remain enabled while others have to be controlled.
James Willock
@ButchersBoy
Oct 03 2016 16:42
But can't you manage that in your view models (assuming you are using MVVM). If a tab isn't yet initialise, just show some temporary "loading" indicator?
bebenins
@bebenins
Oct 03 2016 17:32
Yea, I can do something like that.... Will try it. Thanks!