CGDevTools Forum

Welcome to the Official CGDevTools Support Community Forums.

Region center

by etwoss » 27 Mar 2015 12:22

Hi

i think its a IW problem but again their newsgroup is not reachable so i can try here :-)

I have a TFrame on the bottom of every form
This frame has a TIWCGJQRegion aligned client
In this region there is an other region with no alignment
The idea is that it will center itself

Now the problem:

This happens on only one form (center) all other forms it does react on sizing but never centers correctly.
What can cause this to happen?

Image1 is the correct one image 2 as all other forms in my app
The part that should center is the part at the bottom which starts with Screen INFOmatch

DFM:

Code: Select all
object FrameFooter: TFrameFooter
  Left = 0
  Top = 0
  Width = 1248
  Height = 27
  HorzScrollBar.Visible = False
  VertScrollBar.Visible = False
  TabOrder = 0
  object IWFrameRegion: TIWCGJQRegion
    Left = 0
    Top = 0
    Width = 1248
    Height = 27
    Version = '1.0'
    Align = alClient
    ParentShowHint = False
    ShowHint = False
    OnCreate = IWFrameRegionCreate
    DesignSize = (
      1248
      27)
    object RegionFooter: TIWCGJQRegion
      Left = 197
      Top = 3
      Width = 512
      Height = 20
      TabOrder = 1
      Version = '1.0'
      Anchors = []
      BorderOptions.NumericWidth = 1
      ParentShowHint = False
      ShowHint = False
      DesignSize = (
        512
        20)
      object lnkFeedback: TIWLink
        Left = 306
        Top = 1
        Width = 104
        Height = 17
        Alignment = taLeftJustify
        Color = clNone
        Font.Color = clNone
        Font.Size = 8
        Font.Style = [fsUnderline]
        DoSubmitValidation = False
        FriendlyName = 'lnkFeedback'
        OnClick = lnkFeedbackClick
        TabOrder = 0
        RawText = False
        Caption = 'Send Feedback'
      end
      object IWLinkPrivacyPolicy: TIWLink
        Left = 203
        Top = 1
        Width = 85
        Height = 17
        Alignment = taLeftJustify
        Color = clNone
        Font.Color = clNone
        Font.Size = 8
        Font.Style = [fsUnderline]
        DoSubmitValidation = False
        FriendlyName = 'lnkPrivacyPolicy'
        OnClick = IWLinkPrivacyPolicyClick
        TabOrder = 2
        RawText = False
        Caption = 'Privacy Policy'
      end
      object IWLinkRecalculateView: TIWLink
        Left = 411
        Top = 1
        Width = 107
        Height = 17
        Hint =
          'This will recalculate the current view. Caution: this may take s' +
          'everal minutes to complete.'
        Visible = False
        Alignment = taLeftJustify
        Color = clNone
        Font.Color = clNone
        Font.Size = 8
        Font.Style = [fsUnderline]
        DoSubmitValidation = False
        FriendlyName = 'lnkFeedback'
        OnClick = IWLinkRecalculateViewClick
        TabOrder = 4
        RawText = False
        Caption = 'Recalculate View'
      end
      object lblCopyright: TIWCGJQLabelEx
        Left = 57
        Top = 2
        Width = 112
        Height = 21
        TabOrder = 6
        Font.Enabled = True
        Font.Size = 8
        Version = '1.0'
        ParentShowHint = False
        ShowHint = False
        TextEx.Strings = (
          '&copy; Screen <FONT color="#FF0000">INFO</FONT>match')
        AutoSize = True
        NoWrap = True
      end
      object sepUserSection: TIWCGJQLabelEx
        Left = 190
        Top = 1
        Width = 7
        Height = 21
        Cursor = crDefault
        TabOrder = 3
        Font.Color = clWebLIGHTSLATEGRAY
        Font.Enabled = True
        Version = '1.0'
        Anchors = [akTop, akRight]
        ParentShowHint = False
        ShowHint = False
        Text = '|'
        AutoSize = True
        NoWrap = True
      end
      object sepUserSection3: TIWCGJQLabelEx
        Left = 291
        Top = 1
        Width = 7
        Height = 21
        Cursor = crDefault
        TabOrder = 5
        Font.Color = clWebLIGHTSLATEGRAY
        Font.Enabled = True
        Version = '1.0'
        Anchors = [akTop, akRight]
        ParentShowHint = False
        ShowHint = False
        Text = '|'
        AutoSize = True
        NoWrap = True
      end
      object sepUserSectionRecalcview: TIWCGJQLabelEx
        Left = 398
        Top = 1
        Width = 7
        Height = 21
        Cursor = crDefault
        Visible = False
        TabOrder = 7
        Font.Color = clWebLIGHTSLATEGRAY
        Font.Enabled = True
        Version = '1.0'
        Anchors = [akTop, akRight]
        ParentShowHint = False
        ShowHint = False
        Text = '|'
        AutoSize = True
        NoWrap = True
      end
    end
    object RegionCache: TIWCGJQRegion
      Left = 1008
      Top = 0
      Width = 232
      Height = 25
      TabOrder = 8
      Version = '1.0'
      Anchors = [akRight]
      ParentShowHint = False
      ShowHint = False
      object lblCacheTimestamp: TIWCGJQLabelEx
        Left = 0
        Top = 3
        Width = 232
        Height = 21
        TabOrder = 9
        Font.Color = clWebSILVER
        Font.Enabled = True
        Font.Size = 8
        Version = '1.0'
        ParentShowHint = False
        ShowHint = False
        TextEx.Strings = (
          'Parts of this page are cached.')
        TextHorzAlign = jqlethaRight
        NoWrap = True
      end
    end
  end
end



Eric
You do not have the required permissions to view the files attached to this post.
etwoss
 
Posts: 1205
Joined: 06 Feb 2014 08:58

by EitanArbel » 03 Apr 2015 16:13

have you tried ? :
Align:=alNone;
Anchors:=[akTop]
EitanArbel
 
Posts: 115
Joined: 16 Jul 2013 22:27


Return to JQRegion

Who is online

Users browsing this forum: No registered users and 1 guest

Contact Us.