Lazarus

Free Pascal => FV/Textmode IDE => Topic started by: TomB on September 10, 2020, 05:11:05 pm

Title: Using mouse with Free Vision
Post by: TomB on September 10, 2020, 05:11:05 pm
Dear all,
I compiled a Borland Pascal program with Free Pascal and it worked at once. However, I does not seem possible to select the Free Vision items with the mouse. This is a linux system and I started the program with an xterm. I read previous posts which mostly referred to switching off the 'quickedit' functionality, but alas, this is linux and using the mouse is allowed under the xterm settings. Also, FP IDE works fine with full mouse support. I have no clue what else I could try to make the mouse work.
--Ubuntu 18.04 KDE, xterm (version 330), free pascal version 3.0.4, FP version 1.0.12

Any help is highly appreciated,
Tom.

Title: Re: Using mouse with Free Vision
Post by: marcov on September 10, 2020, 05:28:40 pm
You need to init the mouse unit of the rtl-console package.
Title: Re: Using mouse with Free Vision
Post by: TomB on September 10, 2020, 10:21:49 pm
Thanks for the advice! Unfortunately, this did NOT resolve the problem.
I called 'InitMouse' from unit 'Mouse' at the start of the program (and 'DoneMouse' when leaving it).
However this had no effect at all.
TinyPortal © 2005-2018