PC-DMIS 2022.1 Object Library
HasButton Method
See Also  Send Topic Feedback | See Object Hierarchy Chart
ButtonType
PCDLRN ActiveX DLL > PCDMessageBox Object : HasButton Method

Glossary Item Box

Description

This method indicates if the button that you define by the passed in parameter is present on the message box.

Syntax

Visual Basic
Public Function HasButton( _
   ByVal ButtonType As ENUM_BUTTON_TYPE _
) As Boolean

Parameters

ButtonType
ValueDescription
BUTTON_TYPE_ABORT 
BUTTON_TYPE_CANCEL 
BUTTON_TYPE_CONTINUE 
BUTTON_TYPE_HELP 
BUTTON_TYPE_IGNORE 
BUTTON_TYPE_NO 
BUTTON_TYPE_OK 
BUTTON_TYPE_RETRY 
BUTTON_TYPE_YES 

Return Type

Boolean. True means it has the button. False means it doesn't have the button.

See Also

Copyright © 2022. Hexagon Manufacturing Intelligence – Metrology Software, Inc. All Rights Reserved.