Announcement

Collapse
No announcement yet.

Use Textbox as variable

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Use Textbox as variable

    I look for a way for load a variable result into a TEXTBOX into a VB.NET plugin.
    How can i do that please ?

    Hox can i see TEXTBOX var into the skintool ?

    Thanks for all help !

  • #2
    The only text box in RR is for the OSK as far as I know - for those you have to use OSKTOVAR, OSKTEXT and similar commands.
    If you want to display some other text box, then you have the option to make a label that looks like a text box and just use on screen buttons to type/change it OR you can simply make a screen in your application and embed it in RR as any external application (using load command). Then you'll have full control of what to do with your text box which you can then use to set variables in RR if desired.
    Ride Runner RR's Myspace

    "Being happy is not about having what you want, it's about wanting what you have."
    "The best things in life are always free - but that doesn't mean money can't buy you good things."

    Comment


    • #3
      from a plugin....

      you can access in processcmd, frm.OskText()
      will return string
      -Thanks
      Mitch
      www.rush2112.net

      "Did you test it in carwings??"

      Sun, Come shine my way
      May healing waters bury all my pain
      Wind, Carry me home
      The fabric of reality is tearing apart
      The piece of me that died
      Will return To live again

      Comment


      • #4
        Better example...Used in my RRExtended PI. Get or set the first textbox text in the current screen.

        Get Text:


        txt = frm.Txt(0).Text

        Set Text:

        frm.Txt(0).Text = txt

        ** Has to be called in the ProcessCommand sub
        RideRunner...The #1 FE, PERIOD.

        Current Project: DFXVoice [v1.0 Released]
        Next in line: RRMedia v2.0

        DFX 5.1.1 Skin
        Appstore Link

        My RideRunner Plugins
        RRMedia
        RRExtended
        DFXVoice

        "There are no bugs - only undocumented features."

        Comment


        • #5
          Originally posted by Blue ZX3 View Post
          Better example...Used in my RRExtended PI. Get or set the first textbox text in the current screen.

          Get Text:


          txt = frm.Txt(0).Text

          Set Text:

          frm.Txt(0).Text = txt

          ** Has to be called in the ProcessCommand sub
          You can save the reference to the screen (frm) and use it from outside processcommand as well, it's just safer to use it in processcommand.
          Ride Runner RR's Myspace

          "Being happy is not about having what you want, it's about wanting what you have."
          "The best things in life are always free - but that doesn't mean money can't buy you good things."

          Comment


          • #6
            Thanks to all for these answers !

            Comment

            Working...
            X