TsPageControl add new function "MarginsTabs"

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #57654
    Support
    Keymaster

      Thank you for the code.

      I think to name it as MarginsPage, because margins for tabs may be added later (I mean tab areas with glyphs and captions).

      #57666
      HeDiBo
      Participant
        'Support' wrote:

        Thank you for the code.

        I think to name it as MarginsPage, because margins for tabs may be added later (I mean tab areas with glyphs and captions).

        I wanted such feature for a long time. I have a lot of page controls. In fact the whole application is one big page control. Using page controls inside tabs adds a lot of dead waste to the borders. I would welcome this change.

        #57856
        HeDiBo
        Participant

          The PageMargins property works well.

          RafaƂ Drzewiecki proposed to call the subproperties OffsetBottom, etc.Those names are better than just Top, Bottom, etc. Because they really are offsets.

          The property PageMargins has a wrong name, in fact. If they are margins, you would expect left -4 and right -4 to decrease the margin with 4 on both sides. That doesn't happen. Because the values are really shift values i.s.o. margin values.

          So, either PageMargins defines margins, or its name has to change into PageOffsets. The latter would cover the implementation nicely.

          #57880
          Support
          Keymaster

            Names of these subproperties are changed in the v13.12

            #57905
            HeDiBo
            Participant
              'Support' wrote:

              Names of these subproperties are changed in the v13.12

              It's fine now a3.gif

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