How can I update a textbox in a slide object in the middle of a loop in E-Prime?
July 12, 2009 4:34 PM Subscribe
Computer Coding: I'm trying to write an experiment in E-Prime that uses a Visual Analog Scale to allow subjects to bid on items. Basically, this means they move a slider with their mouse over a bar, and the position on the bar represents how much they are willing to bid. The thing is, they need to know what value the slider currently represents before they can actually bid, and I'm having problems getting the text to update with the cursor position. Now, if any of you out there are E-Prime gurus I could really use your help for this bit. I need to figure out how to update a textbox in a 'slide' object in the middle of a loop.
I've also posted this question on the E-Prime forum and was basically met with crickets. I'm a decent (not great at all) programmer in some other languages so I've been picking this stuff up pretty fast, but I'm under a pretty tight deadline right now.
There's an example of the code available for download on the forum post, but I think you have to sign up to get it. If you use E-Prime and aren't on the forum, feel free to MeMail me and I'll send you a copy of the code.
I've also posted this question on the E-Prime forum and was basically met with crickets. I'm a decent (not great at all) programmer in some other languages so I've been picking this stuff up pretty fast, but I'm under a pretty tight deadline right now.
There's an example of the code available for download on the forum post, but I think you have to sign up to get it. If you use E-Prime and aren't on the forum, feel free to MeMail me and I'll send you a copy of the code.
Response by poster: I ended up copying the bit in the initialization part of the slide object that referenced the textbox I wanted and it seems to work.
"Set VASSlide_SlideText = CSlideText(VASSlide.States.Item("Default").Objects(1))
VASSlide_SlideText.Text = "$" &_
c.GetAttrib("Rating")"
Thanks for the help everyone!
posted by scrutiny at 6:59 AM on July 13, 2009
"Set VASSlide_SlideText = CSlideText(VASSlide.States.Item("Default").Objects(1))
VASSlide_SlideText.Text = "$" &_
c.GetAttrib("Rating")"
Thanks for the help everyone!
posted by scrutiny at 6:59 AM on July 13, 2009
« Older Quiero un diccionario de EspaƱol en mi ... que is... | Footwear tips for hiking Mt. Whitney Newer »
This thread is closed to new comments.
Sorry, I'd be more helpful, but I don't seem to have access to any of the manuals any more, so I can't be more specific.
posted by Kikujiro's Summer at 5:16 AM on July 13, 2009