Recent

Author Topic: screen aligning  (Read 10978 times)

mangakissa

  • Hero Member
  • *****
  • Posts: 1131
screen aligning
« on: October 08, 2014, 04:29:47 pm »
I followed this document on wiki. Especially ApplicationType, Positioning and size of Dialogs and Forms and The Title "OK" and "X" buttons. I'm developing in winCE.
These settings are not working. I have to put properties Left en Top to the left corner of my screen to see my form.
Also alignment := alClient doesn't work.

Is this document outdated?
Lazarus 2.06 (64b) / FPC 3.0.4 / Windows 10
stucked on Delphi 10.3.1

bambamns

  • Full Member
  • ***
  • Posts: 223
Re: screen aligning
« Reply #1 on: October 09, 2014, 05:43:03 am »
What problem do you have with forms on WinCE ?
Lazarus 1.8.4 + FPC 2.6.4 x86 (rebuild) and Lazarus 2.0, Windows 7 x64, unless otherwise specified

mangakissa

  • Hero Member
  • *****
  • Posts: 1131
Re: screen aligning
« Reply #2 on: October 09, 2014, 08:29:21 am »
That its not the look a like I expected as they told en can't get the form in full screen
Lazarus 2.06 (64b) / FPC 3.0.4 / Windows 10
stucked on Delphi 10.3.1

bambamns

  • Full Member
  • ***
  • Posts: 223
Re: screen aligning
« Reply #3 on: October 10, 2014, 06:20:30 am »
You can have a form in full screen and still you can have a form as part of screen.

Did you read :
http://wiki.lazarus.freepascal.org/Windows_CE_Interface
http://wiki.lazarus.freepascal.org/Windows_CE_Development_Notes
http://wiki.lazarus.freepascal.org/WinCE_Programming_Tips

I have developed a few applications for WinCE in a past 3-4 years and they are working very nice on few dozens devices every day, full business time.
Lazarus 1.8.4 + FPC 2.6.4 x86 (rebuild) and Lazarus 2.0, Windows 7 x64, unless otherwise specified

mangakissa

  • Hero Member
  • *****
  • Posts: 1131
Re: screen aligning
« Reply #4 on: October 10, 2014, 09:16:27 am »
Thanks.

I read the first two already. The second one tells about the 'implementation details' for display a wince look a like form as the screenshot. But my demo will not (see my code).

I didn't noticed the 'WinCE Programming Tips' on wiki. It's indeed very usefull. Especially the licence issue.
Lazarus 2.06 (64b) / FPC 3.0.4 / Windows 10
stucked on Delphi 10.3.1

bambamns

  • Full Member
  • ***
  • Posts: 223
Re: screen aligning
« Reply #5 on: October 15, 2014, 05:53:46 am »
I can't compile your project because you use Indy components and I don't (I use LNet).

Did you tried to implement this http://forum.lazarus.freepascal.org/index.php/topic,7668.0.html ?
Lazarus 1.8.4 + FPC 2.6.4 x86 (rebuild) and Lazarus 2.0, Windows 7 x64, unless otherwise specified

ertank

  • Sr. Member
  • ****
  • Posts: 274
Re: screen aligning
« Reply #6 on: November 22, 2015, 09:57:42 am »
I am told that WinCE 6.0 (not the Windows Mobile 6.0) is not supported/fully supported by current versions of Lazarus. Latest WinCE version supported by Lazarus is 5.2 I believe.

I am having same problems with Lazaus 1.4.4 and cross compiler arm 1.4.4 on my WinCE 6.0 device.

Forms BorderStyle is always stays as bsDialog. That's why WindowState := wsMaximized doesn't work. That's why I need to set Left and Top properties both to 0 (zero) of the Form in order to be able to see it when running on device. That's why there is no maximize/minimize buttons near X button.

I assume you are on WinCE 6.0 and most likely for above reason you are having problems.

 

TinyPortal © 2005-2018