Modal Form
Options
<?: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.4K RobotStudio
- 385 UpFeed
- 15 Tutorials
- 12 RobotApps
- 291 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 247 ScreenMaker
- 2.7K Robot Controller
- 285 IRC5
- 47 OmniCore
- 6 RCS (Realistic Controller Simulation)
- 3 RobotStudio AR Viewer
- 748 RAPID Programming
- 15 Wizard Easy Programming
- 110 Collaborative Robots
- 3 Job listings