PUBLIC oform1 oform1=NEWOBJECT("form1") oform1.Show RETURN DEFINE CLASS form1 AS form Height = 442 Width = 658 DoCreate = .T. Caption = "Form1" Name = "Form1" ADD OBJECT pageframe1 AS pageframe WITH ; ErasePage = .T., ; PageCount = 2, ; ActivePage = 1, ; Top = 89, ; Left = 14, ; Width = 241, ; Height = 169, ; Name = "Pageframe1", ; Page1.FontSize = 20, ; Page1.Caption = "Page1", ; Page1.Name = "Page1", ; Page2.Caption = "Page2", ; Page2.Name = "Page2" ADD OBJECT pageframe2 AS pageframe WITH ; ErasePage = .T., ; PageCount = 2, ; Anchor = (0xF0), ; ActivePage = 1, ; Top = 94, ; Left = 324, ; Width = 200, ; Height = 169, ; TabOrientation = 2, ; Name = "Pageframe2", ; Page1.FontSize = 20, ; Page1.Caption = "Page1", ; Page1.Name = "Page1", ; Page2.Caption = "Page2", ; Page2.Name = "Page2" ADD OBJECT label1 AS label WITH ; AutoSize = .T., ; WordWrap = .T., ; Caption = "Compare the two pageframes when the tabs axis is resized:", ; Height = 17, ; Left = 12, ; Top = 20, ; Width = 328, ; ForeColor = RGB(0,128,192), ; BackColor = RGB(255,255,0), ; Name = "Label1" ADD OBJECT label2 AS label WITH ; AutoSize = .T., ; WordWrap = .T., ; Caption = "tabs sizes NOT CHANGE", ; Height = 17, ; Left = 72, ; Top = 70, ; Width = 138, ; ForeColor = RGB(0,128,192), ; BackColor = RGB(255,255,0), ; Name = "Label2" ADD OBJECT label3 AS label WITH ; AutoSize = .T., ; WordWrap = .T., ; Caption = "tabs sizes CHANGE", ; Height = 17, ; Left = 326, ; Top = 70, ; Width = 110, ; ForeColor = RGB(0,128,192), ; BackColor = RGB(255,255,0), ; Name = "Label3" ADD OBJECT shape1 AS shape WITH ; Top = 90, ; Left = 314, ; Height = 176, ; Width = 80, ; BackStyle = 0, ; BorderWidth = 2, ; Curvature = 99, ; BorderColor = RGB(255,0,0), ; Name = "Shape1" ADD OBJECT shape2 AS shape WITH ; Top = 88, ; Left = 14, ; Height = 64, ; Width = 240, ; BackStyle = 0, ; BorderWidth = 2, ; Curvature = 99, ; BorderColor = RGB(255,0,0), ; Name = "Shape2" PROCEDURE GotFocus this.Closable = .F. CHRSAW(1) FOR J=1 TO 3 FOR k=100 TO 200 thisform.Pageframe1.Height = m.k thisform.Pageframe2.Width = m.k =CHRSAW(0.01) ENDFOR NEXT this.Closable = .T. ENDPROC PROCEDURE Release NODEFAULT ENDPROC ENDDEFINEIs impossible that this is a expected behaviour.