Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1868
  • Last Modified:

OnShow (Form) Event for HD FireMonkey ?

What is an alternative way to execute a code when the Form is being showed ?

this is based firemonkey hd app, the new framework doesn't have this event so i'm trying to find an alternative...
0
rotem156
Asked:
rotem156
1 Solution
 
jimyXCommented:
That can be easily fixed. You just need to add a flag which changes when the form has been activated and the code is executed the first time and you must check this flag every time before executing the code if it is the default flag then it means the form has just been shown. This flag will be cleared once the Form is closed.

0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now