![]() |
memo in Scrollbox nicht scrollen
Ich habe ein Memo-Feld in einer Scrollbox.
Beim Herunterscrollen soll das Memo-Feld aber genau an dieser Position stehen bleiben und eben nicht mitgescrollt werden. Gibt es eine Möglichkeit dies zu realisieren? |
Re: memo in Scrollbox nicht scrollen
Hallo,
Du musst das Memo doch nicht in der Scrollbox positionieren, sondern auf gleicher Ebene, wie die Scrollbox -> dann sollte es gehen. Hier eine Beispiel-DFM:
Delphi-Quellcode:
object Form1: TForm1
Left = 227 Top = 107 Width = 783 Height = 540 Caption = 'Form1' Color = clBtnFace Font.Charset = DEFAULT_CHARSET Font.Color = clWindowText Font.Height = -11 Font.Name = 'MS Shell Dlg 2' Font.Style = [] OldCreateOrder = False PixelsPerInch = 96 TextHeight = 13 object ScrollBox1: TScrollBox Left = 69 Top = 12 Width = 349 Height = 355 TabOrder = 0 object Panel1: TPanel Left = 90 Top = 111 Width = 185 Height = 600 Caption = 'Panel1' TabOrder = 0 end end object Memo1: TMemo Left = 105 Top = 54 Width = 185 Height = 89 Lines.Strings = ( 'Memo1') TabOrder = 1 end end |
Alle Zeitangaben in WEZ +1. Es ist jetzt 10:27 Uhr. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz