Link Button
Creates a Link Button user control.
  


Link Button control as user component

SYNTAX

@ <nRow>,<nColCLBUTTON <ControlName>
OF <
ParentWindowName>
[ WIDTH <
nWidth> ]
[ HEIGHT <
nHeight> ]
CAPTION <
cCaption>
NOTETEXT <
cNotes>
ACTION <
ActionProcedure>
[ DEFAULT ]

DESCRIPTION:

nRow, nCol
Position in the area of the window in pixels.
ControlName
A reference to the Link Button Control
ParentWindowName
A reference to the Parent Window.
nWidth, nHeight
The desired size of the Link Button Control in pixels
Caption
A text expressions for the Link Button.
ActionProcedure
Action to be performed when Link Button is clicking.
cNotes
Note text to show under the caption in the Link Button

There are the following properties and method for this control:
- pseudo-OOP method SetShield:
            
Form.CLbutton.SetShield()
            Domethod (
Form, Control, "SetShield" )

- write only property 'NoteText':
            
Form.CLbutton.NoteText := 'New Note'
            SetProperty(
Form, Control, 'NoteText', 'New Note' )

- read/write property 'Picture'.
            
Form.CLbutton.Picture := 'arrow.bmp'
            
cImage := GetProperty( Form, Control, 'Picture' )

Note: This control works properly at Windows Vista or later only.

EXAMPLE:

See demos in :
\samples\Advanced\CommandLink