Jump to content


Photo

TnxListColumn6 and InPlaceEdit


  • Please log in to reply
1 reply to this topic

#1 AlexMex

AlexMex
  • Members
  • 12 posts

Posted 25 January 2019 - 12:54 AM

Hi Boki,

 

I have a TNxListColumns6 that has some items defined in its items property. When I edit the column, the combobox remains active after I click on one item of the dropdown. I have to click on another cell of the grid to make disappear the combo. I try to catch the Closeup event of the combo to execute an InPlaceEdit.EndEdit but it does not work. Can you tell me the proper sequence to make disappear the inplaceedit when user selects an item in the list and give back the focus to the column?

 

Regards,

Alex



#2 Boki (Berg)

Boki (Berg)

    Boki (Berg)

  • Forum Admin
  • PipPipPipPipPip
  • 7,823 posts
  • Gender:Male

Posted 28 January 2019 - 10:10 PM

Hi Alex,

Maybe this event can help:

procedure TForm7.NextGrid61InplaceEditChange(Sender: TObject);
begin
  NextGrid61.EndEditing(True);
end;


boki@bergsoft.net | LinkedIn Profile
--
BergSoft Home Page: www.bergsoft.net
Members Section: bms.bergsoft.net
Articles and Tutorials: dn.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users