Francois PIETTE wrote:
>> Thanks, that works. I found several other places where those declarations
>> are used. So it's not OT. For instance:
>>
>> {$IFDEF USE_SSL}
>> THttpConnection = class(TSslWSocketClient)
>> {$ELSE}
>> THttpConnection = class(TWSocketClient)
>> {$ENDIF}
>>
>> All those declarations cause the IDE to display an additional
>> private var, here THttpConnection in the object inspector.
>> If you change it to:
>>
>> {$IFDEF USE_SSL}
>> TBaseHttpConnection = TSslWSocketClient;
>> {$ELSE}
>> TBaseHttpConnection = TWSocketClient;
>> {$ENDIF}
>> THttpConnection = class(TBaseHttpConnection)
>>
>> it makes the IDE happy. However lists TBaseHttpConnection
>> under Types of course.
>>
>> Francois, what do you think?
>
> What do you mean by "lists TBaseHttpConnection under Types" ?
New type TBaseHttpConnection would be listed by the object inspector
under section Types.
> --
> [EMAIL PROTECTED]
> http://www.overbyte.be
--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be