PageControl bug when contain just 2 TGroupBox !

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #35817
    Ahmadi
    Participant

    Hi

    I have a TPageControl with 2 pages.

    When i put 2 TGroupbox in a page2 of the TPageControl, and then put one TsBitBtn in farmer groupbox, the application raise error when it run and you change page from 1 to 2!

    The following form throw error when after run, switching from page1 to page2 in pagecontrol.

    Quote:

    object Form2: TForm2

    Left = 0

    Top = 0

    Caption = 'Form2'

    ClientHeight = 412

    ClientWidth = 780

    Color = clBtnFace

    Font.Charset = DEFAULT_CHARSET

    Font.Color = clWindowText

    Font.Height = -11

    Font.Name = 'Tahoma'

    Font.Style = []

    OldCreateOrder = False

    PixelsPerInch = 96

    TextHeight = 13

    object Panel3: TPanel

    Left = 0

    Top = 176

    Width = 780

    Height = 236

    Align = alBottom

    Caption = 'Panel3'

    TabOrder = 0

    object PageControl1: TPageControl

    Left = 1

    Top = 1

    Width = 778

    Height = 234

    ActivePage = TabSheet1

    Align = alClient

    TabOrder = 0

    ExplicitHeight = 349

    object TabSheet1: TTabSheet

    Caption = 'TabSheet1'

    ExplicitWidth = 617

    ExplicitHeight = 266

    end

    object TabSheet2: TTabSheet

    Caption = 'TabSheet2'

    ImageIndex = 1

    ExplicitLeft = 0

    ExplicitHeight = 265

    object GroupBox1: TGroupBox

    Left = 16

    Top = 25

    Width = 681

    Height = 105

    Caption = 'GroupBox1'

    TabOrder = 0

    end

    object GroupBox2: TGroupBox

    Left = 16

    Top = 136

    Width = 681

    Height = 105

    Caption = 'GroupBox2'

    TabOrder = 1

    object sButton1: TsButton

    Left = 72

    Top = 32

    Width = 75

    Height = 25

    Caption = 'sButton1'

    TabOrder = 0

    SkinData.SkinSection = 'BUTTON'

    end

    end

    end

    end

    end

    end

    Note:Please add a skinmanager to the above form manually with a sample skin.

    The problem only exists if you put 2 groupbox in page2 and one TsBitbtn in farmer groupbox!

    You must run program when page1 is active and select page2 in runtime.

    How can i solve the problem

    Note: I attached a simple test-case project that show the problem.

    [attachment=6395:Alpha_Control_Bug.rar]

    Im using:

    AlphaControls 8.10

    RadStudio XE3

    Windows 7 x64 SP1

    Thank you for any help.

    H.Ahmadi

    #50742
    Support
    Keymaster

    Hello and thank you for the demo!

    I have tried your app with latest version of the package and I see that the problem is solved already.

    Please try it too, 8.45 version will be released very soon.

    #50759
    Ahmadi
    Participant
    'Support' wrote:

    Hello and thank you for the demo!

    I have tried your app with latest version of the package and I see that the problem is solved already.

    Please try it too, 8.45 version will be released very soon.

    Hi

    Thank you very much,

    I'm waiting for the new version(8.45).

    Best Regards.

    H.Ahmadi

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.