I've got a listbox on a page of a pageframe. It is based on an array. When I add a value through code to the array I use:
thisform.PageFrame1.Page1.List1.Requery
thisform.PageFrame1.Page1.List1.NumberOfElements=NumberFound
thisform.PageFrame1.Page1.List1.Refresh
But the list does not show the new value until I actually click on the list somewhere.
I've tried calling the refresh for the page and the form with the same result. I am using VFP 9.
Thanks
thisform.PageFrame1.Page1.List1.Requery
thisform.PageFrame1.Page1.List1.NumberOfElements=NumberFound
thisform.PageFrame1.Page1.List1.Refresh
But the list does not show the new value until I actually click on the list somewhere.
I've tried calling the refresh for the page and the form with the same result. I am using VFP 9.
Thanks