The SalOptionButton type exposes the following members.

Constructors

  NameDescription
Public methodSalOptionButton
Constructs a SalOptionRadioButton object.

Methods

  NameDescription
Public methodBringWindowToTop
Brings a window to the top of all overlapping windows.
Public methodCenterWindow
Centers a window. If the window is a top-level window, it centers it on the desktop. If the window is a child window, it centers it on top of its parent.
Public methodClear
Clears the value from a data field, multiline field, or table window column.
Public methodClearCursor
Clears a window's cursor.
Public methodClearImage
Deletes the contents of a picture.
Public methodDestroyWindow
Destroys a form window, a top-level table window, or a modeless dialog box created with SalCreateWindow.
Public methodDisableWindow
Disables keyboard and mouse input to a window. If the window contains text (for example, a push button), the text is grayed. If the window is a data field, it cannot receive the focus.
Public methodDisableWindowAndLabel
Disables keyboard and mouse input to a window and grays out its associated label. A label is the label control that immediately precedes the window in the outline. The label control must have a mnemonic. If the window contains text (for example, a push button), the text is grayed. If the window is a data field, it cannot receive the focus.
Public methodEnableWindow
Enables keyboard and mouse input to a window.
Public methodEnableWindowAndLabel
Enables keyboard and mouse input to a window and enables its associated label as well. A label is the label control that immediately precedes the window in the outline.
Public methodFindChild
This function finds a child window of a given name in the specified window.
Public methodFormUnitsToPixels
Computes the number of pixels in the number of form units. Form units are a unit of measurement used by functions which move and position objects. Form units are computed using physical units (pixels) in conjunction with the window's font size.
Public methodGetClassName
Return the name of a window's class as a string.
Public methodGetControlType
Returns an object's type.
Public methodGetDataType
Returns a data field's or table window column's data type.
Public methodGetFirstChild
Returns the handle of the first child window of the specified type. You can use this function to get the handles of MDI child windows.
Public methodGetFont
Gets a window's font name, size, and enhancements.
Public methodGetImageBytes
Copies the contents of a picture to a string.
Public methodGetImageDescription(SalNumber)
Retrieves a description of a picture's contents.
Public methodGetImageDescription(SalString%, SalNumber)
Retrieves a description of a picture's contents.
Public methodGetImageString(SalNumber)
Return the contents of a picture into a string.
Public methodGetImageString(SalNumber, SalString%)
Copies the contents of a picture to a string.
Public methodGetLabel
Retrieves the window handle of the label (label control) that is associated with the hWndTarget parameter. There must be a mnemonic in that label, and it must immediately precede hWndTarget in the outline, or this function will fail.
Public methodGetLabelText(SalNumber)
Retrieves the text of the label associated to a control. Important: The label control does not require a mnemonic for the functions listed above to operate.
Public methodGetLabelText(SalString%, SalNumber)
Retrieves the text of the label associated to a control. Important: The label control does not require a mnemonic for the functions listed above to operate.
Public methodGetLocation
Returns a window's current position on the X and Y axes.
Public methodGetName()()()()
Gets the name of an object.
Public methodGetName(SalString%)
Gets the name of an object.
Public methodGetNextChild
Returns the handle of the next child window that matches a specified type.
Public methodGetParent
Returns the handle of an object's parent window.
Public methodGetProperty(SalString)
Gets the value of a named property.
Public methodGetProperty(SalString, SalString%)
Gets the value of a named property.
Public methodGetSize
Returns a window's size.
Public methodGetText(SalNumber)
Retrieves the text of a window.
Public methodGetText(SalString%, SalNumber)
Retrieves the text of a window.
Public methodGetWindowColor
Gets a window's color.
Public methodGetWindowState
Returns a window's current state.
Public methodHideWindow
Hides a window.
Public methodHideWindowAndLabel
Hides a window and its associated label.
Public methodInvalidateWindow
Causes a window to be repainted.
Public methodIsChecked
Determines whether a radio button is set or a check box is checked.
Public methodIsDerivedFromClass
Determines whether a window is an instance of the specified class.
Public methodIsEnabled
Determines whether a window is enabled for mouse and keyboard input.
Public methodIsModified
Returns the setting of the Field Edit Flag for a data field, multiline field, combo box, table window's context row cell, or picture.
Public methodIsVisible
Determines whether a window is currently visible.
Public methodKillTimer
Destroys an object's system timer.
Public methodMoveWindow
Moves a window a given number of form units on the X and Y axes relative to its current position.
Protected methodOnCheckedChanged (Overrides CheckBox..::..OnCheckedChanged(EventArgs).)
Protected methodOnClick (Overrides CheckBox..::..OnClick(EventArgs).)
Protected methodOnHandleCreated (Overrides CheckBox..::..OnHandleCreated(EventArgs).)
Public methodPixelsToFormUnits
Computes the number of form units based on the number of pixels. Form units are a unit of measurement used by functions that move and position objects. Form units are computed using physical units (pixels) in conjunction with a window's font sizes.
Public methodPostMessage
Posts the specified message to a window by adding nMsg to hWndReceiver's message queue.
Protected methodProcessMnemonic
Overrides the default implementation to allow for mnemonics when the button does not receive the focus because it's hidden.
(Overrides CheckBox..::..ProcessMnemonic(Char).)
Public methodSendMessage
Sends the specified message to a window. SalSendMsg does not return until the processing for the message is complete.
Public methodSendMessageToChildren
Sends a message to all child items of a form window, dialog box, table window, or MDI window.
Public methodSetContextMenu(Type, SalNumber)
Defines a named popup menu that displays automatically when a window receives SAM_ContextMenu.
Public methodSetContextMenu(SalString, SalNumber)
Defines a named popup menu that displays automatically when a window receives SAM_ContextMenu.
Public methodSetCursor(Int32, SalNumber)
Sets a window's cursor.
Public methodSetCursor(SalResourceCursor, SalNumber)
Sets a window's cursor.
Public methodSetCursor(SalString, SalNumber)
Sets a window's cursor from a string variable.
Public methodSetCursorFile
Sets an application-defined cursor for the specified window. Use this function to set the cursor from an image stored in a file.
Public methodSetFocus
Sets the focus to a specified window.
Public methodSetFont
Sets a window's font, font size, and font enhancements.
Public methodSetImageBytes
Inserts the contents of a picture to an image without the image header.
Public methodSetImageFile
Inserts a file's contents into a picture.
Public methodSetImageHandle
Sets the picture image of a picture window with the handle of a bitmap (HBITMAP) or icon (HICON). Usually, HBITMAPs and HICONs are loaded from DLLs.
Public methodSetImageResource
Inserts a resource into a picture.
Public methodSetImageString
Inserts the contents of a string into a picture.
Public methodSetLabelText
Sets the text of the associaetd label control.
Public methodSetLocation
Moves a window to a new position (x, y) on the X and Y axes.
Public methodSetModified
Sets or clears the field edit flag for an editable data field, combo box, multiline text field, table window column, or picture.
Public methodSetProperty
Sets the value of a named property.
Public methodSetSize
Resizes a window.
Public methodSetText
Sets the text of a window.
Public methodSetTimer
Creates a system timer for a given object. When a timer event occurs, sends SAM_Timer messages to the object in specified intervals. Timers are a limited global resource. Your application must check the value returned by SalTimerSet to verify that the timer was created.
Public methodSetWindowColor
Sets a window's color.
Protected methodSetVisibleCore (Overrides Control..::..SetVisibleCore(Boolean).)
Public methodShowWindow
Makes a window visible.
Public methodShowWindowAndLabel
Makes a window and its associated label visible. A label is the label control that immediately precedes the window in the outline.
Public methodTrackPopupMenu(Type, SalNumber, SalNumber, SalNumber)
Creates pop-up menus at runtime.
Public methodTrackPopupMenu(SalString, SalNumber, SalNumber, SalNumber)
Creates pop-up menus at runtime.
Public methodUpdateWindow
Forces the update of a window.
Public methodWinHelp
Starts the Windows help system.
Protected methodWndProc
Redirect Windows message to the implementation object.
(Overrides ButtonBase..::..WndProc(Message%).)
Public methodYield
Processes messages for this control.

Fields

  NameDescription
Public field_derived
Instance of the derived object that inherits this class as a second base in a multiple inheritance tree.

Properties

  NameDescription
Public propertyAppearance
Hide the Appearance property.
Public propertyAutoCheck
Hide the AutoCheck property.
Public propertyButtonStyle
Returs/Sets the style of the option button.
Public propertyChecked
Returns/Sets the checked state of the check box control.
Public propertyDesigntimeVisible
Returns true if the object was designed as visible.
Public propertyImage
Overrides the default Image property.
Public propertyImageName
Image name. Name of the image to load from the embedded resources.
Public propertyImagePressed
Image to use when the button is pressed.
Public propertyImagePressedName
Image name. Name of the image to load from the embedded resources.
Public propertyLabel
Returns/Sets the label associated with this control.
Public propertyNamedProperties
Returns the collection of named properties.
Public propertyTransparentColor
Returns/Sets the transparent color.

Events

  NameDescription
Public eventMessageActions

See Also