Ctablewidow row Flag Set/retrieve the function of the row number of ctablewidow

Source: Internet
Author: User

 

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.