Tinkr2/4.2/AphelionCore/AphelionCommonControls/Controls/Combobox.cs
/// <summary>
/// Override this message to handle button released events internally.
/// </summary>
/// <param name="buttonId">Integer ID corresponding to the affected button</param>
/// <param name="handled">true if the event is handled. Set to true if handled.</param>
/// <remarks>
/// Shows the pop up or item list on <see cref="ButtonIDs.Select"/> if _expand is true
/// </remarks>
Override this message to handle button released events internally.
Override this message to handle button released events internally .
protected override void ButtonReleasedMessage(int buttonId, ref bool handled)
      {
         if (_items != null && buttonId == (int)ButtonIDs.Select && _expand)
         {
            ShowPopupOrList();
         }
         _expand = false;
         base.ButtonReleasedMessage(buttonId, ref handled);
      }
protected override void ButtonReleasedMessage ( int buttonId , ref bool handled ) { if ( _items != null && buttonId == ( int ) ButtonIDs . Select && _expand ) { ShowPopupOrList ( ) ; } _expand = false ; base . ButtonReleasedMessage ( buttonId , ref handled ) ; }
Override this message to handle button released events internally.
Override this message to handle button released events internally .
buttonId
int
Integer ID corresponding to the affected button
Integer ID corresponding to the affected button
bool
ref
handled
true if the event is handled. Set to true if handled.
true if the event is handled . Set to true if handled .
remarks
Shows the pop up or item list on  if _expand is true
Shows the pop up or item list on if _expand is true