IsEnabled - cDRMenuItem¶
Method Type¶
Function
Return Type¶
Arguments¶
None
Description¶
This event uses the function ReportObject to get the object ID of the cDRReport object to determine which report object to address. The report is queried for the psReportId property value. If the property is empty, the button should be disabled.
You can overwrite the event if you wish.
Sample¶
Object oFirstPage is a cDRFirstPageMenuItem
Function IsEnabled Returns Boolean
Boolean bEnabled
Move (IsAdministrator ()) To bEnabled
If (not (bEnabled)) Begin
Forward Get IsEnabled to bEnabled
End
Function_Return bEnabled
End_Function
End_Object