Jump to content


konfoo

Member Since 31 Mar 2006
Offline Last Active Feb 08 2007 09:19 PM
-----

Posts I've Made

In Topic: DateTime column shows only the date part

02 February 2007 - 10:05 AM

I have found what I think is a bug with the datetime column when using the datepicker and using asdatetime() with hh:mm:ss encoded - the datepicker doesn't jump to and hilight the correct date.

Edit:

Changed this in NxEdit to fix date hilighting:

function TNxDatePicker.GetAsDateTime: TDateTime;
begin
if (Text = '') or (Text = '0') then Result := Today
else Result := encodedate(yearof(StrToDateTime(Text)),monthof(StrToDateTime(Text)),dayof(StrToD
ateTime(Text)));
end;

In Topic: DateTime column shows only the date part

02 February 2007 - 08:22 AM

QUOTE (Boki (Berg) @ Jan 29 2007, 08:41 AM) <{POST_SNAPBACK}>
Do you have try next code:

Add one TNxDateColumn and add next code after ButtonClick:

CODE
  NextGrid1.AddRow();
  NextGrid1.Cell[0,0].AsDateTime := Now();


You may control appearance with FormatMask property very easy.


Thanks, works like a charm.

Regards
Kon

In Topic: DateTime column shows only the date part

28 January 2007 - 11:33 PM

QUOTE (Boki (Berg) @ Jan 28 2007, 12:59 PM) <{POST_SNAPBACK}>
Hello,

It seems that I have add it after I release it. I will re-upload it again now.

regards


I grabbed the new .exe but I still only have date (no time displayed) in the nxDateColumn. Is there some flag to enable to allow time selection?

In Topic: DateTime column shows only the date part

28 January 2007 - 08:26 PM

QUOTE (Boki (Berg) @ Jan 28 2007, 09:12 AM) <{POST_SNAPBACK}>
I have already upload files with DateTime support in TNxDateColumn.


Is this in the update package from 2 days ago in the user area? I tried this and my TNxDateColumn still shows only the date. Anything special I have to do, or do I have the wrong version?

Thanks for the hard work as always :-)

In Topic: DateTime column shows only the date part

28 January 2007 - 11:30 AM

I am also interested in the DateTimeColumn and TimeColumn.

Idea for a TimeColumn picker: an analog clock with an AM/PM toggle and Set button (like Raize components).
For DateTimeColumn: anything will do - spinedits below the calendar would be great.

BTW Ability to select HH:MM:SS would be nice (I personally require SS) in the datetimecolumn and timecolumn.

Any ETA for the DateTimeColumn?

Looking forward to this :-)