Einzelnen Beitrag anzeigen

Mario

Registriert seit: 7. Apr 2003
567 Beiträge
 
Delphi 2006 Enterprise
 
#2

Re: memo in Scrollbox nicht scrollen

  Alt 22. Sep 2003, 14:00
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
Schöne Grüße,
Mario Noack
  Mit Zitat antworten Zitat