Button Caption from Variable possible?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • DML
    Forum Member
    • Aug 2002
    • 6

    Button Caption from Variable possible?

    Is it possible to use a variable as the caption of a button?

    Thanks
  • Lorne
    Indigo Rose Staff Member
    • Feb 2001
    • 2729

    #2
    Re: Button Caption from Variable possible?

    Yes, it should be. Just put the variable in where you would put the caption text.

    Note that if the text in the variable changes, the caption will only be updated when the Image Object is refreshed. For more info, see "Refreshing Objects" in the help file.
    --[[ Indigo Rose Software Developer ]]

    Comment

    • DML
      Forum Member
      • Aug 2002
      • 6

      #3
      Re: Button Caption from Variable possible?

      Tried this, it didn't work.
      All I see is the variable name.
      If I use the variable as text on the form it works fine.

      Is this a bug in 4.0?

      Thanks

      Comment

      • Lorne
        Indigo Rose Staff Member
        • Feb 2001
        • 2729

        #4
        Re: Button Caption from Variable possible?

        Your right, it's a bug.

        Good news, though: it has already been fixed for the next version.
        --[[ Indigo Rose Software Developer ]]

        Comment

        • DML
          Forum Member
          • Aug 2002
          • 6

          #5
          Re: Button Caption from Variable possible?

          Thanks,
          At least I know I wasn't doing something stupid.

          Comment

          Working...
          X