Quantcast
Channel: SCN: Message List - PowerBuilder Developer Center
Viewing all articles
Browse latest Browse all 7329

Re: how to enable dragdrop for listbox?

$
0
0

Easy ...

 

1) Use the DragDrop Event

 

2) Add code to see what was dropped ...

For example - save DDLB's TAG in the dropped objects TEXT property

 

 

CHOOSE case source.Typeof ( )

    case DropDownListBox!

        DropDownListBox    lo_dddlb

        lo_dddlb        =     Source

        THIS.tag        =    lo_dddlb.text

    case else

        MessageBox ("Ouch", "Wrong object!")

end choose

 

 

 

HTH

 

Regards .. Chris


Viewing all articles
Browse latest Browse all 7329

Trending Articles



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