OpenDCL Forums

OpenDCL => Runtime/AutoLISP => Topic started by: Rakesh Rao on September 28, 2021, 05:52:02 PM

Title: Automatically close a modeless dialog after few seconds
Post by: Rakesh Rao on September 28, 2021, 05:52:02 PM
Dear Forum Support,

Is it possible to define a modeless dialog so that it closes after a pre-defined number of seconds after launch?

Ideally, if there is a click or some activity on the form, it can stay open, but if no one touches the form, I want it to close in NN seconds.

Is that possible using OpenDCL?

I am trying to create an entity-hover tooltip?

Any pointers would be appreciated.

Best Regards
Rakesh Rao
Title: Re: Automatically close a modeless dialog after few seconds
Post by: owenwengerd on September 29, 2021, 07:14:38 PM
It can be done by using the OnTimer event, but probably will leave unwanted residue in the command line.
Title: Re: Automatically close a modeless dialog after few seconds
Post by: Rakesh Rao on September 29, 2021, 09:28:14 PM
Thank you Owen. Tried and it works beautifully.

No residues on the command line either, in BricsCAD.

- RR