Jump to content


Photo

Unicode inplace editor, Delphi7, free NextGrid6


  • Please log in to reply
2 replies to this topic

#1 Dimon_II

Dimon_II
  • Members
  • 5 posts

Posted 06 March 2021 - 02:16 PM

Is it possible to edit Unicode in the free version?
Plain text, drop-down list and text with a button that calls the dialog editor.
 
Switching the inplace editor to readonly does not work correctly - editing is not available, but when the cell is activated, a Unicode-Ansi transformation occurs and simply leaving the cell, a new text is written.
 Property "enabled" is not what we need - we need text selection and a button pressing.
 
PS The free version is critically important - my project is publicly available with source codes.

Attached Files



#2 Boki (Berg)

Boki (Berg)

    Boki (Berg)

  • Forum Admin
  • PipPipPipPipPip
  • 8,191 posts
  • Gender:Male

Posted 07 March 2021 - 01:51 PM

Hello,

 

For older Delphi version I recommend using controls such as TNT Controls (https://github.com/rofl0r/TntUnicode) and then implement INxInplaceEdit interface on them. Then they can be simply assigned to InplaceEdit property of a Column.

 

If there is a interest, maybe I can make a implementation of this interface on free version of TNT controls.


boki@bergsoft.net | LinkedIn Profile
--
BergSoft Home Page: www.bergsoft.net
Users Section: users.bergsoft.net
Articles and Tutorials: help.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.

#3 Dimon_II

Dimon_II
  • Members
  • 5 posts

Posted 08 March 2021 - 11:24 AM

If it does not make it difficult - please do it!
I have been rewriting the program to use Nextgrid for more than a week and do not want to replace it with TNT.
 
From the presence of the "tnt-" option in the ini-file and the old mention on the forum, I assumed that this edit was in the old version ~ 4 and was lost with the advent of unicode Delphi.

Another - "strange" behavior of AcceptEdit, if:
Accept: = false
CanLeave: = true
I was hoping to at least get the cancellation of the loss of unicode, (undo and exit the cell) but the exit is also blocked.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users