Hi,
The message below was originally sent as a reply to your email on 25th of May and re-sent on 7th of June:
1.
a.
There
was an issue with setting the IWiPhonePageFlip.ActiveRegion property to arBack.
This has now been fixed.
The update will be available with the next release of the TMS IW iPhone
controls pack.
With this update your test app should work correctly if:
- ActiveRegion is set to arBack when pressing the back button on R4
- ActiveRegion is set to arFront when pressing the Goto R2 button
b.
Unfortunately
it’s currently not supported to change the IWiPhonePageFlip Visible property
from an async event.
I will investigate if this behavior can be improved in a future version of the
control.
2.
The
IWiPhoneList control is not automatically updated after an async event for
performance reasons.
You can use the different Async* methods to update the IWiPhoneList
asynchronously.
Please note that it’s required that the IWiPhoneList control already contains
at least 1 item to be able to insert more items via an async event.
Example:
procedure TIWForm2.IWAppFormCreate(Sender: TObject);
begin
//Add placeholder item to the IWiPhoneList
with PL1.Items.Add do
begin
Caption:='Placeholder';
Detail:=true;
end;
end;
procedure TIWForm2.TIWIPhoneHeader2AsyncRightButtonClick(Sender: TObject;
EventParams: TStringList);
var
i: integer;
begin
PL1.Items.Clear;
for i:=1 to 10 do
with PL1.Items.Add do
begin
Caption:='Test '+IntToStr(i);
Detail:=true;
end;
PL1.AsyncItemsAdd;
PL1.AsyncRefresh;
end;
3.
The
async capabilities are explained in the TMS IW iPhone Controls pack PDF,
available from the Manuals page at our website:
http://www.tmssoftware.com/site/manuals.asp