SetDropHighlight
PowerScript function
Description
Highlights the specified item as the drop target.
Applies to
TreeView controls
Syntax
|
1 |
treeviewname.SetDropHighlight ( itemhandle ) |
|
Argument |
Description |
|---|---|
|
treeviewname |
The TreeView control in which you want to highlight an |
|
itemhandle |
The handle of the item you want to highlight as the target |
Return value
Integer.
Returns 1 if it succeeds and -1 if an error occurs.
Usage
Use in a drag operation to specify a drop target.
Examples
This example uses the TreeView Clicked event to set the current
TreeView item as the drop target:
|
1 2 |
handle = tv_list.FindItem(CurrentTreeItem!,0) tv_list.SetDropHighlight(handle) |
See also
Document get from Powerbuilder help
Thank you for watching.
Subscribe
Login
0 Comments
Oldest