This member of WaveLinkScribblePad Object is supported on: CE
The CancelButton property stores and retrieves a pre-defined WaveLinkWidget object for the WaveLinkScribblePad object. The CancelButton property maintains the cancel functionality of the scribble pad object.
VB
WidgName = object.CancelButton
object.CancelButton = WidgName
VC++
HRESULT hr = object->get_CancelButton(WaveLinkWidget *WidgName);
HRESULT hr = object->put_CancelButton(WaveLinkWidget WidgName);
Return Values
WidgName |
The variable that returns the name of the WaveLinkWidget object |
Parameters
WidgName |
The variable that stores the name of the WaveLinkWidget object |
Remarks
Use the DisplayText property of the WaveLinkWidget object to change the display text that appears on the cancel button. Currently, changing other widget properties for the cancel button will have no effect.
Example
' VB Sample Code
Dim myScrib As New WaveLinkScribblePad
Dim myCButton As WaveLinkWidget
.
.
.
myCButton = myScrib.CancelButton
myCButton.DisplayText = "Close"
Was this article useful?
The topic was:
Inaccurate
Incomplete
Not what I expected
Other