Is this a bug?
Tooltips not working on editable Combogadget
- 
				PB&J Lover
 - Enthusiast

 - Posts: 212
 - Joined: Fri Apr 22, 2005 2:07 pm
 - Location: U.S.A.
 - Contact:
 
Tooltips not working on editable Combogadget
Why don't tooltips work if I set my combogadget to "editable"?
Is this a bug?
			
			
									
									Is this a bug?
-- DB
Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius — and a lot of courage — to move in the opposite direction.
Albert Einstein
						Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius — and a lot of courage — to move in the opposite direction.
Albert Einstein
This code displays the tooltip.  The tooltip appears when the mouse cursor is on the down arrow.  It will not display when the mouse is on the entry part of the combobox.
			
			
									
									Code: Select all
  If OpenWindow(0,0,0,270,140,#PB_Window_SystemMenu|#PB_Window_ScreenCentered,"ComboBoxGadget")
    CreateGadgetList(WindowID(0))
    ComboBoxGadget(0,10,10,250,100,#PB_ComboBox_Editable)
    GadgetToolTip(0,"Editable ComboBox")    
    AddGadgetItem(0,-1,"ComboBox editable...")
    ComboBoxGadget(1,10,40,250,100)
    GadgetToolTip(1,"Tooltip for ComboBox")    
    For a=1 To 5
      AddGadgetItem(1,-1,"ComboBox item "+Str(a))
    Next
    SetGadgetState(1,2)
    Repeat
    Until WaitWindowEvent()=#PB_Event_CloseWindow
  EndIf
-jb
						
