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
IDE Editor Windows, ident...
by
d7_2_laz
[
Today
at 10:04:35 pm]
Little bit...
by
ASerge
[
Today
at 09:51:32 pm]
CORE-MATH 32bits in Pasca...
by
schuler
[
Today
at 09:32:39 pm]
Using Lazarus to teach In...
by
LeP
[
Today
at 07:57:48 pm]
Lazarus forum incompatibl...
by
Thausand
[
Today
at 07:16:18 pm]
Fpcupdeluxe
by
Thaddy
[
Today
at 06:12:30 pm]
FPC 3.2.4-rc1 available
by
Thaddy
[
Today
at 06:09:54 pm]
FPC Unleashed (inline var...
by
Fibonacci
[
Today
at 03:55:47 pm]
504 Gateway Timeout
by
Martin_fr
[
Today
at 03:28:06 pm]
Problem with MariaDB and ...
by
OH1KH
[
Today
at 03:26:54 pm]
Feature announcement: Fun...
by
Thaddy
[
Today
at 01:47:33 pm]
Elite Arcade
by
nomorelogic
[
Today
at 01:16:40 pm]
IDE Coolbar
by
staratel20
[
Today
at 01:00:32 pm]
Midi to Wav Converter
by
Thaddy
[
Today
at 12:28:47 pm]
Pure Pascal ZPAQ and ZSTD
by
Tomxe
[
Today
at 11:48:23 am]
AmigaOS can't run program...
by
Trenatos
[
Today
at 11:30:22 am]
Lazarus and FreePascal on...
by
jwdietrich
[
Today
at 10:44:37 am]
Space Duel
by
Tomi
[
Today
at 09:18:22 am]
Call the Llama.cpp dynami...
by
LeP
[
Today
at 09:11:38 am]
Is there a "known good" c...
by
Thaddy
[
Today
at 08:07:46 am]
Can I get the position an...
by
CM630
[
Today
at 07:29:22 am]
Lazarus 4.6 on macOS 10.1...
by
wpostma
[
Today
at 03:30:20 am]
Forums were down, and are...
by
wpostma
[
Today
at 03:26:20 am]
Untitled raycaster game (...
by
flowCRANE
[
Today
at 01:17:56 am]
Change original package o...
by
pmralbuquerque
[April 19, 2026, 07:55:14 am]
« previous
next »
Print
Pages: [
1
]
Author
Topic: [Solved] TMemo get clicked line (Read 2369 times)
Trenatos
Hero Member
Posts: 538
[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: 538
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: 538
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