Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Catalog · How the catalog works
Anything · Lazarus or Delphi
Random projectRandom project

FMX_TemplateAndroid_Firemonkey

Free

View on GitHub

Member rating

No ratings yet.

Sign in to rate this project.

README

TEMPLATE ANDROID FMX / DELPHI / FIREMONKEY (NO UPDATE)

NB :: DELETE IF ON USES ERROR, THAT BECAUSE I USES OTHER COMPONENT AND I FORGOT TO DELETE

HOW TO ADD NEW FRAME

  1. Add File "frTemp.pas" on directory "frames/frTemp.pas"

alt text

  1. Save as "frTemp.pas" (for example save as to "frHome.pas")

alt text

  1. Double Click frHome.pas then reName TFrame on properties (for example rename to FHome)

alt text

  1. Open Code on frHome.pas / FHome. go to procedure setFrame. then change "fnGetClient(FMain, Temp);" to "fnGetClient(FMain, FHome);"

alt text

  1. Open "uMain.pas" on path sources then add const HOME = 'HOME'

alt text

  1. Open "uGoFrame", then add uses "frHome.pas", after that add some code on procedure "createFrame" and "fnGetFrame(st, transFR : String);" Check Pict

alt text

  1. to call Frame FHome just use procedure like this (if Frame active is FLogin) "fnGoFrame(LOGIN, HOME);". Note :: Login is Frame Active and Home is showing the Frame.

alt text