How to use TMXfmxPopup, if you want it to popup from the selected Row?
(grid selection = SingleRowSelect)
if MEMO.Lines.Count>0 then begin
PopupOpm.PlacementTarget:=GRID.GetCellObject(cell(clientdataset.RecNo,0));
PopupOpm.Popup;
end else
PopUpOpm.ClosePopup;
But the postion is wrong.
Also when using singlerowSelect, Grid.selected has 0 items. And so does grid.selectedRow.
if MEMO.Lines.Count>0 then begin
PopupOpm.PlacementTarget:=GRIDadr.GetCellObject(cell(Gridadr.selectedrow[0],0));
PopupOpm.Popup;
end else
PopUpOpm.ClosePopup;
so i cannot use this,because this returns nil as placementtarget.
greetings filip