LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

PromptPopup

Hello

I would like to put a default text in a text string on a PromptPopup.

For example:

    PromptPopup ("Server Name?",

                 "Type the name of the machine running the sample server "

                 "application.\n\n(example: abc.xyz.com or xxx.xxx.xxx.xxx)",

                 tempBuf, 255);

In the answer text box, I would like to have 127.0.0.1 by default in the box, for my test, but the user can modify it to a real IP.

Is it possible?

Thank a lot, I work on CVI 8.5.0

0 Kudos
Message 1 of 3
(3,321 Views)
AFAIK this is not possible using standard CVI popup windows: you will need to create your own panel, customize it according to your needs and display it with InstallPopup.


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 3
(3,316 Views)

Thanks for you answer, I will use my own panel.

0 Kudos
Message 3 of 3
(3,292 Views)