Saltblsetrowflags ctablewidow row flag settings
Call saltblsetrowflags (hwndform, saltblquerycontext (hwndform), row_edited, true)
Saltblquerycontext: Get the line number of ctablewidow
Ifs help
Bok = saltblsetrowflags (hwndtbl, nrow, nflags, bset)
Sets or clears a table window row's flags.
Parameters
Hwndtbl window handle. The handle (or name) of a table window.
Nrownumber. The row number of the row whose flags you want to set or clear.
Nflags number. The row flags. You can combine any of the row _ * flags using the OR (|) operator.
Bset Boolean. Whether to set (true) or clear (false) the specified flags.
Return Value
Bok is true if the function succeeds and false if it fails.
Example
The internal function selectallrows loops through all rows in a scroll range, selecting each one. saltblqueryscroll gets the scroll range, and saltblsetrowflags selects each row by setting its row_selected flag.
Internal functions
Function: selectallrows
...
Actions
Call saltblqueryscroll (hwndtbl, nposrow, nminrow, nmaxrow)
Set nrow = nminrow
While (nrow <= nmaxrow)
Call saltblsetrowflags (hwndtbl, nrow, row_selected, true)
Set nrow = nrow + 1
See also
Saltblqueryrowflags
Saltblsetflagsanyrows
Ifs client developer
Ncontext = saltblquerycontext (hwndtbl)
Returns a table window's current context row.
Before sending a sam_fetchrow message, Centura automatically sets the context row so that assignments made while processing the message reference the correct row.
Parameters
Hwndtbl window handle. The handle (or name) of a table window.
Return Value
Ncontext is the current context row number.
No example
See also
Saltblfetchrow
Saltblsetcontext
Ifs client developer
By foreveryday007 20061122.
Http://blog.csdn.net/foreveryday007