Jump to content
View in the app

A better way to browse. Learn more.

FGX Native

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.
  • Status: Fixed
  • Priority: Normal
  • Resolution: Fixed
  • Platform: iOS
  • Affects version 11.1.1.0
  • Fix version: 1.11.3.0

Если на форме есть fgCollectionView, то его события fgCollectionView1GetItemCount и fgCollectionView1BindItem вызываются раньше всех, включая fgFormCreate и fgFormShow

Причем это только на iOS. Вот код:

procedure TFormMain.fgCollectionView1BindItem(Sender: TObject;
  const AIndex: Integer; const AStyle: string; const AItem: TfgItemWrapper);
begin
 AItem.GetControlByLookupName<Tfglabel>('label').text:= datetostr(now());
 fglabel1.Text:=   fglabel1.Text + '4';
end;

function TFormMain.fgCollectionView1GetItemCount(Sender: TObject): Integer;
begin
 result := 2;
 fglabel1.Text:=   fglabel1.Text + '3';
end;

procedure TFormMain.fgFormCreate(Sender: TObject);
begin
fglabel1.Text:=   fglabel1.Text + '1';
end;

procedure TFormMain.fgFormShow(Sender: TObject);
begin
fglabel1.Text:=   fglabel1.Text + '2';
end;

 

А вот результат на Android = 123334343333

                                    на iOs =33333333343333412

demo

!bug.zip 

User Feedback

Recommended Comments

  • Administrators

Изменено Статус на Fixed

Изменено Резолюция на Fixed

Изменено Версия с исправлением на 1.11.3.0

Create an account or sign in to comment

Recently Browsing 0

  • No registered users viewing this page.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.