RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TMediaPlayer.StartPos Property

Specifies the position within the currently loaded medium from which to begin playing or recording.

Pascal
property StartPos: Longint;
C++
__property Longint StartPos;

StartPos is specified using the current time format, which is specified in the TimeFormat property. 

The StartPos property affects only the next Play or StartRecording method called after setting StartPos. Reset must be set to StartPos to affect any subsequent calls to Play or StartRecording

StartPos does not affect the current position of the medium (specified in the Position property) until the next Play or StartRecording method is called. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!