Discussion:
[Wt-interest] two WDialog objects working together
Mario Diethelm Guallar
2015-07-14 21:52:44 UTC
Permalink
Hi,

I am working on an application that uses two independent dialog objects
(WDialog). Under certain conditions or using a WPushButton one of the
dialogs call the another (activate it using the show() method). The
called dialog always appears behind the caller dialog no matter the
value of the z-index property is set for each one. Obviously what I want
is the opposite, i.e. to show the called dialog on top of the caller
dialog. Both dialogs are modal dialogs.

How do yo control which dialog appears in front?

thanks. Regards.

________________________
Mario Diethelm Guallar
Koen Deforche
2015-07-15 07:21:36 UTC
Permalink
Hey,

The order of creation controls that. But perhaps we should add a
raiseToFront() function, which we have internally already?

Regards,
Koen
Op 14 jul. 2015 23:53 schreef "Mario Diethelm Guallar" <
Post by Mario Diethelm Guallar
Hi,
I am working on an application that uses two independent dialog objects
(WDialog). Under certain conditions or using a WPushButton one of the
dialogs call the another (activate it using the show() method). The called
dialog always appears behind the caller dialog no matter the value of the
z-index property is set for each one. Obviously what I want is the
opposite, i.e. to show the called dialog on top of the caller dialog. Both
dialogs are modal dialogs.
How do yo control which dialog appears in front?
thanks. Regards.
________________________
*Mario Diethelm Guallar*
------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
_______________________________________________
witty-interest mailing list
https://lists.sourceforge.net/lists/listinfo/witty-interest
Mario Diethelm Guallar
2015-07-15 10:17:53 UTC
Permalink
Thank you Koen. In this case the caller dialog is created after the called dialog so it is working exactly as you explain.

It would be great to have such a function (raiseToFront).

Regards.

_____________________
Mario Diethelm Guallar
Hey,
The order of creation controls that. But perhaps we should add a raiseToFront() function, which we have internally already?
Regards,
Koen
Hi,
I am working on an application that uses two independent dialog objects (WDialog). Under certain conditions or using a WPushButton one of the dialogs call the another (activate it using the show() method). The called dialog always appears behind the caller dialog no matter the value of the z-index property is set for each one. Obviously what I want is the opposite, i.e. to show the called dialog on top of the caller dialog. Both dialogs are modal dialogs.
How do yo control which dialog appears in front?
thanks. Regards.
________________________
Mario Diethelm Guallar
------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
_______________________________________________
witty-interest mailing list
https://lists.sourceforge.net/lists/listinfo/witty-interest
Koen Deforche
2015-08-12 12:10:17 UTC
Permalink
Hey Mario,

I've added this function in my development copy.

Regards,
koen
Post by Mario Diethelm Guallar
Thank you Koen. In this case the caller dialog is created after the called
dialog so it is working exactly as you explain.
It would be great to have such a function (raiseToFront).
Regards.
_____________________
Mario Diethelm Guallar
Hey,
The order of creation controls that. But perhaps we should add a
raiseToFront() function, which we have internally already?
Regards,
Koen
Op 14 jul. 2015 23:53 schreef "Mario Diethelm Guallar"
Post by Mario Diethelm Guallar
Hi,
I am working on an application that uses two independent dialog objects
(WDialog). Under certain conditions or using a WPushButton one of the
dialogs call the another (activate it using the show() method). The called
dialog always appears behind the caller dialog no matter the value of the
z-index property is set for each one. Obviously what I want is the opposite,
i.e. to show the called dialog on top of the caller dialog. Both dialogs are
modal dialogs.
How do yo control which dialog appears in front?
thanks. Regards.
________________________
Mario Diethelm Guallar
------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
_______________________________________________
witty-interest mailing list
https://lists.sourceforge.net/lists/listinfo/witty-interest
------------------------------------------------------------------------------
Mario Diethelm Guallar
2015-08-12 12:44:44 UTC
Permalink
Great, thanks Koen. Is this available at the GitHub repository level?
Which source file did you work on (WDialog or some of the base classes)?

Thanks a lot. Regards.
________________________
Mario Diethelm Guallar



------ Original Message ------
From: "Koen Deforche" <***@emweb.be>
To: "Mario Diethelm Guallar" <***@gmail.com>
Cc: "witty-***@lists.sourceforge.net"
<witty-***@lists.sourceforge.net>
Sent: 12-08-2015 09:10:17
Subject: Re: [Wt-interest] two WDialog objects working together
Post by Koen Deforche
Hey Mario,
I've added this function in my development copy.
Regards,
koen
2015-07-15 12:17 GMT+02:00 Mario Diethelm Guallar
Post by Mario Diethelm Guallar
Thank you Koen. In this case the caller dialog is created after the
called
dialog so it is working exactly as you explain.
It would be great to have such a function (raiseToFront).
Regards.
_____________________
Mario Diethelm Guallar
Hey,
The order of creation controls that. But perhaps we should add a
raiseToFront() function, which we have internally already?
Regards,
Koen
Op 14 jul. 2015 23:53 schreef "Mario Diethelm Guallar"
Post by Mario Diethelm Guallar
Hi,
I am working on an application that uses two independent dialog
objects
(WDialog). Under certain conditions or using a WPushButton one of
the
dialogs call the another (activate it using the show() method). The
called
dialog always appears behind the caller dialog no matter the value
of the
z-index property is set for each one. Obviously what I want is the
opposite,
i.e. to show the called dialog on top of the caller dialog. Both
dialogs are
modal dialogs.
How do yo control which dialog appears in front?
thanks. Regards.
________________________
Mario Diethelm Guallar
------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support
that
you need to offload your IT needs and focus on growing your
business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
_______________________________________________
witty-interest mailing list
https://lists.sourceforge.net/lists/listinfo/witty-interest
------------------------------------------------------------------------------
Koen Deforche
2015-08-12 13:05:29 UTC
Permalink
Just WDialog, but it's not yet on github. I have some other merges
that I need to review first.

