Quantcast
Channel: West Wind Message Board Messages
Viewing all articles
Browse latest Browse all 10393

Re: Class Member table

$
0
0
Re: Class Member table
HTML Help Builder
Re: Class Member table
04/04/2012
07:27:48 AM
3GZ0FZXVS Show this entire thread in new window
Gratar Image based on email address
From:
Hans-Peter Groezinger
To:
Attachments:
None
Hello Rick !

with

<h3 class="outdentmargin" id="classmembers">Class Members</h3> <%= STRTRAN(STRTRAN(ClassMemberTableHtml(oHelp,.t.,"width='95%'"),[<th style="width: 185px" colspan="2">Member<],[<th colspan="2">Member<]),[<th style="width:350px">Description<],[<th>Description<]) %>

in templates\classheader.wcs I get a good result.



Hi Hans-Peter,

Good point - not very localizable :-)

The code that drives the member table looks like this:

<%= ClassMemberTableHtml(oHelp,.t.,"width='95%'") %>

and is the CLassheader.wcs template. Templates use VFP code so you can actually fix this with:

<%= STRTRAN(STRTRAN(ClassMemberTableHtml(oHelp,.t.,"width='95%'"),">Member<",">MEMBER<"),">Description<",">DESCRIPTION<") %>

I'm making a few changes right now that allow specifying the headers as parameters:

<%= ClassMemberTableHtml(oHelp,.t.,"width='95%'","MEMBERS","DESCRIPTION") %>

I'll have this up shortly.

+++ Rick ---



Hello !

I build a help-topic for a VFP-VCX-class.
HTML Help Builder creates the following table automatically:
http://www.schwaben-team.de/downloads/dfpug/westwind/htmlhelpbuilder_01.jpg

In HTML-code this line sets the width of the description-column to 350:
<h3 class="outdentmargin" id="classmembers">Class Members</h3><table class='detailtable' align="center" width='95%'><tr><th style="width: 185px" colspan="2">Member</th><th style="width:350px">Description</th></tr><tr>

This is a very bad solution for me :-(

I searched in path templates of my help-project how to change this behavoir.
It will be OK, if the style-clause is away.

How and where can I change the automatic addition of the style-clause for col Description?




Viewing all articles
Browse latest Browse all 10393

Trending Articles