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

Glossary Item Box

Description

This method clicks the specified button.

Syntax

Visual Basic
Public Function PressButton( _
   ByVal ButtonType As ENUM_BUTTON_TYPE _
) As ENUM_PRESS_BUTTON_RESULTS

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

This returns a value from the ENUM_PRESS_BUTTON_RESULTS enumeration.

See Also

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