XP Visual Style

forum.centura.team.developer (2000-2005) & forum.sqlwindows (2000-2005)
NewsgroupServer
Robot
Robot
Posts: 116488
Joined: 24 Feb 2017, 12:00
Location: World wide

XP Visual Style

Post by NewsgroupServer » 10 Mar 2005, 14:44

 Posted by:  Nice Chap 

How can i enable XP Visual styles for my ctd application please ?

NewsgroupServer
Robot
Robot
Posts: 116488
Joined: 24 Feb 2017, 12:00
Location: World wide

XP Visual Style

Post by NewsgroupServer » 10 Mar 2005, 15:24

 Posted by:  g.achrainer 

Hi,

www.iceteagroup.com, "TeaTalk" > "2004 issues" > "Supporting Windows XP
controls in Team Developer"

Regards,

gerhard.

NewsgroupServer
Robot
Robot
Posts: 116488
Joined: 24 Feb 2017, 12:00
Location: World wide

XP Visual Style

Post by NewsgroupServer » 10 Mar 2005, 15:27

 Posted by:  g.achrainer 

Forgot to mention:

Note that beside the mentioned known issues you'll have to create your own
toolbar in the Report Builder print preview when using XP styles (the Gupta
Toolbar won't work then). The mentioned limitation regarding the
"cDesktopListbox" can be solved by specifying the QuickObject DLL property
of the appropriate class.

gerhard.

NewsgroupServer
Robot
Robot
Posts: 116488
Joined: 24 Feb 2017, 12:00
Location: World wide

XP Visual Style

Post by NewsgroupServer » 10 Mar 2005, 17:32

 Posted by:  Nice Chap 

Thank you very much for your wonderful article. I am afraid I was NOT able
to download the source code. Can you please post it ?

NewsgroupServer
Robot
Robot
Posts: 116488
Joined: 24 Feb 2017, 12:00
Location: World wide

XP Visual Style

Post by NewsgroupServer » 11 Mar 2005, 10:57

 Posted by:  g.achrainer 

http://www.achrainer.com/downloads/

NewsgroupServer
Robot
Robot
Posts: 116488
Joined: 24 Feb 2017, 12:00
Location: World wide

XP Visual Style

Post by NewsgroupServer » 12 Mar 2005, 13:55

 Posted by:  Joe Meyer 

in case you meant you didn't find WHERE to download here's the link:
www.iceteagroup.com/TeaTalk/Download/2004/200402.zip

See also chapter "Sourcecode" on:
www.iceteagroup.com/TeaTalk/HowToDownload.htt

Regards,
Joe Meyer
Ice Tea Group, LLC
www.iceteagroup.com

NewsgroupServer
Robot
Robot
Posts: 116488
Joined: 24 Feb 2017, 12:00
Location: World wide

XP Visual Style

Post by NewsgroupServer » 21 Mar 2005, 15:57

 Posted by:  Nice Chap 

Thanks a lot for all the help. I am almost there but I am unable to get the
Report Window toolbar buttons to appear when XP style is ON. How can I make
the Report window buttons appear normal ?

Since the manifest file is of global nature I could not work out how to
exclude report window from XP Style ? IF I can somehow get over this problem
I can persuade my manager to move our application to XP Style. Any help will
be greatly appreciated.

Thanks...

NewsgroupServer
Robot
Robot
Posts: 116488
Joined: 24 Feb 2017, 12:00
Location: World wide

XP Visual Style

Post by NewsgroupServer » 21 Mar 2005, 17:03

 Posted by:  g.achrainer 

Hi,

simply create your own preview window & toolbar, containing a button for
each RPT_Cmd... command. Should be solved in just a few minutes of work.

Regards,

gerhard.

NewsgroupServer
Robot
Robot
Posts: 116488
Joined: 24 Feb 2017, 12:00
Location: World wide

XP Visual Style

Post by NewsgroupServer » 21 Mar 2005, 18:50

 Posted by:  Nice Chap 

thank you gerhard

Our application is a fully grown one and we cannot change calls to
SalReportView in the whole application to use our preview window. Also for
writing a preview window should I use quickreport custom control ?

NewsgroupServer
Robot
Robot
Posts: 116488
Joined: 24 Feb 2017, 12:00
Location: World wide

XP Visual Style

Post by NewsgroupServer » 22 Mar 2005, 04:51

 Posted by:  Stephen Wells 

Gerhard,

I have done all this, except I would like a datafield that has the
current page, and one that has the total pages, which I can only figure
out if I have scrolled through them all.

Is there a way of figuring out the final page when the report first opens?

Stephen

NewsgroupServer
Robot
Robot
Posts: 116488
Joined: 24 Feb 2017, 12:00
Location: World wide

XP Visual Style

Post by NewsgroupServer » 22 Mar 2005, 11:54

 Posted by:  g.achrainer 

Hi,

create a function "MyReportView" that creates the preview form and then
calls "SalReportView". This way, you'll be able to do a simple "search and
replace".

Also take a look at my posting in forum.advanced.programming titled "Re:
Manifest file - Report - Windows XP" from Sep. 20th, 2004. There is an
example of how to create that form - no quickreport, no custom control, no
special things at all - just pure SAL code.

Regards,

gerhard.

NewsgroupServer
Robot
Robot
Posts: 116488
Joined: 24 Feb 2017, 12:00
Location: World wide

XP Visual Style

Post by NewsgroupServer » 22 Mar 2005, 11:58

 Posted by:  g.achrainer 

Hi,

use the "SAM_ReportNotify" messages that Gupta provides. We count the pages
when "RPT_DonePageFooter" is sent.

Regards,

gerhard.

NewsgroupServer
Robot
Robot
Posts: 116488
Joined: 24 Feb 2017, 12:00
Location: World wide

XP Visual Style

Post by NewsgroupServer » 22 Mar 2005, 14:08

 Posted by:  Nice Chap 

Hi gerherd,

Thanks for your patience.

I am sorry but I could not find the post you mentioned. My outlook express
shows posts from only this year. Would you be able to kindly post the source
code again ? It would really be a great help to me.

Thanks once again

NewsgroupServer
Robot
Robot
Posts: 116488
Joined: 24 Feb 2017, 12:00
Location: World wide

XP Visual Style

Post by NewsgroupServer » 22 Mar 2005, 14:26

 Posted by:  g.achrainer 

Hi,

attached find the file you are looking for.

Regards,

gerhard

Attachment: RptTest.apt

NewsgroupServer
Robot
Robot
Posts: 116488
Joined: 24 Feb 2017, 12:00
Location: World wide

XP Visual Style

Post by NewsgroupServer » 22 Mar 2005, 15:10

 Posted by:  Nice Chap 

thanks for all the help.

I will let you know how I get on ....

thanks once again

Return to “forum.sqlwindows”

Who is online

Users browsing this forum: [Ccbot] and 0 guests