Jump to content


Photo

Editing grid is cutting off text


  • Please log in to reply
8 replies to this topic

#1 pka4916

pka4916
  • Members
  • 42 posts

Posted 04 April 2018 - 04:51 AM

When I have this in a cell from a grid

 

c:\install\myfiles\documents\

 

and I click or double click on the cell to edit  the text jumps to

 

documents\

 

I need to scroll inside the cell all the way to the left, so that everything is showing..   How can i prevent that?

 

I have the width of the cell set to 900  so i see only 1 cell.

 

seems like in edit mode it jumps to the last section after the \

 

 



#2 Boki (Berg)

Boki (Berg)

    Boki (Berg)

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

Posted 06 April 2018 - 12:03 AM

Hi,

I'm sorry, I'm not sure if I understand.

Can you please send me very small project or code that you use to create this cell. I'm not sure if problem is in Inplace-editor or cell scrolling (when cell is too wide).
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 pka4916

pka4916
  • Members
  • 42 posts

Posted 06 April 2018 - 01:22 AM

Here is an example.

 

https://www.dropbox....8/demo.rar?dl=0

 

just double click in the 2nd row.  and you see it.  it's even worse for the last column.



#4 pka4916

pka4916
  • Members
  • 42 posts

Posted 08 April 2018 - 03:37 AM

Any update?



#5 Boki (Berg)

Boki (Berg)

    Boki (Berg)

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

Posted 08 April 2018 - 02:51 PM

Hi,

I found the cause, it is select all routine I use to call. I will need to think how to solve it.
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.

#6 Boki (Berg)

Boki (Berg)

    Boki (Berg)

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

Posted 08 April 2018 - 03:18 PM

Hi,

Please try to update next code in NxEdit6.pas (around line 1762). I will test it more upcoming days.

procedure TNxCustomEdit6.BeginEdit;
begin
  { 8.4.2018: Added AutoSelect instead of
              SelStart := Lenght(Text). }
  AutoSelect := True;
  AutoSize := False;
  BorderStyle := bsNone;
//  SelStart := Length(Text);
  WantTabs := True;
end;

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.

#7 pka4916

pka4916
  • Members
  • 42 posts

Posted 08 April 2018 - 04:07 PM

Awesome, thank you,  that worked great.



#8 pka4916

pka4916
  • Members
  • 42 posts

Posted 27 May 2018 - 08:43 PM

Is this fix implemented in the latest version, since I did not update yet.



#9 Boki (Berg)

Boki (Berg)

    Boki (Berg)

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

Posted 27 May 2018 - 10:40 PM

Hi,

You should get this in updated version too.
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.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users