XWidgetSoft Forum
https://www.bbs.xwidget.com/

using timercore
https://www.bbs.xwidget.com/viewtopic.php?f=10&t=2944
Page 1 of 1

Author:  stormitornado [ April 13th, 2013, 1:27 pm ]
Post subject:  using timercore

Hello.
Could you explain, what function may be used with timerCore. I cannot find any properties or events for this core. Maybe it has some function to use in code only.

Author:  Tony [ April 13th, 2013, 4:59 pm ]
Post subject:  Re: using timercore

Hi stormitornado,
you can use function "cmd(null, actionString )" , you can find all actionString in any control's Event when control had binded timeCore
etc:

Code:
  timerCore1.cmd(null,"!ShowSetting");


Code:
  timerCore1.cmd(null,"!12hr/24hr");

Author:  stormitornado [ April 13th, 2013, 9:58 pm ]
Post subject:  Re: using timercore

I mean the timerCore, not dateTimeCore.
When control has binded to the timerCore, there are no any actionStrings in Events or tags in Format Core Data
Attachment:
timercoretags.png
timercoretags.png [ 5.09 KiB | Viewed 12753 times ]

Attachment:
timercoreactions.png
timercoreactions.png [ 13.23 KiB | Viewed 12753 times ]

Author:  Tony [ April 14th, 2013, 6:36 am ]
Post subject:  Re: using timercore

Hi,
the timerCore just a Timer, not include any tag or action. likes "setTimeOut"
you can control timerCore with scrtip code etc:

Code:
timerCore1.Enabled= true;
timerCore1.Enabled= false;

timerCore1.Interval = 1000;  //ms


Page 1 of 1 All times are UTC - 8 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/