Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 5 of 5 total
Thread TPage obscuring form
Tue, Jul 24 2012 3:02 PMPermanent Link

Gerald J. Clancy, Jr.

Previously posted in error to dbisam.general.

Two things:

Firstly, I started a new project and added a TPage control to my Main form
and now I can't see the controls behind it on the form. The "Send to back"
icon at the bottom of the IDE doesn't seem to work.

Secondly, as I have noted in several earlier posts, we generate pure HTML
(and .rtf and .pdf) files in response to many form requests (submits). How
would I return that in this environment and to what control, if any, so that
the client can view the report?

In the case of .rtf and .pdf I assume that the user's browser is capable of
executing in-browser the appropriate automation program. But HTML is native.

Got caught up in other, non-development work today.

Jerry
Tue, Jul 24 2012 4:18 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Jerry,

<< Firstly, I started a new project and added a TPage control to my Main
form and now I can't see the controls behind it on the form. The "Send to
back" icon at the bottom of the IDE doesn't seem to work. >>

What types of controls are behind the TPage ?  Graphic controls, such as
TLabel, TImage, and TSeparator, don't participate in the stacking order.

<< Secondly, as I have noted in several earlier posts, we generate pure HTML
(and .rtf and .pdf) files in response to many form requests (submits). How
would I return that in this environment and to what control, if any, so that
the client can view the report? >>

Just hook the form or panel that is executing the submit to a TPage
component, and the output from the POST operation will appear in the TPage
automatically.  Please see the formsubmit sample project that comes with EWB
for how to do this.  You can also see via this video:

http://www.youtube.com/watch?v=5Td6lwqnAyw

<< In the case of .rtf and .pdf I assume that the user's browser is capable
of executing in-browser the appropriate automation program. But HTML is
native. >>

Yes, the browser will be able to handle any of the above, provided that the
web server/web app on the back-end sets the appropriate content type so that
the browser knows how to display the content in the TPage.

If you have any other questions, please let me know.

Tim Young
Elevate Software
www.elevatesoft.com
Tue, Jul 24 2012 7:20 PMPermanent Link

Gerald J. Clancy, Jr.


"Tim Young [Elevate Software]" <timyoung@elevatesoft.com> wrote in message
news:BC9B91C1-E400-472A-A843-0F7B6D710646@news.elevatesoft.com...
> Jerry,
>
> What types of controls are behind the TPage ?  Graphic controls, such as
> TLabel, TImage, and TSeparator, don't participate in the stacking order.

Yes, I can see the edit controls now ("send to back" works for them) but not
the labels. It might be nice, though, if there was a "hide" property for the
TPage in the designer, different from Visible.

> << Secondly, as I have noted in several earlier posts, we generate pure
> HTML (and .rtf and .pdf) files in response to many form requests
> (submits). How would I return that in this environment and to what
> control, if any, so that the client can view the report? >>
>
> Just hook the form or panel that is executing the submit to a TPage
> component, and the output from the POST operation will appear in the TPage
> automatically.  Please see the formsubmit sample project that comes with
> EWB for how to do this.  You can also see via this video:
>
> http://www.youtube.com/watch?v=5Td6lwqnAyw

OK. I'll try this. Watched the video yesterday but may do it again. BTW,
what tool did you use to create them? Creating some video on how to use our
stuff could be a time-saver for me. Like yours, I want to show them the
screen actions, not scare them with videos of me.

> << In the case of .rtf and .pdf I assume that the user's browser is
> capable of executing in-browser the appropriate automation program. But
> HTML is native. >>
>
> Yes, the browser will be able to handle any of the above, provided that
> the web server/web app on the back-end sets the appropriate content type
> so that the browser knows how to display the content in the TPage.
>
> If you have any other questions, please let me know.

Good news. Thanks.

Jerry
Thu, Jul 26 2012 3:24 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Jerry,

<< Yes, I can see the edit controls now ("send to back" works for them) but
not the labels. It might be nice, though, if there was a "hide" property for
the TPage in the designer, different from Visible. >>

I'm not really sure what you're asking for here.  In general, if you need to
have groups of controls "stacked", then you should consider using TPanel
components as containers and then you can easily move groups of controls
front-to-back, or vice-versa.  The form submittal example does this exact
thing with controls and a TPage.

<< OK. I'll try this. Watched the video yesterday but may do it again. BTW,
what tool did you use to create them? >>

Camtasia Studio.  It's worth every penny, and works great.  It's *very* easy
to publish your videos to YouTube, also.

If you have any other questions, please let me know.

Tim Young
Elevate Software
www.elevatesoft.com
Fri, Jul 27 2012 3:13 PMPermanent Link

Gerald J. Clancy, Jr.


"Tim Young [Elevate Software]" <timyoung@elevatesoft.com> wrote in message
news:E26B4541-E60F-4509-A1AB-37AD720E8C2F@news.elevatesoft.com...
> Jerry,
>
> << Yes, I can see the edit controls now ("send to back" works for them)
> but not the labels. It might be nice, though, if there was a "hide"
> property for the TPage in the designer, different from Visible. >>
>
> I'm not really sure what you're asking for here.  In general, if you need
> to have groups of controls "stacked", then you should consider using
> TPanel components as containers and then you can easily move groups of
> controls front-to-back, or vice-versa.  The form submittal example does
> this exact thing with controls and a TPage.

Probably a good idea to use panels, anyway, but what I meant was to be able
to render the TPage invisible or below everything else in the stack in the
designer (only) so all other controls could be seen. Will do the container
thing.

> << OK. I'll try this. Watched the video yesterday but may do it again.
> BTW, what tool did you use to create them? >>
>
> Camtasia Studio.  It's worth every penny, and works great.  It's *very*
> easy to publish your videos to YouTube, also.

I'll definitely look at this. Thanks.
Image