Lazarus

Programming => Widgetset => WinCE => Topic started by: mangakissa on October 08, 2014, 04:29:47 pm

Title: screen aligning
Post by: mangakissa on October 08, 2014, 04:29:47 pm
I followed this document on wiki (http://wiki.lazarus.freepascal.org/Windows_CE_Development_Notes#Positioning_and_size_of_Dialogs_and_Forms). 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?
Title: Re: screen aligning
Post by: bambamns on October 09, 2014, 05:43:03 am
What problem do you have with forms on WinCE ?
Title: Re: screen aligning
Post by: mangakissa 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
Title: Re: screen aligning
Post by: bambamns 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_Interface)
http://wiki.lazarus.freepascal.org/Windows_CE_Development_Notes (http://wiki.lazarus.freepascal.org/Windows_CE_Development_Notes)
http://wiki.lazarus.freepascal.org/WinCE_Programming_Tips (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.
Title: Re: screen aligning
Post by: mangakissa 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.
Title: Re: screen aligning
Post by: bambamns 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 (http://forum.lazarus.freepascal.org/index.php/topic,7668.0.html) ?
Title: Re: screen aligning
Post by: ertank 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