Hi,
In my app i am using LISTBOX from a resource file to browse a database. Under DBFCDX i can set a scope and use oBrw:bLogiclen := {|| DBF->(cmxKeyCount())} and the the listbox behaves itself when the vertical thumbnail is dragged. If under SQLRDD, as there isnt a way to find out how many records there are in a scope quickly (or is there?) the listbox display can corrupt until you press home/end or do a refresh - is there a way to repaint the listbox when the thumbnail is dragged?
My cmxKeyCount function is :
func cmxKeyCount(xOrder, cBag)
dbOrderInfo(DBOI_KEYCOUNTRAW, cBag, xOrder)
Hope the above is clear and thanks in advance
Pete