HI.
I use Lazarus & FPC to develop programs for WinCE since a few years (now on 1.0.8). Besides the usual beginner problems and errors, the whole system runs very well.
I've had a lot of problems with forms too until I understood that the window stack does not work very well.
I must mention that the handheld computers have a screen size fo 320 x 240 less the top and bottom bars.
After a lot of tests I took the decision to work with modal forms and control myself the display and hiding of the forms. The sequence wich works every time is the next one:
- all forms are created at the starting time
onto any form, need another form:
- prepare properties of the form to be dispayed
- Ret := OtherForm.ShowModal;
- do whatever to do whith ModalResult and OtherForm properties and data
- *Self.BringToFront;
*On another hand these are the forms properties changed from the default: *Form.Position := poScreenCenter;
Height := 320;
Width := 240;
*Form;KeyPreview := True;
All forms display without problem as full screen.
After a lot of time spent on checking different combinations, the former one gave predictable and acceptable results
Do not forget that with WinCE Microsoft didn't implement a lot of properties, methonds, etc. from a basic Windows OS.
Antonio.
Le 29/07/2013 23:50, "Ar? Ricardo Ody" a ?crit :
Show quoted text 90 lines
Windows 8 is used in tablets, notebooks and desktops. It has a great
likeness to windows phone. Windows phone was create to substitutes
operating systems that runs on handhelds and smartphones.
Windows Mobile and Windows CE was developed to run in handhelds and
smartphones. There is a third operating system by MS named Pocket PC.
Theoretically they are similar, but my experience shows me that
Lazarus seems to run better under Windows Mobile 6 and later. I have a
stable high reliable application for windows mobile hat have serious
troubles to run under Windows CE and doesn't run in Pocket PC.
The Lazarus IDE is the same. You only must configure certain
properties to generate executables to run in handhelds.
Hope I have give you some help
Ricardo
?
>
> ----- Original Message -----
>
> From: Benito van der Zander
>
> Sent: 07/29/13 04:23 PM
>
> To: Lazarus mailing list
>
> Subject: Re: [Lazarus] Behavior of Lazarus windows CE seems to differ
> from the windows mobile behavior
>
> ?
> Interesting topic
>
> What is the difference between Windows CE, Windows 8 and Windows Mobile?
>
> Which one can you use Lazarus to create "apps" for?
>
> ?
> On 07/29/2013 06:07 PM, "Ar?? Ricardo Ody" wrote:
>> Someone suggested compile with Lazarus 1.1. I did it(downloaded and
>> installed daily screenshot). The trouble with fullscreen still
>> exists. I discovered when I ran in a windows mobile device emulator.
>> I'll ask for a friend try test in a WinCE device again. At least
>> I'll discover if the new version manage the screens right in Windows
>> CE(although the fullscreen still in trouble)
>>
>>> ----- Original Message -----
>>>
>>> From: Reinier Olislagers
>>>
>>> Sent: 07/29/13 04:45 AM
>>>
>>> To: Lazarus mailing list
>>>
>>> Subject: Re: [Lazarus] Behavior of Lazarus windows CE seems to
>>> differ from the windows mobile behavior
>>>
>>> On 28/07/2013 22:43, "Ar?? Ricardo Ody" wrote:
>>> > I'm using Lazarus 0.9.30 'cause the full screen routine is in trouble in
>>> > the versions 1.0.X and later.
>>>
>>> No experience with WinCE and Lazarus, but wasn't this problem fixed in
>>> Laz trunk?
>>> I at least recall a lot of posts about this a while ago...
>>>
>>>
>>> --
>>> _______________________________________________
>>> Lazarus mailing list
>>>
>>>
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
>>
>> ?
>>
>> ?
>> --
>> _______________________________________________
>> Lazarus mailing list
>>
>>
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
?
--
_______________________________________________
Lazarus mailing list
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20130730/f4a714d6/attachment-0001.html>