Welcome, Guest
Username: Password: Remember me
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.
  • Page:
  • 1

TOPIC:

InputQueryEx() by KodeZwerg 2 years 6 months ago #15729

  • 𝓚𝓸𝓭𝓮𝓩𝔀𝓮𝓻𝓰
  • 𝓚𝓸𝓭𝓮𝓩𝔀𝓮𝓻𝓰's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • I do love ObjectPascal and WinApi
  • Posts: 20
  • Thank you received: 2
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.

InputQueryEx() by KodeZwerg 2 years 6 months ago #15736

  • 𝓚𝓸𝓭𝓮𝓩𝔀𝓮𝓻𝓰
  • 𝓚𝓸𝓭𝓮𝓩𝔀𝓮𝓻𝓰's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • I do love ObjectPascal and WinApi
  • Posts: 20
  • Thank you received: 2
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.

InputQueryEx() by KodeZwerg 2 years 6 months ago #15737

  • Matis A.
  • Matis A.'s Avatar
  • Away
  • Moderator
  • Moderator
  • Posts: 925
  • Thank you received: 118
This is very good,
Excellent work.
PilotLogic Core Programmer
The following user(s) said Thank You: 𝓚𝓸𝓭𝓮𝓩𝔀𝓮𝓻𝓰

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

Last edit: by Matis A..

InputQueryEx() by KodeZwerg 2 years 6 months ago #15739

  • 𝓚𝓸𝓭𝓮𝓩𝔀𝓮𝓻𝓰
  • 𝓚𝓸𝓭𝓮𝓩𝔀𝓮𝓻𝓰's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • I do love ObjectPascal and WinApi
  • Posts: 20
  • Thank you received: 2

Matis A. wrote: 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.

InputQueryEx() by KodeZwerg 2 years 6 months ago #15741

  • Matis A.
  • Matis A.'s Avatar
  • Away
  • Moderator
  • Moderator
  • Posts: 925
  • Thank you received: 118
Your programing background?
PilotLogic Core Programmer

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

Last edit: by Sternas Stefanos.

InputQueryEx() by KodeZwerg 2 years 6 months ago #15743

  • 𝓚𝓸𝓭𝓮𝓩𝔀𝓮𝓻𝓰
  • 𝓚𝓸𝓭𝓮𝓩𝔀𝓮𝓻𝓰's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • I do love ObjectPascal and WinApi
  • Posts: 20
  • Thank you received: 2

Your programing background?
Delphi, ObjectPascal, WinApi, Assembler, Pascal.

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

InputQueryEx() by KodeZwerg 2 years 6 months ago #15745

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4483
  • Thank you received: 1089
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.

InputQueryEx() by KodeZwerg 2 years 6 months ago #15746

  • 𝓚𝓸𝓭𝓮𝓩𝔀𝓮𝓻𝓰
  • 𝓚𝓸𝓭𝓮𝓩𝔀𝓮𝓻𝓰's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • I do love ObjectPascal and WinApi
  • Posts: 20
  • Thank you received: 2
 

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.

InputQueryEx() by KodeZwerg 2 years 6 months ago #15747

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4483
  • Thank you received: 1089
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:
The following user(s) said Thank You: 𝓚𝓸𝓭𝓮𝓩𝔀𝓮𝓻𝓰

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

Last edit: by Sternas Stefanos.

InputQueryEx() by KodeZwerg 2 years 6 months ago #15748

  • 𝓚𝓸𝓭𝓮𝓩𝔀𝓮𝓻𝓰
  • 𝓚𝓸𝓭𝓮𝓩𝔀𝓮𝓻𝓰's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • I do love ObjectPascal and WinApi
  • Posts: 20
  • Thank you received: 2
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.

  • Page:
  • 1