[Gambas-user] 'Refreshing' controls e.g. ComboBox

John Rose john.aaron.rose at gmail.com
Fri Jul 10 13:14:59 CEST 2020


What is the best way to refresh controls e.g. contents of a ComboBox 
after the addition of an item to its 'list' or the enabling of a button.

For example, I have with the following code (in a Procedure called from 
Form_Open event):

With ComboBoxTitle
   Add("New Item")
   .Refresh
End With
Wait

Should I use the Refresh method? Should I have a Wait statement?

-- 
John

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gambas-basic.org/pipermail/user/attachments/20200710/33aa58ae/attachment.html>


More information about the User mailing list