Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2015-03

TListView.Selected.EditCaption; NOT work

3 messages · 2 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

FreeMan

svn fpc & lazarus yosemite qt
Added 3 columns, last column visible false

TListView.Checkboxes := true;
TListView.Selected.EditCaption;
...
in /opt/lazarus/lcl/include/customlistview.inc
procedure TCustomListView.ShowEditor;
......
   R := Item.DisplayRect(drLabel);
   if LCLIntf.IsRectEmpty(R) then  <--- Always return true
     exit;

Reply by email

zeljko
to FreeMan
FreeMan wrote 13 lines
svn fpc & lazarus yosemite qt Added 3 columns, last column visible false TListView.Checkboxes := true; TListView.Selected.EditCaption; ... in /opt/lazarus/lcl/include/customlistview.inc procedure TCustomListView.ShowEditor; ...... R := Item.DisplayRect(drLabel); if LCLIntf.IsRectEmpty(R) then <--- Always return true exit;

What lazarus version ?
Please open an issue about it and attach example project if it's trunk lazarus.

zeljko

Reply by email