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?
RapaGui & OnDropFile
- airsoftsoftwair
- Posts: 5626
- Joined: Fri Feb 12, 2010 2:33 pm
- Location: Germany
- Contact:
Re: RapaGui & OnDropFile
That's currently not supported but it would be a nice idea for the future I guess.
- airsoftsoftwair
- Posts: 5626
- Joined: Fri Feb 12, 2010 2:33 pm
- Location: Germany
- Contact:
Re: RapaGui & OnDropFile
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