-
May 17th, 2011, 03:08 #1
Quick question about Genericcontrol
Can it accept an onDrop?
- Trying to find a community Ruleset, Extension or Information on how to complete a process? Try FGRepository.
- PM Myself if you have new or updated community Rulesets, Extensions or Information that you'd like added to FGRepository.
-
May 17th, 2011, 03:26 #2
Better question. Already figured the first one out.
Why, when i send a onDrop a dragdata object by dragging from somewhere else, does it give the error: attempt to index local 'draginfo' (a nil value)
I know it has data in it. I confirm this in the onDrag function that builds the data for for the draginfo object in a onDrag function. But for some reason, the onDrop does not recognize it.
Any ideas?- Trying to find a community Ruleset, Extension or Information on how to complete a process? Try FGRepository.
- PM Myself if you have new or updated community Rulesets, Extensions or Information that you'd like added to FGRepository.
-
May 17th, 2011, 03:36 #3
Correction to the Refdoc. On the windowcontrol, the details on the onDrop() says that it needs button, x, y, and dragdata. However this is incorrect. It takes x, y, and dragdata. ie onDrop(x, y, draginfo). If you add button in there, draginfo does not work.
https://www.fantasygrounds.com/refdo...rol.xcp#onDrop- Trying to find a community Ruleset, Extension or Information on how to complete a process? Try FGRepository.
- PM Myself if you have new or updated community Rulesets, Extensions or Information that you'd like added to FGRepository.
-
May 17th, 2011, 07:18 #4
Supreme Deity
- Join Date
- Mar 2007
- Posts
- 20,559
Got it.
Thanks,
JPG
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks