>Use yourtable >DEFINE WINDOW xx FROM 10,10 SIZE 1,1 NAME xx >xx.WIDTH=500 >xx.HEIGHT=500 >BROWSE IN WINDOW xx NAME yy SAVE NOWAITActually, with Browse Window (without IN) you'd have the width and height of the grid same as the window's without having to specifically set them. It behaves as if the grid is maximized in the window.
>yy.setall('DynamicBackColor', 'IIF(Mod(Recno(),2)=0,Rgb(255,255,255),Rgb(128,128,128))') && one example >yy.HIGHLIGHTBACKCOLOR=0x00ff00 && another example >yy.HIGHLIGHTSTYLE= 1 && another example >yy.WIDTH=xx.WIDTH >yy.HEIGHT=xx.HEIGHT >*yy.AUTOFIT() >ACTIVATE WINDOW xx >BROWSE LAST >RELEASE WINDOWS xx