注册 登录
编程论坛 PowerBuilder

问个关于currentrow问题

天空之尘 发布于 2007-03-16 13:55, 1013 次点击
currentrow具体是指什么意思,怎么使用?
4 回复
#2
wsl0002007-03-16 14:59
应该是当前行吧
#3
notbig2007-03-16 15:31
对,在某些事件里指当前焦点所在行。
#4
天空之尘2007-03-18 15:54
thanks
#5
mgc2007-03-20 16:33

哈哈,这个解释最准确!!
/////////////////////////////////
Description

Reports the number of the current row (the row with focus).

Syntax

CurrentRow ( )

Return value

Long. Returns the number of the row if it succeeds and 0 if no row is current.
What row is current The current row is not always a row displayed on the screen. For example, if the cursor is on row 7 column 2 and the user uses the scroll bar to scroll to row 50, the current row remains row 7 unless the user clicks row 50.

1