Setting MessageBox caption


Recommended Posts

Hi,

I found an old post regarding setting the MessageBox caption to something other than "DAQFactory", but with no replies. "Setting Messagebox or EntryDialog titles" posted June 2009

Is it possible to set the caption to something else, preferably programmatically so it can be context sensitive, but a static caption would be ok.

Regards

A

Link to comment
Share on other sites

Hi,

A query on using popups versus MessageBox.

The message box provides a nice mechanism of waiting for user response

ie Response = System.MessageBox("Prompt")

and can be run anywhere without locking up DF

I have tried with popups to do the same, but to no avail

eg calling following sequence as a function

strReply = "None" // strReply is defined at startup as global

OpenPopup

wait for strReply != "None"

return strReply

This locks up DF, presumably because the popup is running in the same thread so is never processed?

I have also tried to get around this by opening popup in different thread

eg

strReply = "None"

beginseq(another sequence that just opens popup)

wait for strReply != "None"

return strReply

This also locks up DF

Any insights that might help create a popup that can be used as a function with a return value?

Regards

A

Link to comment
Share on other sites

OEM version: basically the same as Developer, but the runtimes it creates are pretty much completely debranded. This includes removal of the splash, DAQFactory at the top window, etc. Please contact us direct for more info.

As for popups, there is that issue and no you can't do it the way you are doing it. You'd have to use a callback (done using execute()), which, unfortunately, breaks the flow of your application a little.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.