Why not just put a
Comboboxstyle : Integer
inthe message instead of referring to is as a TComboBoxStyle. Then you don't need the Controls.pp in the uses.
Shane
>> Michal Bukovjan 08/09 3:36 AM >>>
I knew that :-)
Still, Delphi detects this, reports this as a bug and won't compile, so should FPC, I think, instead of being caught in an endless loop. And your solution would not work, because I need to have a record field of TComboBoxStyle type in TLMWhateverMessage, which, by its nature, has to be in interface part of lmessages.pp.
The use of lmessages.pp unit has to be in interface part of controls.pp, also, beacuse there are some message types used in some sontrols' class declaration, which are in interface part, too.
So, I'm stuck here. Will consider typecasting to plain integer, however, I feel that this is far from being ideal.
Michal Bukovjan
"Michael A. Hess" wrote 23 lines
____________________________________________________________________ Get your own FREE, personal Netscape WebMail account today at http://webmail.netscape.com.
_________________________________________________________________ To unsubscribe: mail with
"unsubscribe" as the Subject
archives at http://www.miraclec.com/list_archives/lazarus
