Jump to content


Photo

AsDateTime problem


  • Please log in to reply
3 replies to this topic

#1 array81

array81

    Senior Member

  • Members
  • PipPip
  • 286 posts
  • Gender:Male

Posted 28 June 2017 - 01:06 AM

procedure TNxInspectorNode6.SetAsDateTime(const Value: TDateTime); is NOT implemented, so it doesn't work!

 

Please add right code.



#2 Boki (Berg)

Boki (Berg)

    Boki (Berg)

  • Forum Admin
  • PipPipPipPipPip
  • 7,584 posts
  • Gender:Male

Posted 28 June 2017 - 10:36 PM

Hi,

Try to replace it with:

procedure TNxInspectorNode6.SetAsDateTime(const Value: TDateTime);
begin
  Self.Value := DateTimeToStr(Value);
end;

boki@bergsoft.net | LinkedIn Profile
--
BergSoft Home Page: www.bergsoft.net
Members Section: bms.bergsoft.net
Articles and Tutorials: dn.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.

#3 array81

array81

    Senior Member

  • Members
  • PipPip
  • 286 posts
  • Gender:Male

Posted 29 June 2017 - 10:45 AM

Hi,

Try to replace it with:
 

procedure TNxInspectorNode6.SetAsDateTime(const Value: TDateTime);
begin
  Self.Value := DateTimeToStr(Value);
end;

Sure, but you add the code on your source files.



#4 Boki (Berg)

Boki (Berg)

    Boki (Berg)

  • Forum Admin
  • PipPipPipPipPip
  • 7,584 posts
  • Gender:Male

Posted 29 June 2017 - 12:19 PM

It will be included in next update.
boki@bergsoft.net | LinkedIn Profile
--
BergSoft Home Page: www.bergsoft.net
Members Section: bms.bergsoft.net
Articles and Tutorials: dn.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.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users