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.

Featured Replies

  • Administrators

Hello,

It's typical misunderstood between runtime and compile time. We don't use any directives, like FMX and VCL, to separate them somehow. Because you can use FMX and VCL together in the same project.

Therefore, at the compilation stage, you choose the directives for the internal definition of what you are building. So the choice depends on you personally.

Thank you

  • Author

thanks for your reply

i have an lib which support android platform using FMX, now i want to change the source .pas files to support FGX  platform.

the difference is in TBitmap usage.

how i can detect that current platform is FGX to change definition of TBitmap object.

thanks

  • Administrators

Hello,

On 11/28/2024 at 1:59 AM, mahmoudikia said:

how i can detect that current platform is FGX to change definition of TBitmap object.

I repeat, this is not possible at the compilation stage. Because the define is declared either at the source code level, which is compiled or through the project settings.

How do you do it for VCL and FMX?

Thank you

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.