Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 6 of 6 total
Thread TPage does not respond to mouse clicks
Sun, Jun 9 2013 8:12 AMPermanent Link

Ronald

Hi,

I use a TPage component on my form but it does not respond to mouse clicks. It only responds if I click on the border of the component. What is wrong?

Greetings,
Ronald
 
Sun, Jun 9 2013 10:47 AMPermanent Link

Ronald

Ronald wrote:

Hi,

I use a TPage component on my form but it does not respond to mouse clicks. It only responds if I click on the border of the component. What is wrong?

Greetings,
Ronald
 
Ok, I reply myself.... because I see my mistake now.
The mouseclick ars consumed by the htmlobject on the TPage component. They never reach me. I have found a solution. I created a TImage with a transparent image en layed this on top op the TPage. Now the TPage responds (actually the image component) responds.

Still loving you wonderfull product.
Greetings,
Ronald
Mon, Jun 10 2013 1:52 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Ronald,

<< Ok, I reply myself.... because I see my mistake now.The mouseclick ars
consumed by the htmlobject on the TPage component. They never reach me. I
have found a solution. I created a TImage with a transparent image en layed
this on top op the TPage. Now the TPage responds (actually the image
component) responds.  >>

Yeah, TPage is tricky because, even though we handle the events for the
control, they normally won't bubble up that far if something in the actual
HTML content is handling the event already.

<< Still loving you wonderfull product. >>

Fantastic. Smile

Tim Young
Elevate Software
www.elevatesoft.com
Mon, Sep 16 2013 12:42 PMPermanent Link

aberas

Sorry to hijack the thread, but...

So there is no way to send back data from a TPage back into the form?

TIA

"Tim Young [Elevate Software]" wrote:

Ronald,

<< Ok, I reply myself.... because I see my mistake now.The mouseclick ars
consumed by the htmlobject on the TPage component. They never reach me. I
have found a solution. I created a TImage with a transparent image en layed
this on top op the TPage. Now the TPage responds (actually the image
component) responds.  >>

Yeah, TPage is tricky because, even though we handle the events for the
control, they normally won't bubble up that far if something in the actual
HTML content is handling the event already.

<< Still loving you wonderfull product. >>

Fantastic. Smile

Tim Young
Elevate Software
www.elevatesoft.com
Mon, Sep 16 2013 1:31 PMPermanent Link

Ronald

Yes, the page eats the click. So there is no event fired in your app. The
solution with the trasparent image on top of the TPage works great.

"aberas" schreef in bericht
news:549BE667-6262-46B6-A82E-901426E61BD0@news.elevatesoft.com...

Sorry to hijack the thread, but...

So there is no way to send back data from a TPage back into the form?

TIA

"Tim Young [Elevate Software]" wrote:

Ronald,

<< Ok, I reply myself.... because I see my mistake now.The mouseclick ars
consumed by the htmlobject on the TPage component. They never reach me. I
have found a solution. I created a TImage with a transparent image en layed
this on top op the TPage. Now the TPage responds (actually the image
component) responds.  >>

Yeah, TPage is tricky because, even though we handle the events for the
control, they normally won't bubble up that far if something in the actual
HTML content is handling the event already.

<< Still loving you wonderfull product. >>

Fantastic. Smile

Tim Young
Elevate Software
www.elevatesoft.com
Tue, Sep 17 2013 1:58 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com


<< So there is no way to send back data from a TPage back into the form? >>

There is some newer HTML5 messaging features that I'm looking into
implementing that allow TPage contents to send messages to the parent
application.  They may provide some relief for this need.

Tim Young
Elevate Software
www.elevatesoft.com
Image