× Discussions for CodeTyphon Object Pascal Programming Language

Question How to create Component in custom category (that can be droped from toolbox)

  • samy
  • Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
More
1 month 5 days ago #15212 by samy
Hi,
How to create Component that can be droped from toolbox to the form.
(I mean custom visible component that need IDE rebuild)
I found this but its for lazarus : https://wiki.freepascal.org/How_To_Write_Lazarus_Componenthttps://wiki.freepascal.org/How_To_Write_Lazarus_Component
Thank You

Please Log in or Create an account to join the conversation.

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
More
1 month 5 days ago #15213 by Sternas Stefanos
Thanks Sir
with the same way.

PilotLogic Architect and Core Programmer
The following user(s) said Thank You: samy

Please Log in or Create an account to join the conversation.

  • samy
  • Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
More
1 month 5 days ago #15214 by samy
Ok nice !! Thank You
Bro I want to ask in this topic if its not problem (or I open new topic) : I have project for a friend the main form is 2 mb and unit.pas is +14,000 line of code , the problem is that I cant create events normaly (dbl click on event on property editor) because it will recreate all events (it create empty events for the hole components that have existing events) , exmpl : dbl click on event click on a button will cause the creation of empty events (with the same names as events that already exist) , and they added to the code (with the existing ones) , I check option to remove empty events on compile but this needs to remap and redefine declaration. any help or idea is appreciated.
Thank You Very Much

Please Log in or Create an account to join the conversation.

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
More
1 month 5 days ago #15215 by Sternas Stefanos
I think, logical the main form *.frm file has problem
I can't write anything else if I don't see the source.

PilotLogic Architect and Core Programmer
The following user(s) said Thank You: samy

Please Log in or Create an account to join the conversation.

  • samy
  • Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
More
1 month 5 days ago #15216 by samy
Ok Thank You
I will try to reproduce the error in an example and upload the project

Please Log in or Create an account to join the conversation.