Results 1 to 6 of 6

Thread: Use Textbox as variable

  1. #1
    Raw Wave pierrotm777's Avatar
    Join Date
    May 2008
    Location
    Bordeaux, France
    Posts
    2,838

    Red face 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. #2
    RoadRunner Mastermind
    Auto Apps:loading...
    guino's Avatar
    Join Date
    Nov 2004
    Location
    Toronto, Canada
    Posts
    9,818
    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."

  3. #3
    MySQL Error
    Auto Apps:loading...

    Join Date
    Oct 2004
    Posts
    5,244
    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

  4. #4
    The Curator
    Auto Apps:loading...
    Blue ZX3's Avatar
    Join Date
    Aug 2004
    Location
    Chicago area,IL
    Posts
    5,079
    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."

  5. #5
    RoadRunner Mastermind
    Auto Apps:loading...
    guino's Avatar
    Join Date
    Nov 2004
    Location
    Toronto, Canada
    Posts
    9,818
    Quote 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."

  6. #6
    Raw Wave pierrotm777's Avatar
    Join Date
    May 2008
    Location
    Bordeaux, France
    Posts
    2,838
    Thanks to all for these answers !

Similar Threads

  1. Indicator and variable
    By pierrotm777 in forum Road Runner
    Replies: 2
    Last Post: 07-09-2012, 03:20 AM
  2. Replies: 0
    Last Post: 09-10-2010, 03:19 AM
  3. Replies: 27
    Last Post: 01-19-2008, 07:57 AM
  4. Replies: 2
    Last Post: 07-24-2007, 08:26 PM
  5. Variable help please!
    By Sweet05 in forum Road Runner
    Replies: 22
    Last Post: 06-07-2006, 02:27 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •