- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I THINK that I need to use the ui->inputBox for what I want to do but I can't find anything that really explains it.
I want my C++ script to bring up a dialog in which the user can select from among a set of operations that can be done.
If I were writing a C++ program using the windows interface I'd design a dialog with several radio buttons, one for each of the operations I might want to be able to perform. Something like this:
0 Make tank # 1 invisible
0 Move support #3 into it deployed position.
0 Move support #3 into its retracted position
0 Rotate Box #7
OK
and so forth.
With that dialog up I could then click on the operation I want to have performed, click the OK button, and the data I'd get back from the dialog would tell me which operation had been chosen.
But in a C++ Fusion script I have no clue how to go about doing that. I see that there's a simple ui->inputBox() but all the examples I find for that are extremely simple, like just getting some text back from the box. How can I do something more along the lines of what I have in mind, selecting from a set of radio buttons. Or is there some other preferred method for doing accomplishing this?
Ideally I would love for some kind of dialog box to actually REMAIN VISIBLE and be able to click on things in the dialog which immediately cause the related operation to occur. Think of having a robot on the screen and wanting to manipulate its arms and legs and head, and so forth, just by clicking on, perhaps, buttons in the dialog. Is that possible?
Solved! Go to Solution.