View Issue Details

IDProjectCategoryView StatusLast Update
0032247LazarusIDEpublic2018-01-01 17:23
ReporterMichl Assigned ToJuha Manninen  
Status resolvedResolutionfixed 
Product Version1.9 (SVN) 
Summary0032247: Packages with doted names: Dotted units events not detected right
DescriptionIf you use a package with dotted names and properties from undotted units (like TNotifyEvent) this works fine. If you want use a event defined in a dotted unit, only the unit name in front of the dot is taken.
Steps To ReproduceTry a component in a dotted unit:

  TStringEvent = procedure(var UserInfo:String) of object;

  TDotComponent = class(TComponent)
    FOnBar: TNotifyEvent;
    FOnFoo: TStringEvent;
    property OnBar: TNotifyEvent read FOnBar write FOnBar; // this works
    property OnFoo: TStringEvent read FOnFoo write FOnFoo; // this not

Compilable package added.
- install package in ide
- place a TDotComponent (from DotComponents) on a new form
- in Objectinspector.Events create default event for OnBar -> works fine
- in Objectinspector.Events create default event for OnFoo -> see invalid "dot" in uses clause
Additional InformationFirst reported here:
TagsNo tags attached.
Fixed in Revisionr56028
Attached Files



2017-08-06 20:12

developer (2,782 bytes)

Fabio Luis Girardi

2017-08-14 16:21

reporter   ~0102166

Apears to be fixed on Lazarus Trunk, revision 55631.


2017-08-14 17:26

developer   ~0102167

No. The problem is further visible here: Lazarus 1.9.0 r55664 FPC 3.0.4 i386-win32-win32/win64

Juha Manninen

2017-10-11 14:06

developer   ~0103356

Fixed, please test.

Andi Friess

2017-10-13 04:48

reporter   ~0103394

Works for me
Lazarus 1.9.0 r56035M FPC 3.1.1 i386-win32-win32/win64

THX to Juha

Issue History

Date Modified Username Field Change
2017-08-06 20:12 Michl New Issue
2017-08-06 20:12 Michl File Added:
2017-08-08 16:50 Mattias Gaertner Assigned To => Mattias Gaertner
2017-08-08 16:50 Mattias Gaertner Status new => assigned
2017-08-14 16:21 Fabio Luis Girardi Note Added: 0102166
2017-08-14 17:26 Michl Note Added: 0102167
2017-10-10 22:58 Juha Manninen Assigned To Mattias Gaertner => Juha Manninen
2017-10-11 14:06 Juha Manninen Fixed in Revision => r56028
2017-10-11 14:06 Juha Manninen Note Added: 0103356
2017-10-11 14:06 Juha Manninen Status assigned => resolved
2017-10-11 14:06 Juha Manninen Resolution open => fixed
2017-10-13 04:48 Andi Friess Note Added: 0103394