Jump to content


DbBanjo

Member Since 18 Oct 2009
Offline Last Active Nov 02 2018 04:10 PM
-----

Topics I've Started

tNxMaskEdit6 - Design-Time fatal error (during alignment value change)

24 May 2017 - 07:00 PM

Howdy Boki,

 

  I just noticed then attempting to alter the default value for the alignment in

a tNxMaskEdit6 (from taLeftJustify to another supplied value), a fatal error 

occurs within the Delphi 7 IDE.

 

  I've attached a screen shot.

 

                Thanks,


How to display a row's memo contents via mouse-over event?

22 May 2017 - 08:26 PM

Howdy,

 

  What properties \ event is needed to be able to display a row's memo contents 

when a mouse-over event occurs?  This display would be shown in a very similar 

manner as a hint ..

 

                   Thanks,

 


NextDBGrid6: Minor (very) bug noted when converting a column type

22 May 2017 - 04:24 PM

Howdy Boki,

 

  I've noticed when converting a column type (via the right click menu option: 'Convert To'), 

the existing column, header font values appear to be reset to default values.  For example,

when I convert a TNxDBNumberColumn6, with a column header font value containing 'Bold', 

to a TNxDBTextColumn6, the column header font value is reset to value of 'Regular'. 

 

  I'm assuming the above would apply to a TNextGrid6 (as well as a TNextDBGrid6).

 

  Of course, this appears to be a VERY minor bug, but I thought you'd like to know in case 

this might be a symptom of a possible, larger problem (ie: just in case).

 

                     Thanks,

 


NextDBGrid6: Row color prob. using GridView's OnGetCellColor

17 May 2017 - 04:53 PM

Howdy,

 

  To begin, I'm using Delphi 7, Absolute DB & NextGrid6 (in process of upgrading from Next Suite 5 - to - 6). 

 

  I have a NextDBGrid6 in which I wish to have selective row coloring.  Basically, I wish to have a row displayed 

in a certain color (red) based on a row's data value, otherwise I'd like to have all rows displayed in an alternating 

light & dark color.  The desired order of priority for a row's color would be:

  - if selected, use standard selection color (default is blue, I believe)

  - if not selected & a data condition is present, use desired color (red)

  - if not selected & data condition is not present, display rows is alternating light & dark colors

 

  I'm attempting to implement the above via the grid's view using the view's OnGetCellColor event.

The initial display for all rows I'm receiving is the middle condition mentioned above (all rows in red).

 

  For ref, I had the above logic operating with ver. 5 (NextDBGrid) via use of the grid's OnCellColoring event.

 

  I've attached a screen shot with both the code used in the view's OnGetCellColor event, the app's results 

and an alt. view.

 

  Any ideas \ thoughts \ corrections on how I can alter the OnGetCellColor event logic to correct this prob?  

Or should I be using some other event (either in the dbgrid or it's view)?

 

                                 Thanks,

 

  For ref, I had the above logic operating with ver. 5 (NextDBGrid) via use of the grid's OnCellColoring event.