Recent

Author Topic: Object Inspector Information Box  (Read 3198 times)

minesadorada

  • Sr. Member
  • ****
  • Posts: 452
  • Retired
Re: Object Inspector Information Box
« Reply #15 on: March 28, 2021, 04:00:20 pm »
@AL this wiki article may be of some help
Example component code
Note the comment:
Code: Pascal  [Select][+][-]
  1. {     Published declarations (Displayed in the Object Inspector)     Note: Comments immediately above the property declarations are displayed in the Lazarus Object Inspector lower pane }
  2.  


The ExamplePackage can be installed via OPM
GPL Apps: Health MonitorRetro Ski Run
OnlinePackageManager Components: LazAutoUpdate, LongTimer, PoweredBy, ScrollText, PlaySound, CryptINI

AL

  • Sr. Member
  • ****
  • Posts: 264
Re: Object Inspector Information Box
« Reply #16 on: March 28, 2021, 04:03:28 pm »
Thank You All,  comments in code above property is working
Is there a way to test a design time component without recompiling the IDE each time a change is made?
Laz 3.1, fpc 3.2.2, Win10
Laz 3.1  fpc 3.2.2, MacOS Monterey running on VMWare/Win 10
Laz 3.1  fpc 3.2.2 Ubuntu 20.04

JuhaManninen

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4474
  • I like bugs.
Re: Object Inspector Information Box
« Reply #17 on: March 28, 2021, 09:04:55 pm »
Is there a way to test a design time component without recompiling the IDE each time a change is made?
For the design time features you must recompile the IDE. It can be sped up by having a minimal set of packages. Only the packages needed by the IDE itself + your own package.
The "BigIde" target used for release builds contains many extra packages.
Your component's functionality however can be tested by creating the comp in code and then testing + debugging. That is typically the biggest part of development.
Mostly Lazarus trunk and FPC 3.2 on Manjaro Linux 64-bit.

AL

  • Sr. Member
  • ****
  • Posts: 264
Re: Object Inspector Information Box
« Reply #18 on: March 30, 2021, 08:40:52 pm »
@Wp Thanks for the complete instructions. I will surely keep that for future use!
@minesadorada: Thank you for the examples, this was very usefull.
Laz 3.1, fpc 3.2.2, Win10
Laz 3.1  fpc 3.2.2, MacOS Monterey running on VMWare/Win 10
Laz 3.1  fpc 3.2.2 Ubuntu 20.04

 

TinyPortal © 2005-2018