CD_Combobox leftklick function

CD_Combobox leftklick function

Hi
I've got a problem with the CD_Combobox activeX element. The leftklcikdown action seems to work a little bit "exotic". The problem is it doesn't get executed when the Element in the Editor is smaller then the Font size of the form. Ok thats not a problem, but when the element is taller, then i have to click below the shown part of the box. If I klick the visible part (index column) it happens nothing. Is there anyway to fix this, or did i make something wrong? Follow: The VBA code:
VBA Code:
Public Sub LeftClickDown_test(obElem As Element)
thisProject.Init_test obElem
End Sub
Public Sub Init_test(obElem As Element)
thisProject.Init_test obElem
End Sub

and the init_test function, just a simple msgbox
VBA Code:

Public WithEvents test As CD_Combobox
Public Sub Init_test(obElem As Element)
Set test = obElem.AktiveX
'ActiveX exists
If test Is Nothing Then Exit Sub
'insert the init value
MsgBox "test"
End Sub

Greets
Matthias

This is a migrated post! Originally posted on 04.03.2009 by user matthias.zoellner. Please be aware that information can be outdated.