Lazarus
Home
Help
TinyPortal
Search
Login
Register
Lazarus
»
Forum
»
Programming
»
Packages and Libraries
»
[SOLVED] TATSynEdit - Draw Line
Free Pascal
Website
Downloads
Wiki
Bugtracker
Mailing List
Lazarus
Website
Downloads (Laz+FPC)
Packages (OPM)
FAQ
Wiki
Bugtracker
CCR Bugs
IRC channel
GIT
Mailing List
Other languages
Foundation
Website
Useful Wiki Links
Project Roadmap
Getting the Source
Screenshots
How to use the forum
About donations (wiki)
Bookstore
Computer Math and Games in Pascal
(preview)
Lazarus Handbook
Search
Advanced search
Recent
What is the best free pot...
by
Alienizering
[
Today
at 06:53:59 pm]
msgrcv only succeeds if m...
by
MarkMLl
[
Today
at 06:47:45 pm]
backconnect sock proxy ? ...
by
ZainPeck
[
Today
at 05:50:54 pm]
LazReport: Error using Hi...
by
luca
[
Today
at 05:39:29 pm]
[SOLVED] TPointF Not Foun...
by
J-G
[
Today
at 04:41:43 pm]
How can i run application...
by
rvk
[
Today
at 03:42:58 pm]
Optimizing the counter co...
by
BrunoK
[
Today
at 03:39:06 pm]
LAMW - "This app has a bu...
by
Mongkey
[
Today
at 01:50:42 pm]
MOVED: TPointF Not Found ...
by
trev
[
Today
at 01:50:34 pm]
Custom Control causes QTr...
by
zeljko
[
Today
at 12:57:23 pm]
« previous
next »
Print
Pages: [
1
]
Author
Topic: [SOLVED] TATSynEdit - Draw Line (Read 1294 times)
mosquito
Full Member
Posts: 101
[SOLVED] TATSynEdit - Draw Line
«
on:
January 28, 2022, 06:53:31 pm »
How I could with TATSynEdit draw a horizontal line?
A line without any purpose of folding. Like a separator.
Thx.
«
Last Edit: January 28, 2022, 11:18:12 pm by mosquito
»
Logged
AlexTP
Hero Member
Posts: 1765
Re: TATSynEdit - Draw Line
«
Reply #1 on:
January 28, 2022, 07:09:36 pm »
Use property Strings.LinesSeparator[].
Code: Pascal
[Select]
[+]
[-]
uses
atstrings
;
procedure
TForm1
.
FormCreate
(
Sender
:
TObject
)
;
begin
atsynedit1
.
LoadFromFile
(
'/home/user/new.css'
)
;
atsynedit1
.
Strings
.
LinesSeparator
[
2
]
:
=
cLineSepBottom
;
ATSynEdit1
.
Update
;
Logged
CudaText editor
-
ATSynEdit
-
More from me
mosquito
Full Member
Posts: 101
Re: TATSynEdit - Draw Line
«
Reply #2 on:
January 28, 2022, 11:15:18 pm »
Perfect, easy, thx !!
Logged
Print
Pages: [
1
]
« previous
next »
Lazarus
»
Forum
»
Programming
»
Packages and Libraries
»
[SOLVED] TATSynEdit - Draw Line
TinyPortal
© 2005-2018