RapaGui & OnDropFile

Discuss GUI programming with the RapaGUI plugin here
Post Reply
ilbarbax
Posts: 77
Joined: Thu Apr 01, 2010 6:41 pm

RapaGui & OnDropFile

Post by ilbarbax » Sun Nov 06, 2016 9:26 am

I created a display for an Hollywood bridge object with the intention to handle the OnDropFile event to include a picture in to the display. but I get the system error "icon can not moved to this window" (under OS4).
Does it means that RapaGui does not support OnDropFile event?

User avatar
airsoftsoftwair
Posts: 2448
Joined: Fri Feb 12, 2010 3:33 pm
Location: Germany
Contact:

Re: RapaGui & OnDropFile

Post by airsoftsoftwair » Sun Nov 06, 2016 10:09 pm

That's currently not supported but it would be a nice idea for the future I guess.

User avatar
airsoftsoftwair
Posts: 2448
Joined: Fri Feb 12, 2010 3:33 pm
Location: Germany
Contact:

Re: RapaGui & OnDropFile

Post by airsoftsoftwair » Sat Nov 12, 2016 6:46 pm

Code: Select all

- New: Listview, Treeview, and Hollywood widgets now support file dropping; to enable
  drop events for these widgets, you have to set the new "DropTarget" attribute [ISG]
  to TRUE and listen to the new "DropFile" [N] attribute; your event callback will
  then receive the file(s) dropped on the widget in a table passed in the "TriggerValue"
  message field; the position of the drop operation will be passed in the "X" and "Y"
  message fields; this position will be relative to the top-left corner of the widget

Post Reply