Send Topic Feedback | See Object Hierarchy Chart
PC-DMIS 2023.2 Object Library
PCDLRN ActiveX DLL > OldBasic Object : GetProgramOption Method
The option’s status that is being checked.
GetProgramOption Method
Description
Returns the status of the application setting option
Syntax
Visual Basic
Public Function GetProgramOption( _
   ByVal opt As RPROGOPTIONSTYPE _
) As Long
Parameters
opt
ValueDescription
PCD_AUTOPREHIT 
PCD_AUTOPROJREFPLANE 
PCD_AUTOTIPSELECT 
PCD_DISPSPEEDS 
PCD_ENDKEY 
PCD_EXTSHEETMETAL 
PCD_FLYMODE 
PCD_HASINDEXPH9 
PCD_HASINDEXROTTABLE 
PCD_HASMANPH9 
PCD_HASMANROTTABLE 
PCD_HASPH9 
PCD_HASPHS 
PCD_HASROTTABLE 
PCD_ISARMTYPECMM 
PCD_ISONLINE 
PCD_TABLEAVOIDANCE 
PCD_USEDIMCOLORS 
The option’s status that is being checked.
Return Type
 Returns 1 if the option is on and 0 if the option is off
See Also