Catalog · How the catalog works
RICKShowForm
This class runs a show on the form and can perform procedures before and after the show.
- ★ 2 on GitHub
Anyone may press Interesting, signed in or not. It helps others find this project.
README
[0]: https://github.com/ricksolucoes/boss "Site do BOOS"
RICKShowForm
RICKShowForm is a Delphi library designed to open one or more forms. Using delphi's Fluent Interface.
⚙️ Pre-requisites
- Delphi FMX
- If you choose to use [BOOS][0]
https://github.com/ricksolucoes/boss or https://github.com/HashLoad/bossthe dependency manager, you will have the facility to install all frameworks that are Pre-requisites for the project. 3.
💻 Installation
- By using BOOS
$ boss install https://github.com/ricksolucoes/RICKShowForm-
Manual Installation
- Download the RICKShowForm;
- Add the following folders to your project, in Project > Options > Resource Compiler > Directories and Conditionals > Include file search path
../RICKShowForm/src
⚡️ How to use the project
Example of using the RICKShowForm
-
How to show a form
uses
RICK.ShowForm;
begin
TRICKShowForm
.New
.Formulary(TPageView2) //Inform the form's class
.ExecuteBefore(BeforeShow) //Procedure to be performed before show form
.ExecuteAfter(AfterShowClose) //Procedure to be performed after show form
.ChangeDefaultMainForm //Set the specified form as the main form
.Show; //Open the formulary
end;- How to show two or more forms
uses
RICK.ShowForm;
begin
TRICKShowForm
.New
.Formulary(TPageView2) //Inform the form's class
.ExecuteBefore(BeforeShow) //Procedure to be performed before show form
.ExecuteAfter(AfterShowClose) //Procedure to be performed after show form
.Show //Open the formulary
.DoNewForm //Prepare new form to show
.Formulary(TPageView3) //Inform the form's class
.Show; //Open the formulary
end;
