GenoPro Home
|
Get Started With My Genealogy Tree
|
Buy
|
Login
|
Privacy
|
Search
|
Site Map
GenoPro Support Forum
Home
Search
Tags
Who's On
Welcome Guest
(
Login
|
Register
)
Recent Posts
Popular Topics
Home
»
GenoPro
»
Report Generator
»
(Emperor's) New Clothes
(Emperor's) New Clothes
Rate Topic
Topic View
Topic Options
Author
revised Config Parameters Dialog for Narrative Report (updated 2013/04/05)
genome
Posted Friday, March 29, 2013
-
Post #31546
Legendary Master
Administrators
Customers
Important Contributors
FamilyTrees.GenoPro.com
GenoPro version: 3.1.0.1
Last Login: 1 hour ago
Posts: 3,426,
Visits: 26,508
Hi guys and gals, the weather in the UK is still far too cold for doing much in the garden (although I did mow the lawn today
) so I have been working hard over the last few days exercising my remaining grey matter and honing my
Javascript
skills to re-engineer the 'Configuration Parameters' dialog for the
Narrative Report
as an Easter 'treat'.
It has bugged me for some time that this dialog has been a bit of a 'carbuncle' and using IE has caused slow loading, ActiveX and 'security' issues. So I decided to see what could be done. I had come across HTA's (HTML Applications) some while back but because there was no COM
interface
I discarded it. But a few days ago I realised I could run it freestanding and the Report skin could pick up the results from the registry.
I decided to see I could make it look like GenoPro's Microsoft MFC-based dialogs, but just using HTML and Javascript (I have no access to GenoPro's C++ stuff). I could have used one of the many Javascript frameworks, e.g. jquery, prototype etc.) but found after some experimentation that actually it was relatively straightforward to do without them.
quick peek:
So a tabbed dialog just like GenoPro!
The HTA is HTML/javascript that is run under the Microsoft application mshta.exe instead of Internet Explorer. The benefits are:-
much quicker loading (although there is a small delay whilst the required files are copies to a temporary folder)
removes the IE security restrictions (runs as any other local application).
provides a universal routine for other report skins (I'll
update
the others later)
It required an extra attribute '
Label
' to the parameter groups in ConfigMsgEN.xml to provide the labels for the tabs, so those of you with your own localisations of this file will need to add these, otherwise it will default to #1, #2, #3 etc.
I have only done limited testing under 32-bit Windows 7 and so I am not releasing under the main Narrative Report thread as yet. I would be grateful if anyone testing under a different Operating System could report back success or failure.
This change is now part of the standard skin
http://support.genopro.com/Topic28332.aspx
'lego audio video erro ergo disco'
or "
I read, I listen, I watch, I make mistakes, therefore I learn
"
Tags:
Narrative
,
Report
,
skin
Edited:
Tuesday, April 9, 2013 by
genome
Threaded View
Threaded View
(Emperor's) New Clothes
By
genome
(
Friday, March 29, 2013
)
Czech translation
By
powery
(
Sunday, April 7, 2013
)
This skin now moved to the normal Latest Narrative Report Skin...
By
genome
(
Tuesday, April 9, 2013
)
It works now.
By
Alex
(
Sunday, April 7, 2013
)
Delete button has Save button description
By
powery
(
Wednesday, April 3, 2013
)
Yep, definitely a few more bugs to iron out, so I have removed the...
By
genome
(
Thursday, April 4, 2013
)
Hello, nice work. But loading saved profile does not work, after...
By
powery
(
Wednesday, April 3, 2013
)
1.To Powery (...Delete button has wrong position...) The reason -...
By
Alex
(
Thursday, April 4, 2013
)
Thanks Alex. I have now fixed the width of the profile drop-down at...
By
genome
(
Thursday, April 4, 2013
)
My IE - v. 9.0.8 Problems by maru-san : 1 - yes, 2 - no. Variation of...
By
Alex
(
Saturday, March 30, 2013
)
Well, adding a stored profile feature turned out to be a tad more...
By
genome
(
Wednesday, April 3, 2013
)
[quote] maru-san , I have not been able to reproduce your problem...
By
maru-san
(
Thursday, April 4, 2013
)
Ok, a couple of false starts, as is my usual style, but back on track...
By
genome
(
Friday, April 5, 2013
)
Hi Ron. In 64-bit Windows 7:
By
Alex
(
Friday, March 29, 2013
)
Ok, thanks for that but I don't know why that should happen. Could...
By
genome
(
Friday, March 29, 2013
)
Just tried the new Narrative report, but had two problems: 1) The new...
By
maru-san
(
Friday, March 29, 2013
)
Again, no idea at the moment as to what is going on there. According...
By
genome
(
Friday, March 29, 2013
)
Just did a little test on my old Vista (32 bit) machine and all runs...
By
Nand
(
Saturday, March 30, 2013
)
Could be that the button positioning is due to a font-sizing issue...
By
genome
(
Saturday, March 30, 2013
)
Similar Topics
Reading This Topic
Active: 2 - 1 guest, 0 members, 0 anonymous.
No members currently viewing this topic!
Powered By InstantForum.NET 2010-3-x © 2025
Execution: 0.016.
3 queries.
Compression Enabled.
Search All Forums...
GO
Advanced Search
Rate Topic
Great
Good
Average
Bad
Poor
Rate This Topic
Flat Ascending
Flat Descending
Threaded
Subscribe To Topic
Print This Topic
Goto Topics Forum