BUG: Mouse Clicks on the Scrollbar of an Open ComboBox are Trapped by Underlying Object.ID: Q236078
|
An object other than a list item in a combobox traps mouse clicks on the scrollbar of the drop-down list of a combobox.
Microsoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article.
This behavior occurs under the following conditions:
Public cboForm
cboForm=CreateObject("DemoForm")
cboForm.Show()
Define Class DemoForm as Form
Caption = "ComboBox Down Arrow Navigation"
MinButton = .f.
MaxButton = .f.
Width = 300
height = 200
AutoCenter=.t.
Add Object Combo1 as ComboBox with;
RowSourcetype = 0, ;
Style = 2, ;
Top = 5, ;
Left = 5
Add Object Command1 as CommandButton with;
Caption = "Click Me", ;
left = thisform.Combo1.left+(thisform.Combo1.width/2), ;
top = 135, ;
Height = 25, ;
Width = 100
Procedure init
For i=1 to 10
Thisform.Combo1.addlistitem(alltrim(str(i)))
Endfor
Endproc
Procedure Command1.Click
=MessageBox("Command Button Clicked.")
Endproc
Enddefine
© Microsoft Corporation 1999, All Rights Reserved.
Contributions by John Desch, Microsoft Corporation
Additional query words:
Keywords : kbContainer kbCtrl kbVFp300bbug kbVFp500abug kbVFp600bug kbGrpFox kbDSupport
Version : WINDOWS:5.0,5.0a,6.0
Platform : WINDOWS
Issue type : kbbug
Last Reviewed: July 1, 1999