TEXTBOX-question: how to enforce refreshing? (1 Viewer)

waeberd

Portal Pro
August 16, 2004
314
1
Fribourg (CH)
and another small one:

* what do I need to do to modify the displayed content of a "textboxscollup" control?

I do the following:

GUIControl.SetControlLabel(GetID, (int)Controls.CONTROL_TEXTAREA,"some long text that needs scrolling");

and this runs fine, but what if I would like to replace the content?

Guess I need to force some refresh / repaint on the control, but didn't find out how!

Any hints are welcome, thanks!

Daniel
 

Frodo

Retired Team Member
  • Premium Supporter
  • April 22, 2004
    1,518
    121
    51
    The Netherlands
    Home Country
    Netherlands Netherlands
    just call it again
    so
    GUIControl.SetControlLabel(GetID, (int)Controls.CONTROL_TEXTAREA,"some new text");


    Frodo
     

    waeberd

    Portal Pro
    August 16, 2004
    314
    1
    Fribourg (CH)
    hmm, then it's another problem, because that's what I do!

    (problem is in myPrograms: if you re-display the FileInfo-detail screen of one item (same item twice), everything's displayed except the textarea. Re-calling the details screen with a different item runs fine...).

    Will have another look! Thanks!
     

    Users who are viewing this thread

    Top Bottom