Is it possible to autodetect the platform ?

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

Reply via email to