SetDropHighlight PowerScript function
Description
Highlights the specified item as the drop target.
Controls
TreeView controls
Syntax
|
1 |
<span>treeviewname</span><span>.SetDropHighlight</span> ( <span>itemhandle</span> ) |
|
Argument |
Description |
|---|---|
|
treeviewname |
The TreeView control in which you want |
|
itemhandle |
The handle of the item you want to highlight |
Return Values
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 |
handle = tv_list.FindItem(CurrentTreeItem!,0) |
|
1 |
tv_list.<span>SetDropHighlight</span>(handle) |
See Also
Document get from Powerbuilder help
Thank you for watching.
Subscribe
Login
0 Comments
Oldest