Felipe Monteiro de Carvalho 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).
It makes some sense. Why not add this property to TApplication ? This
looks a better place to me. THe widgetset object is something devel only
internal. Not to be used by "users".
Marc
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives