Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9245

Re: how to avoid to drop item to itself for treeview?

$
0
0

Another point of interest:

The PowerBuilder Code Examples show how you can use the dragwithin event to highlight the target treeviewitem using SetDropHighlight().

 

This way you can visualize that a drop is allowed and where it will happen.

 

Example for dragwithin event:

 

if source = thisthenreturn

 

SetDropHighlight(handle)


Viewing all articles
Browse latest Browse all 9245

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>