@Felipe

Yes i agree. Can anyone implement this in twidgetset ? I will make an new implementation for wince interface. Maybe its an good idea to implement an Option for this in the roject compiler options and lazarus include the line automatically in the lpr ?!

Is it possible to autodetect the platform ?

I think thats possible partially on windows ce but on an linux pda i dont see any way.
And maybe in windwos ce its for some devices also dificult.
I think its an good solution to have this property and maybe an Autodetect routine is runned when it is set to
atDefault ?!

so we would have (atDefault,atDesktop,atHandheld,atPDA,atSmartphone) ?!

or atDefault is named atAuto(detect)


On 11/10/06, Felipe Monteiro de Carvalho
<[EMAIL PROTECTED]> wrote:
On 11/10/06, Christian Ulrich <[EMAIL PROTECTED]> wrote:
> I think the best solution for this is an seperate interface.

I don't agree. There aren't that many differences between different
windows ce devices. Better make it a settable property.

And while we are at it, why not create a public field on TWidgetSet
with a enumerated type?

Something like:

TApplicationType = (atDesktop, atMobile, atPDA);

The default would be atDesktop, except for Windows CE, where it could be atPDA.

This would probably make access much easier to the property, and
create a compatible interface in case we see this problem on the
future again (like on Gtk PDAs, or Qt PDAs).

--
Felipe Monteiro de Carvalho

_________________________________________________________________
     To unsubscribe: mail [EMAIL PROTECTED] with
                "unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives


_________________________________________________________________
    To unsubscribe: mail [EMAIL PROTECTED] with
               "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives



_________________________________________________________________
    To unsubscribe: mail [EMAIL PROTECTED] with
               "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to