[Gambas-bugtracker] Bug #1661: add tooltip to button and clearbutton to the ButtonBox class

bugtracker at gambaswiki.org bugtracker at gambaswiki.org
Thu Oct 10 20:41:52 CEST 2019


http://gambaswiki.org/bugtracker/edit?object=BUG.1661&from=L21haW4-

Comment #2 by Víctor PEREZ:

'modify (add ToolTipButton,ToolTipClearButton)
Public Const _Properties As String = "*,Action,Text,Alignment{Align.Normal;Left;Center;Right}=Normal,Picture,ReadOnly,Border=True,Button=True,ClearButton,Filter,FilterMenu{Menu},ToolTipButton,ToolTipClearButton"'postapase

'add
Property ToolTipButton As String ' postapase
Property ToolTipClearButton As String ' postapase

'add
Private Function ToolTipButton_Read() As String 'postapase

  Return $hButton.Tooltip

End

Private Sub ToolTipButton_Write(Value As String) 'postapase

  $hButton.Tooltip = Value

End

Private Function ToolTipClearButton_Read() As String 'postapase
 
  If IsNull($hClearButton) Then Return
  Return $hClearButton.Tooltip

End

Private Sub ToolTipClearButton_Write(Value As String) 'postapase
  
  If IsNull($hClearButton) Then Return
  $hClearButton.Tooltip = Value

End




More information about the Bugtracker mailing list