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...
LVL 4
rotem156Asked:
Who is Participating?
 
jimyXConnect With a Mentor Commented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.