[lazarus] FPC Request

Peter Vreman pfv at cooldown.demon.nl
Wed Oct 20 17:27:53 EDT 1999


At 18:57 20-10-99 , you wrote:
>Defining a TYPE as
>
>TSomeType = Type Word;
>
>creates a type that is not associated with a Word.  For example, if you 
>define some types as
>
>type
>T1 = Word;
>T2 = Word;
>
>TSomeType = type Word;
>
>then T1 and T2 are identical to words, but TSomeType is actually a NEW 
>type.  Delphi uses this to override the normal property editor in their 
>IDE.  If they defined a published property as a T1 and selected it in the 
>object inspector, they would edit it like they would edit a WORD value.
>
>If they defined a published property as a TSomeType and tried to edit it 
>in the object inspector, you could create your own property editor for 
>that type.  It's NOT associated with a word and therefore can be edited 
>differently.
>
>I think for now, you simply need to allow the declaration, and we can work 
>on the other parts of that later.

OK, i'll add support for it as soon as i've finished the linker part 
rewritting.


Peter






More information about the Lazarus mailing list