× General Purpose Components and Libraries, discussions, problems and suggestions

Question cmdBox Bug. lines printed off screen

  • Andrew John Richter Cass
  • Topic Author
  • Offline
  • New Member
  • New Member
More
2 months 2 weeks ago - 2 months 2 weeks ago #16833 by Andrew John Richter Cass
cmdBox Bug. lines printed off screen was created by Andrew John Richter Cass
Usiing cmdbox examples from code ocean all seem to be ok, but if you begin a new app and insert a cmdbox component to it won't work at all! Command lines are printed off screen.Even the examples from code ocean if you delete the component from the example and insert it again from the component pallette it won't work anymore. The same problem happens with lazarus. I tried to download last git versions but same problem.If someone has a fix to it, i would apreciate.Thanks to all of you.

Solution: The cmdbox component neeeds the canvas.font data do work. Or you set the font before use the component or set a defaul font at on TcmdBox. create event and rebuild!Attached is the corrected ucmdbox.pas file.

 

File Attachment:

File Name: ucmdbox.zip
File Size:15 KB
 
Attachments:
Last edit: 2 months 2 weeks ago by Andrew John Richter Cass. Reason: Found solution

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

More
2 months 2 weeks ago - 2 months 2 weeks ago #16835 by Matis A.
Replied by Matis A. on topic cmdBox Bug. lines printed off screen
Thanks
We will test and report

We put your fix in to LAB CT ver 7.80

PilotLogic Core Programmer
Last edit: 2 months 2 weeks ago by Matis A..
The following user(s) said Thank You: Andrew John Richter Cass

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