1. selecting
integer dwcontrol.SelectRow ( long row, boolean select )
row = A value identifying the row you want to select or deselect. Specify 0 to select or deselect all rows.
select = A boolean value that determines whether the row is selected or not selected:·
TRUE = Select the row(s) so that they are highlighted.·
FALSE = Deselect the row(s) so that they are not highlighted.
example
dw_employee.SelectRow(15, TRUE) // akan menyorot baris ke 15
dw_employee.SelectRow(20, TRUE) // akan menyorot baris ke 20
dw_employee.SelectRow(0, FALSE) // akan mereset semua baris
2. check selection
long dwcontrol.GetSelectedRow ( long row )
row = A value identifying the location of the row after which you want to search for the next selected row. Specify 0 to begin searching at the first row.
Return value
Returns the number of the first row that is selected after row in dwcontrol. Returns 0 if no row is selected after the specified row.
If any argument value is NULL, in PowerBuilder and _javascript_ the method returns NULL.
example
ll_row = dw_employee.GetSelectedRow(0) //ll_row = 15
|
> |
|
--
Best regards,
sandy mailto:[EMAIL PROTECTED]
__._,_.___-----------------------------------------------
IndoPB - Indonesia PB User Group
An Indonesian PowerBuilder User Group's Event
2nd PowerBuilder Update
Rumah Sakit Jantung Harapan Kita
26/27 August 2006
To Register :
http://groups.yahoo.com/group/indopb/database?method=addRecord&tbl=4
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe
__,_._,___
