0

TextWidget



I'm using two text widgets to manage captioning. I show/hide the appropriate widget for the given language. When the two widgets are on at the same time, the data to each widget is updated at the same time. However if one widget is set to hide, its data is not updated until that widget is set to show. Any comments? I'm using HD1010 V3.1.73.

2 comments

  • 0
    Avatar
    RokuLyndon


    Are you manually pushing in the strings each time you need them to change? If so, I would recommend updating to the 3.2 firmware. There was a new text mode added that deals better with manual updates of the widget. The previous widget modes assumed  you would add a bunch of strings at once, and let the widget cycle through them.

    This is what the create object would look like:
    =CreateObject("roTextWidget",r, textLineCount, textMode, { TextMode: 2, Alignment: 1 })

    The textmode: 2 is the setting that gives you a widget that you don't have to remove strings from. Any string pushed is immediately available, and this widget only holds one string at a time.
  • 0
    Avatar
    MustangAce


    I do push the strings manualy. Ver 3.2 with the object mod works perfectly.

    Thanks.
Please sign in to leave a comment.