thanks i tried that option, i even tried using synedit, but the code is a bit complex in some files that it gave me a headache, more than help.
it's a great component in itself, but to change it or extract part of its code, well, that';s another story. to make it short, tried it, didn't work.

case Message.Msg of
WM_VSCROLL:
// For scrolling via the scroll bar
gutter.Dispatch(Message);
WM_MOUSEMOVE:
// For highlighting text
// Only if Left button is down
if ( (GetAsyncKeyState(VK_LBUTTON) and $8000)<>0 ) then
SyncVScroll;
WM_TIMER:
// For scrolling using the mouse wheel - this uses the TIMER event
SyncVScroll;
WM_KEYDOWN:
// For scrolling using the cursor movement keys
case Message.WParam of
VK_DOWN,VK_UP,
VK_PRIOR,VK_NEXT:
SyncVScroll;
VK_HOME,VK_END:
// Only if CTRL is down
if ( (GetAsyncKeyState(VK_CONTROL) and $8000)<>0 ) then
SyncVScroll;
end;
end;
end;

Ferruccio68:
ok, what it does is to add another richedit to the side? and use it as a gutter?
i tried a solution similar to this but it's a pain in the... to synchonize both things, plus it doesn't look good. there is that line in between the two richedits.... to make it short, tried that before.
the only reason i am asking here is because i tried a lot of possible solutions and so far nothing, i was hopping that someone might give me an answer, thanks so much anyway.

LRHGuy:

i don;t know what richedit are you using, or maybe you are just using a memo. in any case it doesn't work _at all_ with neither delphi 6 nor delphi 7 versions and the richedits that come with them. thanks anyways.

Creating an auto free TStringList
The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list.
In such cases, you have to…

Hello everybody
This Article will show you how to validate number with TEdit control,
What's the TEdit control?
TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text.
Usua…

Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…

How to fix incompatible JVM issue while installing Eclipse
While installing Eclipse in windows, got one error like above and unable to proceed with the installation.
This video describes how to successfully install Eclipse.
How to solve incompa…