try to use CtlHitControl instead of adding event to queue... maybe it will make
some difference. and make sure that for button which you use such way you dont
return true from your dialog event handler

Hynek Sladky wrote:
> I want to make function to replace LstPopupList: I have modal form (with
> more items than list only) which I draw using FrmDoDialog.
> Now I want to close this form after selecting list item but the only way
> to close form for FrmDoDialog is pressing button.
> Is there any way how to force this form to close programatically? I
> tried to add event ctlSelect but this doesn't work - form remains opened.
> 
> Can anyone give me same advice how to do it?
> 
> Thanks,
> Hynek Sladky
> 

-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/

Reply via email to