Recent

Author Topic: InputBox function display not correct.  (Read 6737 times)

nikcool

  • Newbie
  • Posts: 3
InputBox function display not correct.
« on: November 15, 2013, 07:31:47 pm »
Hello!
Correct
lazarus-0.9.28-fpc-2.2.4-win32
lazarus-0.9.28-fpc-2.2.4-cross-arm-wince-win32

Not correct
lazarus-1.0.12-fpc-2.6.2-win32
lazarus-1.0.12-fpc-2.6.2-cross-arm-wince-win32
Compiled in Win XP, 7. Runs in WinCE 5.00

Tell me, how can I fix it?
example

bambamns

  • Full Member
  • ***
  • Posts: 223
Re: InputBox function display not correct.
« Reply #1 on: November 17, 2013, 09:48:31 pm »
What values do you have in Form Properties :
BorderIcons
BorderStyle
Position
Lazarus 1.8.4 + FPC 2.6.4 x86 (rebuild) and Lazarus 2.0, Windows 7 x64, unless otherwise specified

nikcool

  • Newbie
  • Posts: 3
Re: InputBox function display not correct.
« Reply #2 on: November 18, 2013, 03:51:02 am »
bambamns,
BorderIcons = [biSystemMenu,biMinimize,biMaximize]
BorderStyle = bsSizeable
Position = poDesktopCenter

bambamns

  • Full Member
  • ***
  • Posts: 223
Re: InputBox function display not correct.
« Reply #3 on: November 18, 2013, 05:54:29 am »
Try this :

BorderIcons = []
BorderStyle = bsNone
Position = poDesktopCenter

Those settings I use for custom message window wit Lazarus 1.2 RC1 and FPC 2.6.2.
« Last Edit: November 18, 2013, 05:56:03 am by bambamns »
Lazarus 1.8.4 + FPC 2.6.4 x86 (rebuild) and Lazarus 2.0, Windows 7 x64, unless otherwise specified

nikcool

  • Newbie
  • Posts: 3
Re: InputBox function display not correct.
« Reply #4 on: November 18, 2013, 09:10:07 am »
My window is called by the InputBox:
Code: [Select]
procedure TForm1.Button1Click(Sender: TObject);
begin
  ShowMessage(InputBox('Lazarus IDE v1.0.12','Input Box','Input Box'));
end;
 
And the properties are not set

 

TinyPortal © 2005-2018