Jump to content

ShowInfo wrong result?


Recommended Posts

To figure out if I should send a Standby/Hibernate/Close DVBViewer request to DVBViewer I use:

 

	  DoEndAction :=
	not FDVBViewer.OSD.ShowInfo('Xepg: ' + eaStr + ' in 5 min',
	'(OSD-Exit/OSD-Menu: Do it now!)',
	 'Do you want this?', 300, 'NO');

 

In OSD this works. When DVBViewer is minimized I get a corresponding Windows dialog, but

 

1) The 'NO' button is replaced by an 'OK' button

2) The result of ShowInfo is always False (DoEndAction True) meaning the user cannot prevent the pc from going to sleep.

 

@Devs:

 

Even if you agree that this is a bug I don't think it is a big deal: None has complained.

 

I did have some user requests on making this end action stuff more flexible though, so a comment would be apreciated.

Link to comment

This is caused by the differences between a OSD dialog and the windows based dialog. Currently there is no solution for this...

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...