Recent

Author Topic: LazCustomForms - Minor Feature Request  (Read 608 times)

mtrsoft

  • Jr. Member
  • **
  • Posts: 59
LazCustomForms - Minor Feature Request
« on: December 22, 2023, 02:38:52 am »
Currently the CustomForms component / package:

1. Always uses a Category of "Custom Forms" for new forms in the "File > New..." dialog.

2. The description of the added form can not be changed from the default.

It would be helpful if the above restrictions were removed.

1. The attached custForms.zip file contains a modified version of CustomForms.pp that makes the required changes by overloading the RegisterCustForm procedure.

2. The attached regappforms.zip file contains a modified version of regappforms.pp that has been modified to illustrate the changes.

3. The changes in the files are marked with the comment //JR:

Notes:

1. Original file locations are:
C:\lazarus\components\customform\CustForms.pp and
C:\lazarus\components\customform\\demo\regappforms.pp .

2. The above changes were only tested on Windows 7 x86_64 with Lazarus 2.2.6 (32 bit) and FPC 3.2.2 (32 bit).

3. It may be approriate to change the version of the LasCustForms.lpk package from 1.0.0.0 to 1.0.1.0.

Regards,
John

 

TinyPortal © 2005-2018