Ah, that clarifies it!!! Thank you, Antonio!
Regards
MI
On 5/15/2018 10:04 PM, Antonio Scuri wrote:
Hi,
If the list changes it's size it may affect the layout of the whole
dialog. That's why in a general case you should call IupRefresh to
recalculate the dialog layout.
If you know that your change will affect only a smaller region of
the dialog then you can call IupRefreshChildren for the container that
defines that region. Calling IupRefreshChildren for the list is
useless, since it doesn't have children.
Best,
Scuri
Em ter, 15 de mai de 2018 16:12, Mihail Ivanchev <mihai...@gmail.com
<mailto:mihai...@gmail.com>> escreveu:
Hi IUP,
I have a list (as a combobox) that I wish to resize (i.e.
VISIBLECOLUMNS) after updating the items. How could I achieve this?
IupRefreshChildren(list) doesn't seem to work and the documentation
states IupRefresh would refresh the whole dialog.
Thanks
MI
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Iup-users mailing list
Iup-users@lists.sourceforge.net
<mailto:Iup-users@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/iup-users
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users