RapaGui & OnDropFile

Discuss GUI programming with the RapaGUI plugin here

RapaGui & OnDropFile

Postby 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?
ilbarbax
 
Posts: 77
Joined: Thu Apr 01, 2010 6:41 pm

Re: RapaGui & OnDropFile

Postby 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: 2098
Joined: Fri Feb 12, 2010 3:33 pm
Location: Germany

Re: RapaGui & OnDropFile

Postby 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
User avatar
airsoftsoftwair
 
Posts: 2098
Joined: Fri Feb 12, 2010 3:33 pm
Location: Germany


Return to RapaGUI

Who is online

Users browsing this forum: No registered users and 2 guests