Regards,
koen
Great, thanks Koen. Is this available at the GitHub repository level? Which
source file did you work on (WDialog or some of the base classes)?
Thanks a lot. Regards.
________________________
Mario Diethelm Guallar
------ Original Message ------
Sent: 12-08-2015 09:10:17
Subject: Re: [Wt-interest] two WDialog objects working together
Post by Koen Deforche
Hey Mario,
I've added this function in my development copy.
Regards,
koen
2015-07-15 12:17 GMT+02:00 Mario Diethelm Guallar
Post by Mario Diethelm Guallar
Thank you Koen. In this case the caller dialog is created after the called
dialog so it is working exactly as you explain.
It would be great to have such a function (raiseToFront).
Regards.
_____________________
Mario Diethelm Guallar
Hey,
The order of creation controls that. But perhaps we should add a
raiseToFront() function, which we have internally already?
Regards,
Koen
Op 14 jul. 2015 23:53 schreef "Mario Diethelm Guallar"
Post by Mario Diethelm Guallar
Hi,
I am working on an application that uses two independent dialog objects
(WDialog). Under certain conditions or using a WPushButton one of the
dialogs call the another (activate it using the show() method). The called
dialog always appears behind the caller dialog no matter the value of the
z-index property is set for each one. Obviously what I want is the opposite,
i.e. to show the called dialog on top of the caller dialog. Both dialogs are
modal dialogs.
How do yo control which dialog appears in front?
thanks. Regards.
________________________
Mario Diethelm Guallar
------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
_______________________________________________
witty-interest mailing list
https://lists.sourceforge.net/lists/listinfo/witty-interest
------------------------------------------------------------------------------
Mario Diethelm Guallar
2015-09-08 14:56:55 UTC
Permalink
Koen,

I have tested the raiseToFront() function and it works great, allowing
to change the default behavior for stacked WDialog objects.

Thanks.
________________________
Mario Diethelm Guallar


------ Original Message ------
From: "Koen Deforche" <***@emweb.be>
To: "Mario Diethelm Guallar" <***@gmail.com>
Cc: "witty-***@lists.sourceforge.net"
<witty-***@lists.sourceforge.net>
Sent: 12-08-2015 10:05:29
Subject: Re: [Wt-interest] two WDialog objects working together
Post by Koen Deforche
Just WDialog, but it's not yet on github. I have some other merges
that I need to review first.
Regards,
koen
2015-08-12 14:44 GMT+02:00 Mario Diethelm Guallar
Post by Mario Diethelm Guallar
Great, thanks Koen. Is this available at the GitHub repository level?
Which
source file did you work on (WDialog or some of the base classes)?
Thanks a lot. Regards.
________________________
Mario Diethelm Guallar
------ Original Message ------
Sent: 12-08-2015 09:10:17
Subject: Re: [Wt-interest] two WDialog objects working together
Post by Koen Deforche
Hey Mario,
I've added this function in my development copy.
Regards,
koen
2015-07-15 12:17 GMT+02:00 Mario Diethelm Guallar
Post by Mario Diethelm Guallar
Thank you Koen. In this case the caller dialog is created after
the
called
dialog so it is working exactly as you explain.
It would be great to have such a function (raiseToFront).
Regards.
_____________________
Mario Diethelm Guallar
Hey,
The order of creation controls that. But perhaps we should add a
raiseToFront() function, which we have internally already?
Regards,
Koen
Op 14 jul. 2015 23:53 schreef "Mario Diethelm Guallar"
Post by Mario Diethelm Guallar
Hi,
I am working on an application that uses two independent dialog
objects
(WDialog). Under certain conditions or using a WPushButton one of
the
dialogs call the another (activate it using the show() method).
The
called
dialog always appears behind the caller dialog no matter the
value of
the
z-index property is set for each one. Obviously what I want is
the
opposite,
i.e. to show the called dialog on top of the caller dialog. Both
dialogs are
modal dialogs.
How do yo control which dialog appears in front?
thanks. Regards.
________________________
Mario Diethelm Guallar
------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support
that
you need to offload your IT needs and focus on growing your
business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
_______________________________________________
witty-interest mailing list
https://lists.sourceforge.net/lists/listinfo/witty-interest
------------------------------------------------------------------------------
Loading...