Modal Form
<?:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />
I am using Robot Application Builder 5.06.
I would like to pop up a custom form that is smaller than the calling window. I would like the form to pop up Modally so that none of the buttons or objects on the calling form can be pressed.
In normal VB.NET you open a form modally with the ShowDialog method
Dim Form2 As New Form()
Form2.ShowDialog()
However, In Compact Framework the ShowDialog() method is not available.
We only have Show() and ShowMe() but both of these open the new form as Modeless.
Does anyone know how to get a modal form?..............Thanks
0
Comments
-
Unfortunately Modal dialogs are not possible on the FlexPendant.
One alternative approach might be to temporarily disable the underlying visual components of the class that raised the dialog until the user responds.
You can specify a callback function to a GTPUMessageBox that can perform the re-enable operation when the dialog closes.
RussD2006-3-28 17:43:24Russell Drown0
Categories
- All Categories
- 5.5K RobotStudio
- 396 UpFeed
- 18 Tutorials
- 13 RobotApps
- 297 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 250 ScreenMaker
- 2.8K Robot Controller
- 316 IRC5
- 61 OmniCore
- 7 RCS (Realistic Controller Simulation)
- 798 RAPID Programming
- AppStudio
- 3 RobotStudio AR Viewer
- 18 Wizard Easy Programming
- 105 Collaborative Robots
- 5 Job listings