|
Post by tenochtitlanuk on Feb 23, 2019 16:20:37 GMT -5
Will lsn files be supported?
|
|
|
Post by Carl Gundel on Feb 23, 2019 16:23:07 GMT -5
Sure thing.
|
|
|
Post by knoware on Feb 23, 2019 16:27:40 GMT -5
Grid seems to work with this simple test
c = 10 ' number of columns r = 2 ' number of rows dim cn$(c) dim cw(c) dim a$(c, r) grid #w.grid, a$(), [clicked], 10, 10, 600, 300 'create a grid widget
' ---- fill array ------ for x = 0 to c cn$(x) = "col_";str$(x) cw(x) = 50 + 2 * x for y = 0 to r a$(x,y) = "c-"+str$(x)+" r-"+str$(y) next y next x open "Grid Test" for window as #w ' open the grid #w.grid columnnames(cn$(0),cn$(1),cn$(2),cn$(3),cn$(4),cn$(5),cn$(6),cn$(7),cn$(8),cn$(9),cn$(10)) 'label the colums #w.grid columnwidths(cw(0),cw(1),cw(2),cw(3),cw(4),cw(5),cw(6),cw(7)) 'set sizes for columns #w.grid rownames("Morning","Afternoon","Evening") 'label the rows #w.grid rowlabelwidth(60) 'set sizes for rows #w.grid selectxy(2, 2) 'cause col 3, row 3 to be selected
print #w.grid value$() 'print contents of selected cell #w.grid setvalue("BASIC") 'change contents of selected cell print #w.grid value$() 'print new contents of cell print #w.grid debug$() 'print debug info: widget type
wait [clicked] print "clicked: "; #w.grid cellxy$() 'column,row clicked print "cell contents: ";#w.grid value$() 'contents of cell clicked wait
|
|