Graphics

 View Only
  • 1.  Counting characters in a tab field

    Posted 07-31-2014 02:36
    How would you script counting the amount of characters in a tab text field? If a text field reaches a certain amount of characters, I want that text field to be positioned to specific XY coordinates. Any ideas?


  • 2.  RE: Counting characters in a tab field

    Posted 07-31-2014 02:45
    You'd put a script in OnSetText that does something like this:



    if len(Text) > 10 then

    self.PosX = 300

    self.PosY = 500

    end if



    If you have version 5.5 or above you could probably do this in Visual Logic without needing to write any code.

    #XPression


  • 3.  RE: Counting characters in a tab field

    Posted 07-31-2014 13:41
    Perfect! Thank very much Brian, this solved my problem.

    #XPression