Automatically close a modeless dialog after few seconds

Started by Rakesh Rao, September 28, 2021, 05:52:02 PM

Previous topic - Next topic

Rakesh Rao

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

owenwengerd

It can be done by using the OnTimer event, but probably will leave unwanted residue in the command line.

Rakesh Rao

Thank you Owen. Tried and it works beautifully.

No residues on the command line either, in BricsCAD.

- RR