Message 1 of 5
DotNet and messagebox problems
Not applicable
10-15-2009
06:37 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
I have recently updated one of my scripts to include some dotNet elements in its rollouts (bold
and colorful fonts).
The script has two pickbuttons that let you choose objects in the scene. If the picked objects do not have the right modifiers for the script to work, or the right controller - it pops up a messagebox saying that the object is invalid.
That worked just fine before dotNet. Now that dotNet is introduced - I get the messageboxes fine - but I lose the ability to interact again with my dialog rollout. All the GUI functions on it are dead. If I disable the messagebox - all works fine.
What is it about dotNet and messageboxes that prevents the re-use of the script - so that the user can pick the correct object if the previous one turned up to be wrong?
Thanks.
I have recently updated one of my scripts to include some dotNet elements in its rollouts (bold
and colorful fonts).
The script has two pickbuttons that let you choose objects in the scene. If the picked objects do not have the right modifiers for the script to work, or the right controller - it pops up a messagebox saying that the object is invalid.
That worked just fine before dotNet. Now that dotNet is introduced - I get the messageboxes fine - but I lose the ability to interact again with my dialog rollout. All the GUI functions on it are dead. If I disable the messagebox - all works fine.
What is it about dotNet and messageboxes that prevents the re-use of the script - so that the user can pick the correct object if the previous one turned up to be wrong?
Thanks.