+ Reply to Thread
Results 1 to 2 of 2

Thread: RebGUI table

  1. #1

    RebGUI table

    Hello world,
    I'm using RebGUI, but I don't know how to update a whole table content.
    I'm writing a program that put data in a RebGUI table, but if I alter the data block of the table, the table isn't updated.
    Here an example:
    Code:
    do %rebgui.r
    display "temp" [
    	a: table options ["a" left 0.5  "b" left 0.5 ] data [ 1 2 3 4 5 6]
    	button "1" [  
    		a/data: ["one" "two" "three" "four"]
    		a/redraw
    		]
    ]
    do-events
    The redraw don't work! Or I don't understand how to update table...

  2. #2
    Administrator
    Join Date
    Jan 2004
    Posts
    388

    Max

    The redraw function works on the original series, but you are creating a new series and so redraw doesn't know about it.

    Code:
    insert clear head a/data [ "one" "two" "three" "four" ]
    a/redraw
    should work. This applies to all rebgui data series.
    Dr Graham Chiu
    Wiki: http://www.compkarori.co.nz:8090
    ph: 1-818-570-2839

+ Reply to Thread

Tags for this Thread

Posting Permissions

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