Jump to content


LagOut

Member Since 24 Aug 2012
Offline Last Active Feb 04 2013 12:45 PM
-----

Posts I've Made

In Topic: TNxTimeColumn accepting 00:00:00 as empty

16 October 2012 - 02:13 PM

Hi Boki,

I'm guessing as I have not heard back from you yet that I've still done a bad job of explaining the problem so I'm including some screenshots.

So if I put in the time as midnight (00:00:00) when the setting TNxTimeColumn(Col).HideWhenEmpty := true; is used...
Posted Image

and then press enter, you can see that the time is not displayed because the code grid does not recognise midnight as a valid time.

Posted Image

I've also tried setting TNxTimeColumn(Col).HideWhenEmpty := false;. However, on start up the following is visible.

Posted Image
This is because there is a row present at the start of grid. Then because of the workings of the grid, inserting a field creates a new row below and fills in the default parameters of the current row as shown below.

Posted Image

Since a new row is created with no data a default time of 00:00:00 is displayed which does not look very good. So essentially what I'm asking for is a fix so that 00:00:00 is recognised as a valid time when TNxTimeColumn(Col).HideWhenEmpty := true; That way it will still be visable to the user.

Many Thanks

In Topic: TNxTimeColumn accepting 00:00:00 as empty

01 October 2012 - 01:28 PM

Sorry slight typo in the request the column parameter needs to be set to TNxTimeColumn(Col).HideWhenEmpty := true; for display purposes and TNxTimeColumn(Col).EmptyCaption cannot be set, again due to display purposes.

Under these conditions, midnight (00:00:00) is not displayed as the cell registers it as empty, so it appears to the user that nothing has been input. Is there a way for 00:00:00 to be displayed?

Many Thanks

In Topic: TNxTimeColumn accepting 00:00:00 as empty

17 September 2012 - 04:44 PM

Any ideas on this bug yet?