Jump to content


make a row show as selected at all times


  • Please log in to reply
No replies to this topic

#1 d6user

d6user
  • Members
  • 58 posts

Posted 20 June 2012 - 04:00 AM

[RESOLVED]

please help. i searched everywhere. i am using TNextGrid inside a NxPageControl although i'm sure is not the cause of the problem.

in the grid, i need the last row selected or highlighted when i leave the control for another control (i.e., clicking on a button on the form or tabing out of the grid or selecting an external windows app, etc) or the control looses focus, no matter what--i need to see the selected row at all times!

i did try Options\goIndicator = true, but even though it does show an arrow, (a very small one) this is not good enough since my grid will be very wide to hold all the grids info. plus, i will be using it on a wide screen so that i can add even more grid info, for the users benefit.

how can i make this happen ?

EDIT:  aha. i found it. thanks to reading an old forum post, "Columns select", it pointed out a hint, and i dug around a little more, and found it. pfew!

AppearanceOptions\aoHideSelection = false
SelectionColor = clSkyBlue
SlideSelectionColor = clSkyBlue
InactiveSelectionColor = clSkyBlue
HighlightedTextColor = clBlack

or whatever color you prefer.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users