Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

Method: ResetCaption for ActionObjButton

DIAdem 2011 Help

Edition Date: July 2011

Part Number: 370859J-01

»View Product Info

Restores the label of the base type for buttons.

Object.ResetCaption
ObjectActionObjButton
Object with this method

The following example modifies the label of the predefined button ANADlgChnGen and then restores the label of the base type:

'Sets Caption
BarManager.ActionObjs("ANADlgChnGen").Caption = "Generate data"

'Resets Caption
Call BarManager.ActionObjs("ANADlgChnGen").ResetCaption


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit