Quantcast
Channel: Embarcadero Community - Embarcadero Community
Viewing all articles
Browse latest Browse all 3212

Q: Meaning of [Ref] in parameter decelaration

$
0
0

Accidentally I saw this event declaration of FMX.TLIstView.ItemClickEx:

procedure TForm1.ListView1ItemClickEx(const Sender: TObject; ItemIndex: Integer;

  const [Ref] LocalClickPos: TPointF; const ItemObject: TListItemDrawable);



I have never seen the addition of [Ref]. Where is it documented? I guess it means "by reference", but was is then the difference with just declaring LocalClickPos: TPointF?

 

(Using Delphi DX10)

 


Viewing all articles
Browse latest Browse all 3212

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>