Skip to content

FadingGroup_SetDuration

function

Delphi
procedure FadingGroup_SetDuration (FadingGroupId: LongInt; DurationMs: LongInt);
C++Builder
void __fastcall FadingGroup_SetDuration(System::LongInt FadingGroupId, System::LongInt DurationMs);
C#
public void FadingGroup_SetDuration(int FadingGroupId, int DurationMs);
VB.NET
Public Sub FadingGroup_SetDuration(FadingGroupId As Integer, DurationMs As Integer)
C++/Qt
void FadingGroup_SetDuration (int FadingGroupId, int DurationMs);

Sets the duration, in milliseconds, of a complete fade (from fully visible to fully faded out, or the reverse) for the group identified by FadingGroupId.

When invoked while a fade is in progress, the new duration applies to the next fade.