picbutton

Button properties, methods and events Generic properties, methods and events
[method icon] SetDataBind(objObj) Sets the DataBind property to the specified bind object
[method icon] SetDataField(iStart, sPackFormat$) Sets the datafield property to the specified numeric field information
[method icon] SetDataField(sFldName$) Sets the datafield property to the specified FLD
[property icon] AutoGray Grays the image on a disabled button
[property icon] Border Adds a 3D border to the button
[property icon] DataBind Binds the control to a table object
[property icon] DataField Specifies the column name that is to be bound to the control
[property icon] DataField$ Specifies the column name that is to be bound to the control
[property icon] DataSource Specifies that variable name that is bound to a database table
[property icon] Default Used to specify if the button is to be the forms default button
[property icon] DragKey Returns the drag key and mouse button state
[property icon] DragSourceControl Identifies the source control of a drag operation
[property icon] DragSourceItem Identifies the source control component of a drag operation
[property icon] DragTargetControl Identifies the target control of a drag operation
[property icon] DragTargetItem Identifies the target control component of a drag operation
[property icon] DropColor Specifies the color that is to be used by the buttons border section
[property icon] DropFileList$ List of files dropped onto control (with HEX(0D) separators)
[property icon] GroupThousands Specifies that numeric types will be displayed with digits grouped into thousands
[property icon] Key Specifies the accelerator key for the button
[property icon] Label$ Label for the control
[property icon] MouseX Returns the current mouse position within a Click() event
[property icon] MouseY Returns the current mouse position within a Click() event
[property icon] MultiLine Wraps the text to multiple lines if the string is too long to fit on a single line
[property icon] NoBorder Adds or removes the border from a picture button
[property icon] NoFill Determines if the picture background is to be filled
[property icon] NoFocusRect Enables or disables the buttons focus rectangle
[property icon] NoForceValidate Prevent sending any Validate event when the button is clicked
[property icon] Picture Specifies the filename of the picture
[property icon] PictureAlignment Specifies the picture alignment
[property icon] PictureX Returns the x pixel position within the picture of the mouse position of a Click() event, or -1 if there is no picture or the click is outside of the picture.
[property icon] PictureY Returns the y pixel position within the picture of the mouse position of a Click() event, or -1 if there is no picture or the click is outside of the picture.
[property icon] ShadowColor Specifies the buttons shadow color
[property icon] TextAlignment Specifies the alignment of the text on button
[property icon] Thickness Specifies the border thickness
[property icon] Transparent Makes the controls background transparent
[property icon] TransparentBitmap Specifies the transparent color
[property icon] Type$ Specifies the format that the user will use to enter information
[event icon] Click() Event Called when the button is clicked
[event icon] Drop() Event Drag drop event
[event icon] DropFile() Event Called when files are dragged on to the form
[event icon] RightClick() Event Called when the button is right-clicked