Lazarus
Home
Help
TinyPortal
Search
Login
Register
Lazarus
»
Forum
»
Programming
»
Packages and Libraries
»
SynEdit
»
How to invoke SyncroEdit from code
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
Renamed a TSQLQuery compo...
by
Thaddy
[
Today
at 10:54:18 pm]
Little bit...
by
Thaddy
[
Today
at 10:08:55 pm]
Untitled raycaster game (...
by
hukka
[
Today
at 09:29:05 pm]
FPC 3.2.4-rc1 available
by
marcov
[
Today
at 08:08:03 pm]
Error: Compilation raised...
by
cdbc
[
Today
at 07:02:50 pm]
IDE Coolbar
by
staratel20
[
Today
at 07:02:23 pm]
Building units fails afte...
by
NormanDunbar
[
Today
at 06:39:32 pm]
I hope FreePascal can sup...
by
marcov
[
Today
at 06:03:54 pm]
FPC Unleashed (inline var...
by
ccrause
[
Today
at 04:10:31 pm]
Elite Arcade
by
Guva
[
Today
at 03:41:28 pm]
[SOLVED] Cannot build Uni...
by
Thausand
[
Today
at 02:18:34 pm]
default pin settings, atm...
by
ccrause
[
Today
at 11:45:37 am]
TChart how setup nicestep...
by
eldonfsr
[
Today
at 05:18:14 am]
AI assisted translation o...
by
schuler
[
Today
at 03:07:59 am]
Can I get the position an...
by
wp
[
Today
at 12:23:04 am]
Translate .lfm file in a ...
by
wp
[
Today
at 12:07:11 am]
Playing video without to ...
by
n7800
[April 17, 2026, 11:51:39 pm]
Delimited text - how find...
by
n7800
[April 17, 2026, 11:28:25 pm]
overloading issues fpc3.2...
by
Martin_fr
[April 17, 2026, 10:21:07 pm]
Ann: Deinline: a de-inlin...
by
LeP
[April 17, 2026, 09:58:08 pm]
Seeking advice on setting...
by
schuler
[April 17, 2026, 03:36:28 pm]
Ann: DeCoperators
by
DomingoGP
[April 17, 2026, 03:23:39 pm]
TLazSerial : serial port ...
by
CM630
[April 17, 2026, 09:50:34 am]
[Solved] Help needed comp...
by
landolfi
[April 17, 2026, 02:45:10 am]
DataPort or Synpase stat...
by
eldonfsr
[April 16, 2026, 11:32:18 pm]
« previous
next »
Print
Pages: [
1
]
Author
Topic: How to invoke SyncroEdit from code (Read 2683 times)
Pascal
Hero Member
Posts: 932
How to invoke SyncroEdit from code
«
on:
September 23, 2015, 12:38:01 pm »
Hello,
how can i invoke SyncroEdit from code?
For example in an TMenuItem.OnClick event.
Regards
Pascal
Logged
laz trunk x64 - fpc trunk i386 (cross x64) - Windows 10 Pro x64 (21H2)
Martin_fr
Administrator
Hero Member
Posts: 12302
Debugger - SynEdit - and more
Re: How to invoke SyncroEdit from code
«
Reply #1 on:
September 23, 2015, 08:57:51 pm »
look at ide/sourceSynEditor to see HOW to add it to synedit.
then check the key and mouse command handlers in the syncro unit
Code:
[Select]
ProcessSynCommand
send the command that you want to be executed.
You can also send it to the synedits command handler function
Logged
Ide Tools, Code completion and more
/
IDE cool features
/
Debugger Status
Pascal
Hero Member
Posts: 932
Re: How to invoke SyncroEdit from code
«
Reply #2 on:
September 23, 2015, 10:52:00 pm »
Okay, thanks.
I had to subclass as ProcessSynCommand is protected, but works. I implemented an Invoke method to start SyncroEdit mode.
Regards
Pascal
Logged
laz trunk x64 - fpc trunk i386 (cross x64) - Windows 10 Pro x64 (21H2)
Print
Pages: [
1
]
« previous
next »
Lazarus
»
Forum
»
Programming
»
Packages and Libraries
»
SynEdit
»
How to invoke SyncroEdit from code
TinyPortal
© 2005-2018