LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Prompt popup

I'm using a promptpopup and I am waiting for a scan entry which is actually working. But the user can also press the confirm button to close the window and I have no answer then...

Is there a solution to suppress or mask/hide or disable the confirm button ?

0 Kudos
Message 1 of 5
(1,326 Views)

I know no way to hide the confirm button on PromptPopup window. I can see two alternatives:

  1. Use a GenericMessagePopup properly tailored to exclude a confirm action, or
  2. Test the lenght of the response buffer and message the operator in case it is empty

Whichever is your solution, you should already be validating the response buffer in case the operator writes down anything and dismisses the window.



Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
0 Kudos
Message 2 of 5
(1,298 Views)

Thank you for the answer.

That's what I thought...

It's a pity that the prompt popup doesn't have attributes to set like the position, the size of the windows, the fonts, ...and obviously : valide confirm button or not 😜

0 Kudos
Message 3 of 5
(1,282 Views)

...well, you can easily set up your own popup panel, define the number and position and text ... of all the buttons needed by building panel and buttons programmatically

0 Kudos
Message 4 of 5
(1,271 Views)

As Wolfgang said, you can find several examples of custom popups here.

0 Kudos
Message 5 of 5
(1,254 Views)