Page 1 of 1

RapaGui & OnDropFile

Posted: Sun Nov 06, 2016 8:26 am
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?

Re: RapaGui & OnDropFile

Posted: Sun Nov 06, 2016 9:09 pm
by airsoftsoftwair
That's currently not supported but it would be a nice idea for the future I guess.

Re: RapaGui & OnDropFile

Posted: Sat Nov 12, 2016 5:46 pm
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