Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 5 of 5 total
Thread Close dialog box ?
Wed, Oct 14 2015 7:19 PMPermanent Link

Trinione

How can a Dialog box be closed when the user clicks anywhere outside of it?

Similar to how the TCalendar works.

Thanks.
Thu, Oct 15 2015 2:38 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Trinione,

<< How can a Dialog box be closed when the user clicks anywhere outside of it?  >>

There's really no way to do so right now.  I'll have to add a property to the Application/Surface classes to allow for this behavior.

Tim Young
Elevate Software
www.elevatesoft.com
Thu, Oct 15 2015 3:14 PMPermanent Link

Trinione

<< I'll have to add a property to the Application/Surface classes to allow for this behavior.

Tim:
Can this be added please. The user functionality of the Calendar is a great example of how this useful this is.

Thanks.
Thu, Oct 15 2015 3:16 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com


<< Can this be added please. The user functionality of the Calendar is a great example of how this useful this is. >>

All drop-down controls behave this way because they obtain/lose focus.  Dialogs/forms are not focusable, so it's not that simple, and modal dialogs/forms are *specifically* designed to not go away just because the user tries to click away from them.

Tim Young
Elevate Software
www.elevatesoft.com
Fri, Oct 16 2015 3:26 PMPermanent Link

Trinione

<< All drop-down controls behave this way because they obtain/lose focus.  Dialogs/forms are not focusable, so it's not that simple, and modal dialogs/forms are *specifically* designed to not go away just because the user tries to click away from them. >>

Tim:
I understand.

However... Is a hybrid possible? A Drop-Down-Form Control. Smile

Where the Form can be contained within a Drop-Down control.
Image