>>>Is there an event/method to call or a property to set in order to programmatically open a combobox? I can't seem to find one. I would think calling the click() or downclick() method would work, but nothing happens.
>>David,
>>
>>Calling the click or mousedown does NOT make a click, it just runs the code there.
>>
>>To open a combobox on it getting focus you can put this code in the GotFocus();
>>
>> DoDefault()
>> KEYBOARD "{DNARROW}"
>> NODEFAULT
>
>Just out of curiosity, do you recommend placing DoDefault() in all subclassed methods? I've considered this practice lately, but don't know the pros and cons.
Bryan,
I don't put DoDefault in every method, I only use it when it is needed. IN this case it is needed to run the baseclass GotFocus() behavior because we are ending the method with a NODEFAULT to stop the baseclass behavior from messing up the Down Arrow we put in the Keybaord buffer.