Recent

Author Topic: MainForm Problem  (Read 10038 times)

SONFEDAI

  • Jr. Member
  • **
  • Posts: 55
MainForm Problem
« on: April 06, 2011, 12:25:18 pm »
I'm using Lazarus For Wince

I Have a test program

Mainform borderstyle is bsSingle and width:= 240, height:= 270

But mainform is not FullScreen...

Lazarus Change height to ~242

Anyone have any Idea?

I'm using
   Lazarus: 0.9.3.1
   Date: 2011-11-05
   FPC: 2.5.1
   SVN Ver.: 29060

felipemdc

  • Administrator
  • Hero Member
  • *
  • Posts: 3538
Re: MainForm Problem
« Reply #1 on: April 06, 2011, 01:34:08 pm »
Using bsResizable works? Do you have a screenshot showing the problem? What kind of device do you have?

SONFEDAI

  • Jr. Member
  • **
  • Posts: 55
Re: MainForm Problem
« Reply #2 on: April 06, 2011, 02:28:15 pm »
http://www.ressim.net/61/upload/0b39737c.jpg

I'm using PIDION  Bip - 1300, Windows CE 5.00 (Build 1400)

Program Automatic Create second empty windows bottom side of screen  %)
I'm using
   Lazarus: 0.9.3.1
   Date: 2011-11-05
   FPC: 2.5.1
   SVN Ver.: 29060

felipemdc

  • Administrator
  • Hero Member
  • *
  • Posts: 3538
Re: MainForm Problem
« Reply #3 on: April 06, 2011, 03:00:18 pm »
Which version of Lazarus are you using? This looks something which I already fixed.

SONFEDAI

  • Jr. Member
  • **
  • Posts: 55
Re: MainForm Problem
« Reply #4 on: April 06, 2011, 03:03:24 pm »
Setup file names is

lazarus-0.9.30-fpc-2.4.2-win32.exe

and

Lazarus-0.9.30-fpc-2.4.2-cross-arm-wince-win32.exe

I'm using
   Lazarus: 0.9.3.1
   Date: 2011-11-05
   FPC: 2.5.1
   SVN Ver.: 29060

felipemdc

  • Administrator
  • Hero Member
  • *
  • Posts: 3538
Re: MainForm Problem
« Reply #5 on: April 06, 2011, 03:56:55 pm »
If you write in your program:

program MyProgram;
 
...
 
begin
  Application.ApplicationType := atDesktop;
  Application.Initialize;
  ...
end.

Does it fix the problem?

SONFEDAI

  • Jr. Member
  • **
  • Posts: 55
Re: MainForm Problem
« Reply #6 on: April 06, 2011, 04:17:08 pm »
Sorry

Not Solved.

I'm downloading

Lazarus-0.9.31-30101-fpc-2.5.1-20110401-cross-arm-wince-win32.exe

and

Lazarus-0.9.31-30218-fpc-2.5.1-20110406-win32.exe

I Think this setup files will solve my problem ...

I'm using
   Lazarus: 0.9.3.1
   Date: 2011-11-05
   FPC: 2.5.1
   SVN Ver.: 29060

felipemdc

  • Administrator
  • Hero Member
  • *
  • Posts: 3538
Re: MainForm Problem
« Reply #7 on: April 06, 2011, 05:01:50 pm »

SONFEDAI

  • Jr. Member
  • **
  • Posts: 55
Re: MainForm Problem
« Reply #8 on: April 06, 2011, 05:15:32 pm »
Yes

It is same problem...
I'm using
   Lazarus: 0.9.3.1
   Date: 2011-11-05
   FPC: 2.5.1
   SVN Ver.: 29060

felipemdc

  • Administrator
  • Hero Member
  • *
  • Posts: 3538
Re: MainForm Problem
« Reply #9 on: April 06, 2011, 05:34:33 pm »
The best would be if you use subversion Lazarus to test revisions and check if the revision with the fix works for you, then test the latest. If the latest doesnt work but the revision with the fix works, then test the revision in the middle. Some 10 tests should be enough to pin point the exact revision which caused the regression. You can svn update and rebuild only the LCL in each test.

 

TinyPortal © 2005-2018