Hello, FPC developers' list
I had discussion with Marc about how to mark some properties as
widgetset specific (and show them in object inspector as specific for
widgetset 'xxx'). As result of discussion we found easy solution - mark
that properties with platform flag, but platform flag should
Graeme Geldenhuys wrote:
On 27/09/2007, Павел Ишенин <[EMAIL PROTECTED]> wrote:
TMenu = class(...)
published
property Detachable: Boolean read ... write ... ; platform carbon qt;
{ or it can be platform 'carbon,qt' or another easier way }
end;
So using this example: Detachable property info
On Fri, 28 Sep 2007, Marc Weustink wrote:
> Graeme Geldenhuys wrote:
> > On 27/09/2007, Павел Ишенин <[EMAIL PROTECTED]> wrote:
> > > TMenu = class(...)
> > > published
> > > property Detachable: Boolean read ... write ... ; platform carbon qt;
> > > { or it can be platform 'carbon,qt' or anot
Michael Van Canneyt schreef:
On Fri, 28 Sep 2007, Marc Weustink wrote:
Graeme Geldenhuys wrote:
On 27/09/2007, Павел Ишенин <[EMAIL PROTECTED]> wrote:
TMenu = class(...)
published
property Detachable: Boolean read ... write ... ; platform carbon qt;
{ or it can be platform 'carbon,qt' or a
Michael Van Canneyt wrote:
On Fri, 28 Sep 2007, Marc Weustink wrote:
Graeme Geldenhuys wrote:
On 27/09/2007, Павел Ишенин <[EMAIL PROTECTED]> wrote:
TMenu = class(...)
published
property Detachable: Boolean read ... write ... ; platform carbon qt;
{ or it can be platform 'carbon,qt' or ano
> On Fri, 28 Sep 2007, Marc Weustink wrote:
> > No the property will always exist and always been written. Only an
> > indication
> > to the user can be shown that this is a property which might not work on all
> > platforms
> > IIRC, that's what the platform directive was meant for.
>
> Only to
On Fri, 28 Sep 2007, Marco van de Voort wrote:
> > On Fri, 28 Sep 2007, Marc Weustink wrote:
> > > No the property will always exist and always been written. Only an
> > > indication
> > > to the user can be shown that this is a property which might not work on
> > > all
> > > platforms
> > >
On Thu, 27 Sep 2007, Павел Ишенин wrote:
> Hello, FPC developers' list
>
> I had discussion with Marc about how to mark some properties as widgetset
> specific (and show them in object inspector as specific for widgetset 'xxx').
> As result of discussion we found easy solution - mark that prope
Michael Van Canneyt wrote:
I think it's better to implement a string message dispatcher for this
instead of adding RTTI (which is already bulky as it is). Do not forget
that the widget set is very lazarus specific, and has nothing to do with
RTTI or even the OS/CPU platform that the compiler kn
�авоН ��онин wrote:
> Michael Van Canneyt wrote:
>> I think it's better to implement a string message dispatcher for this
>> instead of adding RTTI (which is already bulky as it is). Do not forget
>> that the widget set is very lazarus specific, and has nothing to do with
>> RTTI or even
Tomas Hajny wrote:
�авоН ��онин wrote:
Michael Van Canneyt wrote:
I think it's better to implement a string message dispatcher for this
instead of adding RTTI (which is already bulky as it is). Do not forget
that the widget set is very lazarus specific, and has nothing to do with
RTT
Some comments inline, imo, no need to comment on separate mails.
Sergei Gorelkin wrote:
Tomas Hajny wrote:
�авоН ��онин wrote:
Michael Van Canneyt wrote:
I think it's better to implement a string message dispatcher for this
instead of adding RTTI (which is already bulky as it is).
Marc Weustink wrote:
The informativeness of 'platform' hints could be improved by including
a comment that is adjacent to the keyword, if one exists, e.g:
property SomeProp; platform; // qt and carbon only
Then hint will then be:
property 'SomeProp' is platform-specific (qt and carbon only).
On 27/09/2007, Павел Ишенин <[EMAIL PROTECTED]> wrote:
>
> TMenu = class(...)
> published
> property Detachable: Boolean read ... write ... ; platform carbon qt;
> { or it can be platform 'carbon,qt' or another easier way }
> end;
So using this example: Detachable property information will be
w
On Thu, 27 Sep 2007 23:13:07 +0800
Павел Ишенин <[EMAIL PROTECTED]> wrote:
> Hello, FPC developers' list
>
> I had discussion with Marc about how to mark some properties as
> widgetset specific (and show them in object inspector as specific for
> widgetset 'xxx'). As result of discussion we fou
15 matches
Mail list logo