That was my first thought, but then my brain went on to say it wouldn't work. I'm not to sure why it said that though :?
Beiträge von RoyLambert
-
-
Is there a way to get a ringed notebook effect with WPTools?
-
What about setting the DefaultIOFormat to WPTools, capture the document in a string using .AsString, apply your replacements using StringReplace and then return to the document again using .AsString
-
Personally I'd read that as "no"
-
Try emailing support directly. Julian doesn't visit here quite as often as we would like but a direct email generally works for me.
If you get a solution post it back here for the rest of us.
-
I don't know if this will help but stop thinking of it as a document and a hyperlink and think of it as a stream of characters. What you want to do is change part of that stream. The mailmerge field is simply a marker for where you want to insert the new text along with a visual representation that there's something there.
What you want to replace this visual representation with is a small piece of program code which consists of an opening tag, the program (ie the URL), a visual representation and a closing tag.
So a solution would be to insert a mailmerge field into normal text and replace it with the full "program code" ie opening tag, url, visual representation, closing tag.
I don't think its going to be possible to make it look like a URL in the mailmerge field but that's all.
-
That would have been useful information to post at the start.
I never bought WPReporter so all I can go in is the WPTools manual. It looks as though there is an event on the WPSuperMerge component OnGetText which is a bit like the mailmerge event. Possibly that will do what you want.
-
I think there might have been a small language problem. I am now guessing that you have a document with a hyperlink and you want the link to be calculated when the user clicks it.
If that's right I think you need the HyperlinkEvent or OnTextObjectClick event. The version 6 OLH recommends OnClickHotText
If the latter you'll need to test if it was a hyperlink object
When the event responds to the click or double click (can't remember which) in the code for the event you can calculate the URL and do what you like with it.
-
In WPTools 6 there is InputHyperlink. I think its in V4 as well (long time ago). Calculate the URL you want, position the cursor where you want and call InputHyperlink(url)
That should do it.
-
What are you actually trying to achieve - a reaction when someone clicks the hyperlink, or build a document with the computed URL in it?
-
Julian
Got the email and will be looking at that, but this is a different question. :D
This one was about how to have some text followed by the horizontal line on the same line rather than on the next line down
Roy
-
I'm goiing to be creating a multi source document and I'd like to be able to separate each section (source) with a heading followed by a horizontal line on the same line. Sort of like:
CORPORATE ----------------------------
Is that possible? If so how?
TIA
-
I droped a WPRichText on a form, created a header by double clicking but can't get it to display when I close the default editor. I'm sure it must just be setting an option but I can't find the right one.
Help
-
-
Julian
Could you publish the Visble property for the horizontal and vertical rulers please.
I'm trying to develop a base form which needs them visible in some inherited forms and not others and its just a bit nicer to set in the IDE rather than in code.
-
Julian
Mailmerge - no problem that's how I do my emails now. Its how do I do a background image that baffles me. Do I need to create the html outside of WPTools or is there a better way?
I just downloaded the main demo app from your website and, opened the wordprocessor part, clicked view - showbackground image and get
---------------------------
Wpmultidemo
---------------------------
Ungültige Typumwandlung.
---------------------------
OK
--------------------------- -
Julian
I'd like to design my own simple electronic Christmas cards. I'd like to have an ani-gif as background for some text, and then email the result to people with some personalisation using mailmerge. Is this possible and if so how?
-
Isn't the licence for Lazarus a bit of a problem for a commercial component developer?
-
Hi all
I'm getting involved with a dog rescue charity and we're printing jewel case calendars of some of the dogs rescured last year as part of raising funds.
Currently I'm using EzCalendar Creator which does a good enougth job but I'd like to be able to customise more, and have more flexible printing.
I'm hoping someone is going to save me some time and effort and has already developed a calendar for WPTools. If you have, and you're feeling generous I'd appreciate a copy of the code mailing to
roy.lambert_withoutspam@skynet.co.uk just remove the _withoutspam
TIA
-
I generally use WP.CPPosition := MaxInt