Jump to content

Overlap() greift nicht


xck3001

Recommended Posts

Ich schon wieder :P

 

Bei der Erkennung von sich zwei überschneidenden Timern mittels Overlap() erhalte ich nil zurück, obwohl eindeutig eine Überlappung vorhanden ist. Im DVBViewer ist der neue Timer auch rot gekennzeichnet.

Hier mal ein Codebeispiel:

	newTimer := DVBViewer.TimerManager.AddItem(...);
overlapTimer := DVBViewer.TimerManager.Overlap(newTimer);
if overlapTimer <> nil then
begin
  // hierhin würde ich gerne mal kommen
end
else
begin
  // und hierhin komm ich leider immer
end;

 

Hab ich bei der Verwendung was falsch verstanden?

 

Danke!

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...