Difference between revisions of "CmdLine"

From Free Pascal wiki
Jump to navigationJump to search
Line 1: Line 1:
 +
=== Unit name problem ===
 +
 +
I just got an email telling me there is a unit name problem when using FPC 2.3.1.
 +
You can rename the unit ucmdline to ucmdbox for example and create a new standard package with it. Unit needs to be "registered".
 +
I will fix that soon.
 +
 
=== About ===
 
=== About ===
 
''CmdLine'' is a prompt component, which has a few extra features to fit better into a VCL environment.
 
''CmdLine'' is a prompt component, which has a few extra features to fit better into a VCL environment.

Revision as of 08:04, 6 February 2008

Unit name problem

I just got an email telling me there is a unit name problem when using FPC 2.3.1. You can rename the unit ucmdline to ucmdbox for example and create a new standard package with it. Unit needs to be "registered". I will fix that soon.

About

CmdLine is a prompt component, which has a few extra features to fit better into a VCL environment.

Its main characteristics but these of an ordinary promt are :

  • Dynamic line length, lines which are too long are wrapped
  • Independent input buffer so you can still write during input
  • History
  • Copy/Paste/Cut for Input

If you find Bugs, don't work around please, contact me, I propably can fix it in less than a day and you don't have to work around again if the next version is released.

Screenshots

Example Application with GTK 1 on Kubuntu

ucmdline.png

Example Application on WinXP

ucmdline2.png

Author

Julian Schutsch

License

LGPL (please contact the author if the LGPL doesn't work with your project licensing)

Example Program:GPL

Download

The latest stable release can be found on the Lazarus CCR download page.

An Example Application is included !

Change Log

  • Version 0.3 2007.10.9
    • Removed fixed line width support
    • Added Paste/Copy/Cut
    • Threadsafe writeln/write
    • Fixed GTK 1/2 Support (tested on Kubuntu)
    • Workaround for font height, now gets +2 added (TTextMetric not equal on Win32/GTK)
    • Fixed Scrolling with Pos1/End suppressed on GTK
  • Version 0.2 2007.10.2
    • LGPL Licence
    • Added history
    • Added password input mode
    • Added fixed promt description infront of input
    • Minor bugs (Resizing, other)
  • Version 0.1 2007.9.27
    • Published, component works on Win32, hopefully everywhere else too

Dependencies / System Requirements

  • LCL >=1.0

Status: Beta

Installation

  • Open cmdline.lpk
  • Press Install