On 12/04/2019 13:10, Graeme Geldenhuys wrote:
> On 12/04/2019 12:40, Mattias Gaertner via fpc-pascal wrote:
>> I get:
>> test1.pas(26,8) Error: identifier idents no member "FDropDown"
>
> It works in Delphi 10.2.3


Ah wait, the code comment was wrong. Those fields were actually "strict
protected", not "strict private".

Delphi gives a compilation error "E2361 Cannoct access private symbol
...."  for strict private fields, but I can access strict protected fields.

Still not sure if that is any better though. Seems to defeat the whole
point of "strict xxx" construct.

Regards,
  Graeme

-- 
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/

My public PGP key:  http://tinyurl.com/graeme-pgp
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to