Einzelnen Beitrag anzeigen

thomas2009
(Gast)

n/a Beiträge
 
#4

AW: Den Panel mit Pfeil-Tasten bewegen

  Alt 19. Apr 2011, 21:00
Ja sicher, wenn man den Code in einem ganzen leeren Projekt legt

Wenn Du aber RadioGroup auf Form danach legst dann funktioniert es nicht mehr :
Nehme diesen Code als Test :
Code:
object Form1: TForm1
  Left = 192
  Top = 114
  Width = 524
  Height = 365
  Caption = 'Form1'
  Color = clBtnFace
  Font.Charset = DEFAULT_CHARSET
  Font.Color = clWindowText
  Font.Height = -11
  Font.Name = 'MS Sans Serif'
  Font.Style = []
  KeyPreview = True
  OldCreateOrder = False
  OnKeyDown = FormKeyDown
  PixelsPerInch = 96
  TextHeight = 13
  object Panel1: TPanel
    Left = 24
    Top = 24
    Width = 185
    Height = 81
    Caption = 'Panel1'
    TabOrder = 0
  end
  object RadioGroup1: TRadioGroup
    Left = 227
    Top = 16
    Width = 246
    Height = 206
    BiDiMode = bdLeftToRight
    Caption = 'RadioGroup1'
    Font.Charset = ANSI_CHARSET
    Font.Color = clWindowText
    Font.Height = -13
    Font.Name = 'Arial'
    Font.Style = []
    ItemIndex = 0
    Items.Strings = (
      '1'
      '2'
      '3'
      '4')
    ParentBiDiMode = False
    ParentFont = False
    TabOrder = 1
  end
end

Geändert von thomas2009 (19. Apr 2011 um 21:19 Uhr)
  Mit Zitat antworten Zitat