Status of Bootstrap Modal form


I need to know if a BS Modal form is visible or not so it can be re-positioned on the screen or toggled off when the screen size changes. Modal1.hidden always returns False.

Thanks, John


The .Visible property works nicely for that with most AppStudio controls but doesn’t appear to be exposed for BS controls at present. Instead, you can look to the CSS display property and handle the result. If it returns "block", the modal is being displayed, if "none" it’s not.

Kind regards,