if i use the code on a visible WPRichedit, everythings OK, if i use it on a WPRichedit not residing on a form (generated in code), it does not work (does not write the band infos)
chuck
if i use the code on a visible WPRichedit, everythings OK, if i use it on a WPRichedit not residing on a form (generated in code), it does not work (does not write the band infos)
chuck
i have a problem with bands i generate programmatically:
wpsupermerge.SetSourceDest(wprichtext.RTFData,nil);
wprichtext.Clear;
wprichtext.AsString := 'chuck';
WPRichText.RTFData.Cursor.MoveTo(WPRichText.FirstPar);
g := wpsupermerge.AddGroup(wpatPosition);
g.Name := 'MAIN';
wprichtext.RTFData.Cursor.moveto(g.childpar);
bh := wpsupermerge.AddBand(wpmHeader);
bd := wpsupermerge.AddBand(wpmData);
bf := wpsupermerge.AddBand(wpmFooter);
on screen everything looks fine, but when i try to save it, the stream(file) das not contain information about the bands (\wpmergepar.....)
when inserting bands manually, everything works
any idea what to do about it
chuck
I want to use the the new office 2007 Style office-p0ager and related controls from TMS with WP.
What is the most elegant way to couple the controls (font-name,....) to the edit?
Setting values from the controls is quitze straightforward, same with the actions i think, but the opposite way is is not that clear.
WHich event might be used to set set fontname in the control according to the cursor pos
Chuck
Thanks for your answer,
but your solution will print on the server i suppose.
What i need is to prepare a pdf, which is thanks to your nice
wptools,wpfd very convienient, but then i have to print them
know in our new app from an ASP.NET page to the client printer.
Chuck
Does anyone know how to print an PDF-Dokument automatically from an ASP.NET Page?
Chuck
As i understand right, the link should be a simple filepath like
"c:\temp\xxx.css" not the official "file://c:\temp\xxx.css"
I tried that, it seems to do something, but nevertheless the output looks quite different from ie.
Would you like the files to check?
thomas (chuck) holdt, MORE
Is WPTools5 able to load CSS files with the html from LINK Tags.
It does not seem so to me. I have a doc which loads right in IE but not in
WPtools5
Chuck