Quantcast
Channel: MicroStation Programming - Forum - Recent Threads
Viewing all articles
Browse latest Browse all 1677

Re: [V8i C++] Starting a command with a CmdItemListRsc and a modal dialogBox

$
0
0

Bruce Reeves SRNS:
Is this an issue with the combination of a modal dialog box being opened and the CmdItemListRsc?

Probably.  Divide and conquer!  Division of responsibilities will make things clearer both for you and your users.

  1. Create a command that pops your modal dialog to collect data
  2. Create a second command that starts your primitive state engine

After user clicks OK in the modal dialog, queue the command to start the state engine.  If you don't want the user to be able to see that command, mark it hidden (HID) in your command table resource.

Now you're more flexible.  If you want to add another command to get data from the DB, you can re-use the modal dialog.


Viewing all articles
Browse latest Browse all 1677

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>