TIPhoneList refresh

Hi, we are tryin the TIPhoneList. We load some items in this way


with listamenu.Items.Add() do
                 begin
                  Caption := FMconnessione.UniQuery2.fieldbyname('DESCRIZIONE').asstring;
                  Value := FMconnessione.UniQuery2.fieldbyname('COD_CAT').Asstring;
                 end;

for example there are 20 items, if we want reload the list with another items (for example 10) , the list still have the same number of items , is still 20 from the frist to the 10th items is correct but the borwser show still the items that we have load before, in fact if we click on an old items it give item boung error. 
How we can refresh the list , or the browser via code , the form or the page?

Hi,


I'm assuming you are using an asynchronous event to update the items in the TIWiPhoneList.

Can you please make sure you are using the async calls of the TIWiPhoneList correctly?

Example:

  TIWIPhoneList1.AsyncClear;
with listamenu.Items.Add() do
                 begin
                  Caption := FMconnessione.UniQuery2.fieldbyname('DESCRIZIONE').asstring;
                  Value := FMconnessione.UniQuery2.fieldbyname('COD_CAT').Asstring;
                 end;
  TIWIPhoneList1.AsyncItemsAdd;
  TIWIPhoneList1.AsyncRefresh;

Thanks we forgot to add the line "AsyncItemsAdd;" now it works 

Testing we found a little problem, to not open another topic we want just ask how we can set size of a iphone button , because in teh project for example the height  is 200 when we launch the program its about 20 , back to the standard size. How to do that?