Salesforce

DragSetCrsr (Magic xpa 4.x)

« Go Back

Information

 
Created BySalesforce Service User
Approval Process StatusPublished
Objective
Description

DragSetCrsr (Magic xpa 4.x)

Determines whether the cursor file is defined as Copy mode or as None mode.

Syntax:

DragSetCrsr(mode, cur file)

Parameters:

mode – A number that represents the cursor mode:

1 – The cursor is set for the Copy mode. The Copy mode image appears when a dragged data value can be dropped on a form, control, or external application.

2 – The cursor is set for the None mode. The None mode image appears when a dragged data value cannot be dropped on a form, control, or external application.

cur file – The cursor file name and file path (*.cur).

Returns:

True when the cursor file is located and loaded successfully.

Exceptions:

This function is not supported in Web Client tasks.

Note:

If the cursor mode number is not supported, the mode will be considered Copy mode.

In Rich Client, the cursor file is from the server. Rich Client support – Since version: 2.0

For Offline tasks, the client will search for the server image in the client cache. If the file is not found on the cache, the function will be ignored and no error will be seen. You should either run the function in a non-Offline program first or copy the cursor file to the client using the ServerFileToClient function. Since version: 2.4

See also:

The Online and Rich Client Samples projects (program HG39 and RHG39)

Reference
Attachment 
Attachment