* * *

Author Topic: Multiple synedit controls  (Read 288 times)

chucky

  • New member
  • *
  • Posts: 18
Multiple synedit controls
« on: August 16, 2017, 12:13:47 am »
Whats the best tabbed control to use to hold multiple synedit controls so the program provides tabs that a user can step through different source code files?

What does the source editor form use for its tabbing control?

Bart

  • Hero Member
  • *****
  • Posts: 2718
    • Bart en Mariska's Webstek
Re: Multiple synedit controls
« Reply #1 on: August 16, 2017, 12:25:58 am »
TPageControl?

My editor uses this.

Bart

howardpc

  • Hero Member
  • *****
  • Posts: 2298
Re: Multiple synedit controls
« Reply #2 on: August 16, 2017, 12:41:45 am »
It uses TExtendedNotebook which is derived from TPageControl.
See .../lazarus/components/lazcontrols/extendednotebook.pas

Edson

  • Hero Member
  • *****
  • Posts: 773
Re: Multiple synedit controls
« Reply #3 on: August 16, 2017, 02:40:43 am »
Or you can use your own container. I use a frame and draw the tabs to have a more elegant style.
Lazarus 1.6 - FPC 3.0.0 - x86_64-win64 on  Windows 7

 

Recent

Get Lazarus at SourceForge.net. Fast, secure and Free Open Source software downloads Open Hub project report for Lazarus