Partilhar via


FormComboBoxControl.showLabel Method

Definition

Overloads

showLabel()

Sets or returns a value that indicates whether the label for the control is displayed in the form.

showLabel(Boolean)

showLabel()

Sets or returns a value that indicates whether the label for the control is displayed in the form.

public:
 virtual bool showLabel();
public virtual bool showLabel ();
abstract member showLabel : unit -> bool
override this.showLabel : unit -> bool
Public Overridable Function showLabel () As Boolean

Returns

true if the label should be displayed; otherwise, false.

Remarks

The following example shows how to return and set the showLabel property for a control.

// Return the showLabel value. 
info(strfmt("showLabel: %1", this.showLabel())); 
// Set the showLabel value. 
this.showLabel(false);

Applies to

showLabel(Boolean)

public:
 virtual bool showLabel(bool _value);
public virtual bool showLabel (bool _value);
abstract member showLabel : bool -> bool
override this.showLabel : bool -> bool
Public Overridable Function showLabel (_value As Boolean) As Boolean

Parameters

_value
Boolean

The value to assign to the showLabel property for the control.

Returns

Applies to