Share this page

# sapgui_grid_double_click_current_cell

Grid Functions

Double clicks on the active cell.

    int sapgui_grid_double_click_current_cell( const char *description, const char *gridID, [args,] LAST );

description | User entered text to aid in understanding script
gridID | Object ID Strings
args | Optional Arguments
LAST | A marker indicating the end of the argument list. Not required if Optional Arguments are used.

sapgui_grid_double_click_current_cell emulates a user double-clicking on the currently selected cell.

See also sapgui_grid_click and sapgui_grid_double_click.

## Return Values

This function returns LR_PASS (0) on success or LR_FAIL (1) on failure.

## Parameterization

You can parameterize all string (char type) arguments.

## Example

The following example uses sapgui_grid_click_current_cell and sapgui_grid_double_click_current_cell to emulate a user clicking and double-clicking on the currently active cell.

    lr_save_string(
    	"/app/con[0]/ses[0]/wnd[0]/usr/cntlBCALV_GRID_DEMO_0100_CONT1/shellcont/shell",
           "GridID");

    sapgui_grid_select_cell("(0, Booking total)",
            "{GridID}",
            "0",
            "PAYMENTSUM",
            BEGIN_OPTIONAL,
                "AdditionalInfo=sapgui1026",
            END_OPTIONAL);

    sapgui_grid_click_current_cell("Click Current Cell",
        "{GridID}", LAST );

    sapgui_grid_double_click_current_cell("Double Click Current Cell",
        "{GridID}", LAST );

Tips to improve your search results... VuGen Function Reference Version 26.1 Function Reference 26.1 All View Local Help Center View Online Help Center Version: