Loading Styles #1
Hello. The WPRichtext has styles loaded at form creation like this. frmMain.WPStyleCollection1.Clear; frmMain.WPStyleCollection1.LoadFromFile(sStylesPath + �…
How to detect user clicking on a menu item #1
I am using a WPRichText for general notes relating to projects. The notes are loaded when the user moves to a different record. I would like to save any change…
How to get InitDir of TWPStyleDlg #3
Thanks.
How to get InitDir of TWPStyleDlg #1
Hello I keep styles in a particular folder and want the TWPStyleDlg to point to that folder when loading or saving. How can I set the folder? Thanks.
problem with setting CPPosition/Addict #16
Thank you. That fixed it.
problem with setting CPPosition/Addict #13
Julian I've tried the fix but I still have the problem. Have done a Build having loaded the dpk and then installing. I rightclick on a misspelt word and s…
Best way to trap exception if file name is in use #4
Thank you Julian. I have modified the code in WPtoPDFDlg to see if the file can be exclusively opened when the user clicks 'CreatePDF'. Try if FileEx…
Best way to trap exception if file name is in use #2
Can someone let me know when this bug has been fixed? Thanks. Rob
Best way to trap exception if file name is in use #1
Hello How can I trap the exception that occurs if the user creates a pdf and tries to create it later (perhaps having made some changes) not realizing the firs…
Font (-size) selection by combobox without action property #2
I use DevEx components for the font name and size combos. This is my code in the OnSelectionChanged event. frmReport.dxBarFontNameCombo1.Text := WPRichText1.Cu…
PopUp menu clashing with Addict spell suggestions #15
Thanks Julian and Stef Just what I needed. Rob.
PopUp menu clashing with Addict spell suggestions #9
Stef I've resigned myself to having to click on a correctly spelt word to get my popup to appear. A little messy and not expected by the user but that is …
Watermark shrinking when printing #8
Julian I have found the cause of my problem I don't know why, but the RichText Pagesize was set as custom and was slightly smaller than A4. I'm almos…
Watermark shrinking when printing #7
Julian I have tried your suggestion and scoured the NGs for further assistance. I cannot get the correct output. The graphic I want as the printed background i…
How to change the fonttype properly? (use DevExpress Combo) #5
Stef I use the following to show the font in a TdxBarComboBox The code is in the OnChangeSelection event. // Change the font combo and font size first frmRepor…
Watermark shrinking when printing #6
Thanks Julian. I will give this a try. Rob.
Watermark shrinking when printing #4
Julian I am trying to use the printer.canvas option. In the OnPaintWatermarkEvent I have the following code if printer.Printing then begin PageRect.Left := 6; …
Watermark shrinking when printing #3
Thank you Julian I will have a look at printer.canvas but expect further questions ;-) What is the significance of my printing when wppInPaintDesktop is not us…
Watermark shrinking when printing #1
I am using a high quality jpeg for our letterheads. This is loaded in the RichText.OnPaintWatermarkEvent using the following code if wppInPaintDesktop in Paint…
Losing text in TDBRichText #5
Thanks for your quick response. That works fine. Rob
Losing text in TDBRichText #3
Julian I understand what you say but at present I am comitted to using a databound RichText. I think I have narrowed down the problem. If I add text using Rich…
How to use USEEXPRESSBARS? #2
Stef I use ExpressBars. You need to add WPAction to your form's Uses caluse. This will give you access to the WPRichEdit standard actions to associate wit…
Losing text in TDBRichText #1
Hello If I add some text to the RichText I lose it if I do not move records. How can I force the component to save the data? I need something like DBRichText.p…
Next Style question #3
Thanks Julian. But how do I use the WPStyleDlg to save and load RTF styles? I cannot see any options in the properties and the file type is 'fixed' a…
Next Style question #1
Julian I am using a few styles. These are stored in Letter.css and are loaded when a new letter is created. I use Futura fonts throughout. I have a Default sty…
Problem compiling v5.20 in D2006 #3
Thanks Julian I have disabled the define in wpdf_inc.inc and it now compiles OK. Rob.
Problem compiling v5.20 in D2006 #1
Julian When compiling I get the following error [Pascal Fatal Error] wppdfQR.pas(13): F1026 File not found: 'QRPrntr.dcu' I have the Wpdf addon and a…
PopUp menu clashing with Addict spell suggestions #7
Thanks everyone. The OnMouseDownWord event appears the best solution. I hadn't noticed it (oops). Rob.
PopUp menu clashing with Addict spell suggestions #3
Glenn I am looking for a quick fix here and is there any way I can set a boolean in the OnPopUpCreateMenu event? (I have tried but any code prevents the Addict…
PopUp menu clashing with Addict spell suggestions #1
Hello I am using the DevEx Bars for the main menu and pop-ups. The pop-up is coded in the OnMouseDown event but it always stops the Spell Check suggestion menu…