Jump to content

How To Determine If An Editable Column In TUniDBGrid Is Being Edited Or Not?


Frederick

Recommended Posts

I have a editable string column in a TUniDBGrid that is linked to a datasource.

How do I determine that it is in edit mode after I double click it and how do I know that it is no longer in edit mode after I press ESCAPE?

--
Frederick
(UniGUI Complete - Professional Edition 1.90.0.1543)
 

Link to comment
Share on other sites

33 minutes ago, Frederick said:

have a editable string column in a TUniDBGrid that is linked to a datasource.

How do I determine that it is in edit mode after I double click it and how do I know that it is no longer in edit mode after I press ESCAPE?

Hello,

Sorry, can you please clarify your question?

Link to comment
Share on other sites

Please see attached video. After I double click the column or press the ENTER key on it, I want the label "Editing: No" to become "Editing: Yes".

If I decide to cancel an edit and I press the ESCAPE key, I want the label "Escape: No" to change to "Escape: Yes" and the label "Editing: Yes" to change to "Editing: No".

Note: I have also attached the testcase file.

editgrid.zip

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...