Bullets and Outlining from MS word. #1
Guten Tag, I am parsing through the WPRichText editor and using Par.GetNumberText to get the outline/numbering text on each line. This works perfectly with con…
WPSuperPrinting #1
I am attempting to print two pages on one piece of paper and I discovered I should use the WPSuperPrint object. However, when I run the Demo/Tasks/SuperPrint.e…
Stripping out tables #2
I would also appreciate knowing how to do this.
Protecting, Setting attributes, and drawing Paragraphs #3
To discuss the OnInternPaintPar... NOTE ON THE FORUMS: I have images linked here in this post and while they work when I preview the post, I am unable to see t…
Protecting, Setting attributes, and drawing Paragraphs #1
Hi Julian, What I have setup: I have access to a single Paragraph called Par. Par is an empty paragraph and contains no text. Question 1: How do I go about set…
OnInternPaintPar #4
I am on my way to figuring it out. I did not know that it was calling this per line and the multiple draws I made each time covered more than the area that jus…
OnInternPaintPar #3
I know I could draw just the outline and set the ParColorOverride to the color I want, but I need to have the rounded corners that the roundrect function provi…
OnInternPaintPar #2
Update I check the value of "Stage" and only draw when its equal to wpBeforeLineText but it is still drawing in front of the text. Here is the code w…
OnInternPaintPar #1
Guten Tag, I have been using the OnTextObjectPaint method to draw these nice looking rounded corner boxes that appear in the background with the text of the ed…
DecIndent not working #3
My workaround. In the code where I decrease the indent I did this OldIndent := Editor.CurrAttr.IndentLeft; Editor.CurrAttr.DecOutlineLevel; Editor.CurrAttr.Dec…
DecIndent not working #1
I am using the code Editor.CurrAttr.IncIndent to indent a bulleted item. And this works great. However when I call Editor.CurrAttr.DecIndent The Numbered part …
Copying numbered lists #2
I am on my way to figuring this out. I have found the data member "Number" in the paragraph class. I am using it to set everything and it seems to be…
Copying numbered lists #1
Hello Julian, I have a project that has a main WPRichText with bulleted and numberd (outline) text and There are three or more WPRichTexts beside the main one.…
Scroll to page set by pagenumber #3
hi, Thank you. I feel kind of silly having even posted this, everything was apparently working ok I just needed to refresh to editor.
Holding spacebar down inserts spaces that dont wrap #1
Hi Julian, Problems always seem to come in threes. This time I found an issue where if you keep pressing the space bar when the caret gets to the edge of the p…
Scroll to page set by pagenumber #1
Hello again, I am working on a section of code a coworker had worked on and he was setting the page of the document to be viewed using the property pagenumber.…
OutCanvas.TextOut #1
Hello Julian, I am drawing on the canvas of my wpRichText. I am drawing sound rounded rectangles and using TextOut to put some words within these boxes. I am s…
Storing text in TWPTextObj #3
Hi Julian, I did try using the params property but it has the side effect of having the data I put in there presented on the screen. I need this information to…
Storing text in TWPTextObj #1
Hi Julian, Where would be the best place to store a string inside a TWPTextObj? I looked into TStrings "extras" but I could not get them to work. I w…
TextOutline #5
Hi, I am redefining the paint procedure in an extended WPRichTextLabel Component here is the code within the paint procedure procedure WPLabelEx.Paint; var FWi…
Type in a label #1
Hello Is there a way to type into a label? Thank you
TextOutline #3
I am wanting to use a Rich Text Label so I do not have access to the OnInternPaint, So instead I am extending the class and redoing the Paint procedure. I am u…
TextOutline #1
Hello, I know I have been asking a lot of questions lately but I happen to have one more. Is there a way to outline the text in another color? For example, ins…
Page Width #1
Hello again, Is there a way to set the width of the page? It appears to be an 8x11 piece of paper. Would it be possible to define it as a 4x4 piece of paper? T…
Format Label #1
Hello, I have a rich text label and let the user put text into it using a button that copies text from the WPRichText. Is there a way for me to format the text…
Scrollbar #8
Hello, Sorry it took so long to get back here, but I dropped the code in to the pas file and it worked like a charm. Thank you
Scrollbar #6
Hello, I appreciate you putting in a workaround. I, however, have still not found the cause of this issue. What outside of wptools is causing the mousewheelup …
Scrollbar #4
Update: On the popup menu of the scroll bar when you right click on it, clicking the "scroll up" option works! It scrolls up an equal amount that it …
Scrollbar #3
Hello, Well I tested that idea out, and was going to send it to you, but when I copied it into a new app the problem went away. So my thought is that it must b…
Scrollbar #1
Hello, I have been working with a WPrichText for a little over a week now. And in the last two days I have found that when I use the mousewheel down, it scroll…