RapaGui & OnDropFile

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

RapaGui & OnDropFile

Post by ilbarbax »

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: 5626
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: RapaGui & OnDropFile

Post by airsoftsoftwair »

That's currently not supported but it would be a nice idea for the future I guess.
User avatar
airsoftsoftwair
Posts: 5626
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: RapaGui & OnDropFile

Post by airsoftsoftwair »

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