RobotStudio event

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
 
 

Comments

  • RussD
    Options

    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:24
    Russell Drown