06-28-2019 12:31 AM
Hi,
i am using multicolumn listbox and i need to update or change the font size of the MC listbox. Using property node i done but its updating very slow. My MC listbox row48 and column 6.Each column and row active cell font size updating/change but its updating very slowly, one by one its updating the font size. It takes minimum 3seconds to complete. I tried with Defer Panel Update property eventhough the response is same.
Could you please give some suggestion to solve this issue.
Thanks,
Manoj
06-28-2019 12:54 AM
06-28-2019 01:07 AM
There is a simple method to update listbox,table,tree control font at the same time. First,click mouse and selected the control,then pressed two keypad(Ctrl + 0),it will display the setting font property GUI,it update the control all font setting.
06-28-2019 01:37 AM
@weschen ha scritto:
There is a simple method to update listbox,table,tree control font at the same time. First,click mouse and selected the control,then pressed two keypad(Ctrl + 0),it will display the setting font property GUI,it update the control all font setting.
He means updating at run-time, not at edit time.
I wrote a simple test: it's almost instantaneous.
Please upload your code, there must be something special about it.
06-28-2019 02:29 AM
You can always hide it, do the change, and show it again.
It would probably depend on how much data is in the LB. So you could try to empty it, do the changes (with or without defer panel updates, and\or shown or hidden), and then populate it again.
06-28-2019 03:25 AM
Check to see if the listbox Autosizing Row Height property is set. In the past, I've found that turning it off can improve the update speed by an order of magnitude. Presumably every font size change causes autosize to trigger.
Andy