× If you want to share any helpful source code, libraries, tools, etc, to help programming with CT, this is the right place to do this.

Question InputQueryEx() by KodeZwerg

  • 𝓚𝓸𝓭𝓮𝓩𝔀𝓮𝓻𝓰
  • 𝓚𝓸𝓭𝓮𝓩𝔀𝓮𝓻𝓰's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • I do love ObjectPascal and WinApi
More
2 months 3 weeks ago #15729 by 𝓚𝓸𝓭𝓮𝓩𝔀𝓮𝓻𝓰
InputQueryEx() by KodeZwerg was created by 𝓚𝓸𝓭𝓮𝓩𝔀𝓮𝓻𝓰
Dear community,
I like to share my very first helper for CodeThypon.

It is a InputQuery() replacement with some neat features.
github.com/KodeZwerg/Freepascal-CodeTyphon-InputQueryEx

Feel free to tell what you think about..

(sorry, I am also new to GitHub and just uploaded full demo project, inside main unit you find everything)
(full crossplatform supported)

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

  • 𝓚𝓸𝓭𝓮𝓩𝔀𝓮𝓻𝓰
  • 𝓚𝓸𝓭𝓮𝓩𝔀𝓮𝓻𝓰's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • I do love ObjectPascal and WinApi
More
2 months 3 weeks ago #15736 by 𝓚𝓸𝓭𝓮𝓩𝔀𝓮𝓻𝓰
Replied by 𝓚𝓸𝓭𝓮𝓩𝔀𝓮𝓻𝓰 on topic InputQueryEx() by KodeZwerg
New version uploaded.
The method InputQueryEx() has evolved to a class object to play with.

Splitted Demo source and class into own files.

Enjoy!

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

  • Matis A.
  • Matis A.'s Avatar
  • Away
  • Moderator
  • Moderator
More
2 months 3 weeks ago - 2 months 3 weeks ago #15737 by Matis A.
Replied by Matis A. on topic InputQueryEx() by KodeZwerg
This is very good,
Excellent work.

PilotLogic Core Programmer
Last edit: 2 months 3 weeks ago by Matis A..
The following user(s) said Thank You: 𝓚𝓸𝓭𝓮𝓩𝔀𝓮𝓻𝓰

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

  • 𝓚𝓸𝓭𝓮𝓩𝔀𝓮𝓻𝓰
  • 𝓚𝓸𝓭𝓮𝓩𝔀𝓮𝓻𝓰's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • I do love ObjectPascal and WinApi
More
2 months 3 weeks ago #15739 by 𝓚𝓸𝓭𝓮𝓩𝔀𝓮𝓻𝓰
Replied by 𝓚𝓸𝓭𝓮𝓩𝔀𝓮𝓻𝓰 on topic InputQueryEx() by KodeZwerg

This is very good,
Excellent work.

Great that you like my work sir!

Can I get help to make it a CodeTyphon component please? 
I do not have found useful informations or looked at wrong place.
I wish like to have in final version a component with working editors,
for now information how-to build in CodeTyphon a component is help enough!

For all that do not know what my object is about:
 
This is how it look on Windows 10.
Attachments:

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

  • Matis A.
  • Matis A.'s Avatar
  • Away
  • Moderator
  • Moderator
More
2 months 3 weeks ago - 2 months 3 weeks ago #15741 by Matis A.
Replied by Matis A. on topic InputQueryEx() by KodeZwerg
Your programing background?

PilotLogic Core Programmer
Last edit: 2 months 3 weeks ago by Sternas Stefanos.

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

  • 𝓚𝓸𝓭𝓮𝓩𝔀𝓮𝓻𝓰
  • 𝓚𝓸𝓭𝓮𝓩𝔀𝓮𝓻𝓰's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • I do love ObjectPascal and WinApi
More
2 months 3 weeks ago #15743 by 𝓚𝓸𝓭𝓮𝓩𝔀𝓮𝓻𝓰
Replied by 𝓚𝓸𝓭𝓮𝓩𝔀𝓮𝓻𝓰 on topic InputQueryEx() by KodeZwerg

Your programing background?

Delphi, ObjectPascal, WinApi, Assembler, Pascal.

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
2 months 3 weeks ago #15745 by Sternas Stefanos
Replied by Sternas Stefanos on topic InputQueryEx() by KodeZwerg
For sample open pl_ExControls pkg


Open AllExControlsRegister.pas file of this pkg

The magic procedure is "procedure Register;"

Editors and ALL other "registration" things are in pkg bs_IDEIntf
"uses
  Classes,SysUtils,TypInfo,lresources,PropEdits,ComponentEditors,"

-RegisterComponentEditor
- RegisterPropertyEditor
- RegisterComponentEditor
-RegisterPropertyEditor
etc

You can study the registration code and from other CT pkgs.




 

PilotLogic Architect and Core Programmer

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

  • 𝓚𝓸𝓭𝓮𝓩𝔀𝓮𝓻𝓰
  • 𝓚𝓸𝓭𝓮𝓩𝔀𝓮𝓻𝓰's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • I do love ObjectPascal and WinApi
More
2 months 3 weeks ago #15746 by 𝓚𝓸𝓭𝓮𝓩𝔀𝓮𝓻𝓰
Replied by 𝓚𝓸𝓭𝓮𝓩𝔀𝓮𝓻𝓰 on topic InputQueryEx() by KodeZwerg
 

I think I found something that match.
Thank you sir, will follow advice and look at those files to watch and learn from.

(can I read somewhere what the different extensions mean?)
Attachments:

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
2 months 3 weeks ago - 2 months 3 weeks ago #15747 by Sternas Stefanos
Replied by Sternas Stefanos on topic InputQueryEx() by KodeZwerg
CT has ALL User Packages in
codetyphon\typhon\components\
Directory for ALL HostOSes (Windows, Linux, MacOS, OpenIndiana, FreeBSD, NetBSD, OpenBSD, DragonFly and Solaris)

To open a CT Package you can:

a) Use "Open from List"

 


b) Use "Packages manager"

 

 


c) Use "Open Package"

 

d) Dag and Drop package file (*.ctpkg) to Typhon IDE

etc....

 

PilotLogic Architect and Core Programmer
Attachments:
Last edit: 2 months 3 weeks ago by Sternas Stefanos.
The following user(s) said Thank You: 𝓚𝓸𝓭𝓮𝓩𝔀𝓮𝓻𝓰

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

  • 𝓚𝓸𝓭𝓮𝓩𝔀𝓮𝓻𝓰
  • 𝓚𝓸𝓭𝓮𝓩𝔀𝓮𝓻𝓰's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • I do love ObjectPascal and WinApi
More
2 months 3 weeks ago #15748 by 𝓚𝓸𝓭𝓮𝓩𝔀𝓮𝓻𝓰
Replied by 𝓚𝓸𝓭𝓮𝓩𝔀𝓮𝓻𝓰 on topic InputQueryEx() by KodeZwerg
Thank you again, sorry I am new at doing such things, when you write look at code in package xyz. I do search my harddrive for such file. Never thought about using IDE for that, my bad!!
Now all is much clearer and understandable! Soon my project will be a component, yay ;-)

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