Can I move the sheet tab to the right

Posted by: levanduyet-fp on 8 September 2017, 3:04 pm EST

  • Posted 8 September 2017, 3:04 pm EST

    Hello,

    By defaut the sheet tab will be fixed on the left. Which property that I can set to move the sheet tab to the right.

    Tks,

    LVD

  • Replied 8 September 2017, 3:04 pm EST

    Hello,

    Could you please elaborate on your query further, where exactly do you want to display the tab in the tabstrip as to the right of the tabstrip there is a horizontal scrollbar. Please provide me with some screenshot depicting your requirement so that I can guide you ahead with the same.

    Thanks,

    Manpreet Kaur

  • Replied 8 September 2017, 3:04 pm EST

    levanduyet,

    The FpSpread class has a TabStripPlacement property that determines the placement of the tab strip. The property has three options: WithHorizontalScrollBar, Bottom, and Top. When TabStripPlacement = WithHorizontalScrollBar (the default), the tab strip is displayed next to and just left of the horizontal scroll bar. This is the same as Excel. When TabStripPlacement = Bottom, the tab strip is displayed below the horizontal scroll bar. When TabStripPlacement = Top, the tab strip is displayed above the column headers. The property has no option for displaying the tab strip on the left side of the control. Regardless of the TabStripPlacement setting, the tabs are displayed left to right inside the tab strip. This is the same as Excel.

    Note: The control's RightToLeft property affects how the tab strip is displayed. When RightToLeft = Yes, the tabs are displayed right to left inside the tab strip. When RightToLeft = true and TabStripPlacement = WithHoriztonalScrollBar, the tab strip will be placed next to and just right of the horiztonal scroll bar. This is the same as Excel.

  • Replied 8 September 2017, 3:04 pm EST

    Hi,

    As you see, the TabStrip is on the Left. I want to move it to the Right a bit. Something like TabStrip.Left = 10;

    Tks,

    LVD

  • Replied 8 September 2017, 3:04 pm EST

    Hello,

    The location of the tabs in the tabstrip is determined by the TabStripPlacement policy as described above, so it would not be possible to move the tabs in the tabstrip to a different location apart from the options that are specified in the  TabStripPlacement enumeration. Hope it will help you. Please let me know if you have any queries further.

    Thanks,

    Manpreet Kaur

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels