From 3e0f8254051a650c09c5568e67a5477d255a90a8 Mon Sep 17 00:00:00 2001 From: sekelsenmat Date: Tue, 8 Nov 2011 07:56:32 +0000 Subject: [PATCH] custom drawn tests: Improves the trackbar tests git-svn-id: trunk@33407 - --- test/customdrawn/mainform.lfm | 16 ++++++++++++---- test/customdrawn/mainform.pas | 1 + 2 files changed, 13 insertions(+), 4 deletions(-) diff --git a/test/customdrawn/mainform.lfm b/test/customdrawn/mainform.lfm index 827476d9ce..aa13188062 100644 --- a/test/customdrawn/mainform.lfm +++ b/test/customdrawn/mainform.lfm @@ -50,7 +50,7 @@ object Form1: TForm1 Height = 240 Top = 40 Width = 439 - PageIndex = 4 + PageIndex = 14 TabOrder = 2 TabStop = True object pageMenu: TPage @@ -312,7 +312,7 @@ object Form1: TForm1 object pageTrackBars: TPage object TrackBar1: TTrackBar Left = 7 - Height = 25 + Height = 33 Top = 16 Width = 100 Position = 0 @@ -321,13 +321,21 @@ object Form1: TForm1 end object CDTrackBar1: TCDTrackBar Left = 151 - Height = 25 - Top = 16 + Height = 33 + Top = 64 Width = 100 Color = clBtnFace DrawStyle = dsExtra1 Position = 0 end + object CDTrackBar2: TCDTrackBar + Left = 151 + Height = 33 + Top = 16 + Width = 100 + DrawStyle = dsCommon + Position = 0 + end end object Page8: TPage end diff --git a/test/customdrawn/mainform.pas b/test/customdrawn/mainform.pas index 87b7ea4704..9028271ddf 100644 --- a/test/customdrawn/mainform.pas +++ b/test/customdrawn/mainform.pas @@ -26,6 +26,7 @@ type CDEdit2: TCDEdit; CDRadioButton1: TCDRadioButton; CDStaticText1: TCDStaticText; + CDTrackBar2: TCDTrackBar; editWinXP: TCDEdit; CDGroupBox1: TCDGroupBox; CDGroupBox2: TCDGroupBox;