FirePower || TwwRecordViewPanel using the FireMonkey Library
Normally your applications will need to edit a record in the database and you will have to create a form to do this, with edit controls and labels.
For instance, if you create your own record view with only Embarcadero’s components, you have to manually create each text box and change the width, height, location, size, etc. The first time may not be that big of an issue as even though it would be time intensive, at least you have your layout and template done for the future.
However, if you ever need to make a change or take out a field because the end-user does not want it or for whatever reason, you would then have to manually change the spacing or order of each field to make sure it looks even and pleasing to the eye.
The TwwRecordViewPanel allows you to easily customize the interface, change the structure and layout with just a few clicks, and add or remove fields without messing up the entirety of the record view. No more adjusting every field when you have to make a change. Simply add or delete a field and our TwwRecordView does the rest.
Our TwwRecordView is simple in setting up and with our free trial of FirePower (click here if you’d like to download our trial version) or official product, you can add this to your application in minutes.
Making our DataBase
Refer to our other blogpost “Using a FirePower LookupCombo in a Datagrid” and follow the first step: "Setting up the grid to use the Orders table in our database" For this purpose, we will only need one table and will be using fdCustomers.
Connecting our RecordView to the Database
Add our TwwRecordViewPanel to the application and then simply connect the DataSource to our