When enable disable a button toolbar invalidates itself

Add-in Express™ Support Service
That's what is more important than anything else

When enable disable a button toolbar invalidates itself
 
Will Morgan




Posts: 23
Joined: 2006-12-11
When make the call the entire toolbar redraws.

this.adxCommandBarButtonCaption.Enabled = CurrentBarcode.bCaptionCanChange;

This causes a very annoying flicker.

Posted 18 Jan, 2007 10:53:58 Top
Sergey Grischenko


Add-in Express team


Posts: 7233
Joined: 2004-07-05
Hi Will.

This is the designed behaviour to update the button appearance.


P.S. Note that we take up your forum requests in the order we receive them.
Besides, it may take us some time to investigate your issue. Please be sure we will let you know as soon as the best possible solution is found.


Posted 18 Jan, 2007 11:12:08 Top
Esteban Astudillo


Guest


Hi Sergey,

Do you think it's possible to add in a future version of ADX a couple of extra methods to ADXCommandBars to do something like this (pseudo-code):

With ADXCommandBar {
StopUpdates();
ConfigureButton(1);
ConfigureButton(2);
ConfigureButton(3);
ResumeUpdates();
}

It actually is very annoying that flickering. My add-in suffers from the same problem. My users are getting used to it, but all of them complained about it when they installed it for the first time. In my case, my toolbars are very dynamic, so I get the flickering a lot. And users complain that "other" toolbars (add-ins) do not experience the same problem, so why mine does. It's a valid question for which I don't have an answer right now.

It's a small detail, but it's with these small details that you sometimes are able to sell or not your product.

Thanks in advance and sorry for ranting and hijacking your post ;)

Esteban
Posted 18 Jan, 2007 11:42:54 Top
Sergey Grischenko


Add-in Express team


Posts: 7233
Joined: 2004-07-05
Esteban, thank you for the suggestion. But I am not sure that the code will help much. In any case I will have to update each button separately.
Anyway I will look at this issue.
Posted 18 Jan, 2007 12:08:41 Top
Will Morgan




Posts: 23
Joined: 2006-12-11
Thanks for the prompt reply. I do a lot updating as well so the flicker can be fairly obvious so if there is an update in the future I would appreciate knowing.

Thanks
Posted 18 Jan, 2007 12:25:20 Top