Send Topic Feedback | See Object Hierarchy Chart
PC-DMIS 2023.1 Object Library
PCDLRN ActiveX DLL > CommentInputDialog Object : BringToZPosition Method
BringToZPosition Method
Description

This method sets the Z position of the Input Comment dialog box based on the parameter's value.

When you have multiple dialog boxes, the Z position controls the order in which the item appears.

Syntax
Visual Basic
Public Function BringToZPosition( _
   ByVal zPositionMode As BringToZPositionMode _
) As Boolean
Parameters
zPositionMode
ValueDescription
Bottom 
NotTopMost 
Top 
TopMost 
Example
This moves the Comment Input dialog box to the top-most position.
// ...
PCDLRN. ICommentInputDialog commentInput = theCommentInput;
PCDLRN.BringToZPositionMode mode = PCDLRN.BringToZPositionMode.Bottom;
if (commentInput.IsReady) 
{
   commentInput.BringToZPosition(mode);
}
// ...
See Also