Web forum is in read-only mode. Login as active registered customer for write access
  Forum Search   New Posts New Posts

TMSFMXClock

 Post Reply Post Reply
Author
GEBELIN Thierry View Drop Down
New Member
New Member
Avatar

Joined: 26 Apr 2018
Posts: 7
Post Options Post Options   Quote GEBELIN Thierry Quote  Post ReplyReply Direct Link To This Post Topic: TMSFMXClock
    Posted: 11 Jun 2018 at 11:50am
Hi all,

Is it possible to change time ?

I ty this :

TMSFMXClock1.Active := Trur;
TMSFMXClock1.ClockTime := EncodeTime(12, 0, 0, 0);

But time doesn't change, it's allways current time...

TIA
Thierry
Back to Top
GEBELIN Thierry View Drop Down
New Member
New Member
Avatar

Joined: 26 Apr 2018
Posts: 7
Post Options Post Options   Quote GEBELIN Thierry Quote  Post ReplyReply Direct Link To This Post Posted: 11 Jun 2018 at 11:52am
Sorry, u must read

TMSFMXClock1.Active := True;

Back to Top
Pieter Scheldeman View Drop Down
TMS Support
TMS Support
Avatar

Joined: 18 May 2010
Posts: 3025
Post Options Post Options   Quote Pieter Scheldeman Quote  Post ReplyReply Direct Link To This Post Posted: 11 Jun 2018 at 12:20pm
Active to true is using the current time. Please set Active to False to use the ClockTime property.
Back to Top
GEBELIN Thierry View Drop Down
New Member
New Member
Avatar

Joined: 26 Apr 2018
Posts: 7
Post Options Post Options   Quote GEBELIN Thierry Quote  Post ReplyReply Direct Link To This Post Posted: 11 Jun 2018 at 12:30pm
Thanks Pieter,

Ok, i suppose that I must set time manually, with TTimer.


Back to Top
Pieter Scheldeman View Drop Down
TMS Support
TMS Support
Avatar

Joined: 18 May 2010
Posts: 3025
Post Options Post Options   Quote Pieter Scheldeman Quote  Post ReplyReply Direct Link To This Post Posted: 11 Jun 2018 at 12:31pm
That is correct
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down