Jump to content


Photo

NextGrid6 string processing, NextVirtualGrid6 and a few questions and bugs


  • Please log in to reply
45 replies to this topic

#41 karl

karl
  • Members
  • 52 posts
  • Gender:Male
  • Location:Austria

Posted 04 December 2015 - 01:47 AM

Hi Boki,

 

I'm looking forward to it.



#42 Boki (Berg)

Boki (Berg)

    Boki (Berg)

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

Posted 05 December 2015 - 05:36 PM

Hi Karl,

 

Check for update in about 30 min.

 

I have fixed NextInspector bug. It was quite hard, since when mouse is over Hint, Inspector receive MouseLeave message and in same time destroy Hint (!) which one still have messages to send...quite hate this kind of bugs :)

 

Also OnMeasureRowHeight for Grid is added.

 

I will continue to test until Monday.


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.

#43 karl

karl
  • Members
  • 52 posts
  • Gender:Male
  • Location:Austria

Posted 05 December 2015 - 05:57 PM

Thanks Boki,

I'm glad you could fix it :)

I will check it when it is up.

#44 Ltybcrf

Ltybcrf
  • Members
  • 59 posts

Posted 26 November 2016 - 08:47 PM

hi Boki
I have 2 questions:
1. How to install NextGrid 6 Delphi XE5 (I ordered the library and where to find the Installed can`t)?

2. I have already asked to clarify the question.
Is it possible to make the table so that when you click on a button in a row dropped spoler with additional data for example?
Attached File  545454.png   162.44KB   0 downloads

#45 Boki (Berg)

Boki (Berg)

    Boki (Berg)

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

Posted 27 November 2016 - 01:12 AM

Hi,

1) You will need to install it in Delphi XE 5 separated from other IDE's.

Just read Quick Start.pdf file and you will be able to install.

2) You have couple of options. To manually hide/show rows (Row[x].Visible) after click on icon. NxIconColumn6 have Button boolean property which can fit for your case.

Or, you can add child rows (MyNextGrid.AddChildRow(x)). Then you can change Expanded property of parent row after user click on button. Again Icon column can help here. Toolbar Columns can also be solution.
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.

#46 dougwinsby

dougwinsby
  • Members
  • 2 posts

Posted 25 June 2019 - 04:03 AM

For those trying to have rows automatically adjust to the height necessary to show all wrapped text in a virtual grid, here are the steps:

 

1. Set TNxTextColumn6.WrapKind := wkWordWrap; (in Object inspector or code)

2. Set TNxTextColumn6.Resizeable := False;  (in Object inspector, Columns Editor or code)

3. Create an OnMeasureRowHeight event on TNextVirtualGrid6 as shown below:

procedure TForm6.NextVirtualGrid61MeasureRowHeight(Sender: TObject; Index: Integer; var RowHeight: Integer);
begin
  RowHeight := NextVirtualGrid61.BestFitRow(Index);
end;





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users