Forums

Find answers, ask questions, and connect with our
community all around the world.

Home Forum Omnis General Forum Use of Tab Strip

  • Use of Tab Strip

    Posted by David Harland on October 29, 2019 at 11:28 am

    I have created a Tab Strip with 26 Tabs, labeled A – Z. I am trying to create a method whereby I can click on a Tab and read the Tab Number and/or the character contained within the Tab.
    The only code I can find in the on-line documentation is:
    On evTabSelected
    Do $cinst.$objs.pagepane.$currentpage.$assign(pLineNumber)
    But I can not get it to work – any suggestions please.

    David Harland replied 4 years, 4 months ago 2 Members · 2 Replies
  • 2 Replies
  • asmith

    Administrator
    October 29, 2019 at 11:33 am

    David
    The evTabSelected event needs to be enabled in the $events property of the Tab control.

  • David Harland

    Member
    October 29, 2019 at 11:42 am

    Thanks for your comments, I have sorted my problem – I was making too complicated!

Log in to reply.