Forum
× CodeTyphon Platforms (Win, GTK2/3, QT4/5, Cocoa, etc) Development, discussions and problems

Question [bug report] Calling 'InputBox' in Raspberry pi 1 raises exception error.

  • chulwoong
  • Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
More
1 month 1 week ago #13463 by chulwoong
If I call

inStr := InputBox('Error Test','Please type any string..');


then it raised an exception error.

I checked CT 6.6 and 6.8. I experience the same exception error.

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

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Away
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
More
1 month 1 week ago - 1 month 1 week ago #13464 by Sternas Stefanos
Thanks Sir

InputBox function has 3 input const ACaption, APrompt, ADefault

unit Dialogs
....
function InputBox(const ACaption, APrompt, ADefault : String) : String;
....


so the correct code is :

inStr :=:= InputBox('Error Test','Please type any string..','DEFAULT INPUT OR NOTHING');

PilotLogic Architect and Core Programmer
Last edit: 1 month 1 week ago by Sternas Stefanos.

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

  • chulwoong
  • Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
More
1 month 6 days ago #13468 by chulwoong
For the Win32 Build and Linux build, my codes don't raise the exception error. It only happens with the build for the raspberry pi 1. why is that?
Thanks in advance.

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

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Away
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
More
1 month 6 days ago #13469 by Sternas Stefanos
unit Dialogs is common to ALL OSes
the same and InputBox function

PilotLogic Architect and Core Programmer

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