[fpc-pascal] Lazarus: graphical interface using code only?

Graeme Geldenhuys graemeg.lists at gmail.com
Thu Dec 4 08:20:23 CET 2008

On Thu, Dec 4, 2008 at 8:35 AM, Ryan Mann <ryan_mann at mac.com> wrote:
> Actually, I tried to compile FPGUI using build.bat on Windows earlier today
> and I got an error.

It should now be fixed in revision 1051. Please get a svn update and
try again. The windows build.bat file did not try and create the lib
output directory, if it didn't exist. The unix shell script did. The
build.batch has one limitation, it always assumes the
..\lib\i386-win32\ output directory, so if you run a 64bit FPC
compiler, you will have to manually create the ..\lib\i386-win64\
directory before running the batch file.

Anybody know how I can store the output of a program into a variable
in windows batch files? I'm trying to capture the following output
like I have done in the unix shell script.
   fpctarget=`fpc -iTP`-`fpc -iTO`

> By the way, does FPGUI use Windows API on Windows?  If it does
> that's good because the GUIs it creates are probably accessible to screen
> readers.

If you mean, does it use the Windows common controls, then the answer
is No. fpGUI is a custom drawn toolkit. All components are drawn by
the toolkit itself. That is how it accomplished a uniform look & feel
across platforms.  fpGUI's GDI backend does obviously use the Windows
API for drawing etc, but doesn't use the common controls.

I'm curious... How do you manage to create a GUI or use a GUI program
if you are blind? Sorry, I don't know how screen readers work?

  - Graeme -

fpGUI - a cross-platform Free Pascal GUI toolkit

More information about the fpc-pascal mailing list