event DateTimeChanged (DateTime as Date)
Notifies your application that the current time is changed.

 TypeDescription 
   DateTime as Date A Date-Time expression that indicates the new current time.  
The DateTimeChanged event notifies your application when the current date-time is changed. The DateTimeChanged event is fired ONLY if the MarkNowColor property is not zero (0). Use the FirstVisibleDate property to specify the first visible Date-Time in the control's chart. The MarkNowUnit property specifies the unit of time to count for. For instance, you can show the current date-time from current second, to next second, from minute to next minute, and so on. Use the MarkNowCount property to specify the number of units of date-time to count from. For instance, you can show the current date-time from 5 seconds to 5 seconds, and so on. The MarkNowWidth property specifies the width in pixels of the vertical bar that shows the current date-time.  The MarkNowTransparent property specifies the percent of transparency to show the vertical bar that indicates the current date-time. The MarkNow/MarkNowDelay property can be used to specify the current date-time or your custom date time.

Syntax for DateTimeChanged event, /NET version, on:

private void DateTimeChanged(object sender,DateTime DateTime)
{
}

Private Sub DateTimeChanged(ByVal sender As System.Object,ByVal DateTime As Date) Handles DateTimeChanged
End Sub

Syntax for DateTimeChanged event, /COM version, on:

private void DateTimeChanged(object sender, AxEXG2ANTTLib._IG2anttEvents_DateTimeChangedEvent e)
{
}

void OnDateTimeChanged(DATE DateTime)
{
}

void __fastcall DateTimeChanged(TObject *Sender,DATE DateTime)
{
}

procedure DateTimeChanged(ASender: TObject; DateTime : TDateTime);
begin
end;

procedure DateTimeChanged(sender: System.Object; e: AxEXG2ANTTLib._IG2anttEvents_DateTimeChangedEvent);
begin
end;

begin event DateTimeChanged(datetime DateTime)
end event DateTimeChanged

Private Sub DateTimeChanged(ByVal sender As System.Object, ByVal e As AxEXG2ANTTLib._IG2anttEvents_DateTimeChangedEvent) Handles DateTimeChanged
End Sub

Private Sub DateTimeChanged(ByVal DateTime As Date)
End Sub

Private Sub DateTimeChanged(ByVal DateTime As Date)
End Sub

LPARAMETERS DateTime

PROCEDURE OnDateTimeChanged(oG2antt,DateTime)
RETURN

Syntax for DateTimeChanged event, /COM version (others), on:

<SCRIPT EVENT="DateTimeChanged(DateTime)" LANGUAGE="JScript">
</SCRIPT>

<SCRIPT LANGUAGE="VBScript">
Function DateTimeChanged(DateTime)
End Function
</SCRIPT>

Procedure OnComDateTimeChanged DateTime llDateTime
	Forward Send OnComDateTimeChanged llDateTime
End_Procedure

METHOD OCX_DateTimeChanged(DateTime) CLASS MainDialog
RETURN NIL

void onEvent_DateTimeChanged(date _DateTime)
{
}

function DateTimeChanged as v (DateTime as T)
end function

function nativeObject_DateTimeChanged(DateTime)
return


Send comments on this topic.
1999-2017 Exontrol.COM, Software. All rights reserved.