Lazarus
Home
Help
TinyPortal
Search
Login
Register
Lazarus
»
Forum
»
Free Pascal
»
Beginners
(Moderators:
FPK
,
Tomas Hajny
) »
[Solved] TMemo get clicked line
Free Pascal
Website
Downloads
Wiki
Documentation
Bugtracker
Mailing List
Lazarus
Website
Downloads (Laz+FPC)
Packages (OPM)
FAQ
Wiki
Documentation (RTL/FCL/LCL)
Bugtracker
CCR Bugs
GIT
Mailing List
Other languages
Foundation
Website
Useful Wiki Links
Project Roadmap
Getting the Source
Screenshots
How to use the forum
Forum Rules
About donations (wiki)
Bookstore
Computer Math and Games in Pascal
(preview)
Lazarus Handbook
Search
Advanced search
Recent
Lazarus Bugfix Release 4....
by
trapanator
[
Today
at 08:18:32 am]
Interesting video
by
Weiss
[
Today
at 08:16:02 am]
XLibre, finally and fortu...
by
Fred vS
[
Today
at 06:20:26 am]
TDWEdit
by
dbannon
[
Today
at 06:08:28 am]
Conscious Artificial Inte...
by
microxa
[
Today
at 05:43:41 am]
WEBP, no DLLs
by
Tomxe
[
Today
at 04:04:37 am]
How to define a type of ...
by
Fibonacci
[
Today
at 03:22:26 am]
IndySecOpenSSL is now ava...
by
TheMouseAUS
[
Today
at 03:10:23 am]
Discipline your AI coding...
by
440bx
[
Today
at 02:44:06 am]
Version 4.8 was recently ...
by
Ten_Mile_Hike
[
Today
at 01:43:17 am]
Who can explain this ?
by
J-G
[
Today
at 01:02:01 am]
FPC Unleashed (inline var...
by
Fibonacci
[
Today
at 12:03:13 am]
[New Component] ExtTabCtr...
by
d7_2_laz
[June 10, 2026, 10:52:55 pm]
Trayslate 1.3.0 - Free tr...
by
AlexanderT
[June 10, 2026, 08:12:24 pm]
TShellListView
by
Ed78z
[June 10, 2026, 07:59:41 pm]
[SOLVED] Curious why this...
by
1HuntnMan
[June 10, 2026, 07:53:21 pm]
Toying Pascal Documenting...
by
paule32
[June 10, 2026, 05:22:32 pm]
Gitlab site history date.
by
Fred vS
[June 10, 2026, 05:07:59 pm]
Cursor changes to arrow o...
by
atlatl
[June 10, 2026, 05:02:45 pm]
Sizes and SizeInt
by
440bx
[June 10, 2026, 02:15:13 pm]
how to add a ForEach call...
by
jamie
[June 10, 2026, 12:42:04 pm]
[SOLVED] Watches panel is...
by
CM630
[June 10, 2026, 12:06:33 pm]
How to monitor changes in...
by
Martin_fr
[June 10, 2026, 11:55:18 am]
Printer Info
by
J-G
[June 10, 2026, 11:26:52 am]
Strange Behaviour at Runt...
by
andrew Bubble
[June 10, 2026, 11:19:45 am]
« previous
next »
Print
Pages: [
1
]
Author
Topic: [Solved] TMemo get clicked line (Read 2376 times)
Trenatos
Hero Member
Posts: 540
[Solved] TMemo get clicked line
«
on:
July 01, 2015, 03:26:09 pm »
I'm trying to extract which line was clicked in a TMemo, without using caret.
The TMemo is set to enabled false, as I only want to use it for displaying a "minimap" of a synedit, but make it clickable like the Sublime IDE.
«
Last Edit: July 01, 2015, 08:10:58 pm by Trenatos
»
Logged
taazz
Hero Member
Posts: 5368
Re: TMemo get clicked line (Not with caret)
«
Reply #1 on:
July 01, 2015, 07:35:17 pm »
Show some screen shots so we can udnerstant you better.In any case try to set the readonly property instead of enabled and use the caret.
Logged
Good judgement is the result of experience … Experience is the result of bad judgement.
OS : Windows 7 64 bit
Laz: Lazarus 1.4.4 FPC 2.6.4 i386-win32-win32/win64
Trenatos
Hero Member
Posts: 540
Re: TMemo get clicked line (Not with caret)
«
Reply #2 on:
July 01, 2015, 07:59:31 pm »
I did what you said, and used SynEdit.TopLine to set the scroll.
Happy share screenshots in a day or so
Logged
taazz
Hero Member
Posts: 5368
Re: TMemo get clicked line (Not with caret)
«
Reply #3 on:
July 01, 2015, 08:02:05 pm »
if you solved your problem (I can't understand from your post) then no reason to post anything else.
Logged
Good judgement is the result of experience … Experience is the result of bad judgement.
OS : Windows 7 64 bit
Laz: Lazarus 1.4.4 FPC 2.6.4 i386-win32-win32/win64
Trenatos
Hero Member
Posts: 540
Re: TMemo get clicked line (Not with caret)
«
Reply #4 on:
July 01, 2015, 08:10:40 pm »
Sorry, yes, using your solution I solved the problem.
Logged
Print
Pages: [
1
]
« previous
next »
Lazarus
»
Forum
»
Free Pascal
»
Beginners
(Moderators:
FPK
,
Tomas Hajny
) »
[Solved] TMemo get clicked line
TinyPortal
© 2005-2018