Is there an easier way to display the struct fields and their corresponding values in RichEdit control?
This is what I am doing now:
AnsiString s;
s = IntToStr(wfc.fontColor);
RichEdit1->Lines->Append(s);
etc...
Is there an easier way than having to individually call each one? I want to read a binary file and then display the corre...
I have another question open regarding an error I'm experiencing with the horizontal scrollbar of a RichTextBox not functioning properly and am not getting much response. It came to me that I might be asking the wrong question.
My new question is how do the scrollbar properties get set/controlled. I know I can SendMessage to change the...
I need a free component like RichEdit, but which can also show pictures inside. I am using Delphi 7. Unfortunately RichEdit cannot show pictures, and few components which can are not free.
...
How can I add text not to a new line but to the last existing line? Lines.Add and Lines.Append add text as a new line, and Lines.Insert needs a position that I don't know how to find.
...
I'm having trouble using contentEditable in FireFox 3. I have a problem where the cursor will appear above or only partially in the div after I click in it (until I start typing at which time it behaves correctly). Any ideas on how I can stop this from happening?
HTML:
<html>
<head><title>Test Page</title></head>
<body>
<div...
I am hoping to build an IDE in javascript that behaves much like gmail except the style will change automatically based on what they type as they type. The logic for this isnt where im struggling. Its how gmail achieves the ability to edit in a rich edit format in html. As far as I know the textarea control does not work this way, so how...
Hello
Do you know any (paid or free) MFC control with features like (QT) QTextEdit control?
Good HTML (and may be RTF) support (import, export)
Ability to edit manual control content
:)
...
So, issue is with the thing Delphi progies scare to death - Rich Edit in Windows ( XP and pre-XP versions ).
Situation:
I have added EM_AUTOURLDETECTION in OnCreate of form. Target -> RichEdit1. Then, I have form, that is "collapsed" after showing form. RichEdit Control is sattic, visible and enabled, but it is "hidden" because form wi...
I have an application with a CRichEditView, and I'd like to find text in it. By creating a menu item "Find" with ID_EDIT_FIND, the view opens the find window and text is found by highlighting. BUT... the view is not scrolled, so if a text is found 100 lines below visible, that's where it stays. Ideas on how to make the control autoscroll...
I have a RichEdit control in my simple application that I wish to simulate a console-like display with. I want to be able to have a buffer of x number of lines (say, 300) and whenever a line is added, I would like to also remove the oldest (top) line if the new line exceeded the threshold x. I would also like it to automatically scroll...
Most TWinControl descendant in Delphi has an override method CreateParams to define it's subclass such as: 'EDIT', 'COMBOBOX', 'BUTTON', 'RICHEDIT' and etc.
CreateSubClass(Params, 'EDIT');
CreateSubClass(Params, 'COMBOBOX');
CreateSubClass(Params, 'BUTTON');
There are quite a number of rich edit control for Delphi including controls ...
Regarding TJvRichEdit and Delphi... How?
Load/Save rtf (including text and images - not only .bmp) to/from a file?
Read/Write rtf (including text and images - not only .bmp) to/from Firebird blob field?
Automatically convert screendump pasted from clipboard (Ctrl-V) into .jpg format before it is inserted into the TJvRichEdit rtf?
Gui...
I use a subclass of CRichEditCtrl to provide a CEdit+ type control. One thing I want is to disable drag-drop functionality, which the base class provided by default.
Disabling dropping is easy: ::RevokeDragDrop(m_hWnd);
But I can't see a simple way to disable the control being a drag-source. Is there an easy way?
...
I am trying to update RichEdit so that it detects URL and enables clicking on it to open in the browser. Detecting URL is easy, I just use the following code from http://www.scalabium.com/faq/dct0146.htm
mask := SendMessage(MNote.Handle, EM_GETEVENTMASK, 0, 0);
SendMessage(MNote.Handle, EM_SETEVENTMASK, 0, mask or ENM_LINK);
SendMes...
To describe this issue, the best would that you would test my application with following usecase:
Application: http://ubuntuone.com/p/nF/
Open application;
Click on the ">" captioned button;
Click on same button again;
Click on the same button again.
As you can see - URL is correctly detected in first expanding, but in any further ...
Hi, I would like to have a line aligned in such way, that some first words are aligned left and some last words are aligned right, but all are in the same line:
| text 1 text2 |
| Lorem ipsum dolor sit amet |
Is that possibile? How can I do that?
...
I have a Delphi 2007 TRichEdit with several lines in it. I want to scroll the richedit vertically such that a specific line number if approximately centered in the visible/display area of the richedit. For example, I want to write the code for CenterLineInRichEdit in this example:
procedure CenterLineInRichEdit(Edit: TRichEdit; LineNu...
Hi!
I'm using riched32.dll to display and edit rich text. now I would like to draw some custom markings to the text, like for example the red underline in office word displaying wrong spelling. or text marking boxes with rounded corners or something like this.
Of course those markings should scroll properly with the text.
How can I do ...
Is the sourcecode of riched32.dll or riched20.dll available somewhere
If not - what could I do if i want to create a richedit textfield that behaves slightly different (like changing the control for the scrollbars, such that i can change the size and positions of them from outside)
thanks
...
I'm trying to count the number of times that text is changed in a given RichEdit control. I considered using events like key down, but that gets messy when you consider keys that don't change the text (like arrows, page up, etc). And how do you make sure you get all of those keys?
It seems it would be simpler to register a callback for ...