1. Re Drag'n'Drop -- If at 1st U don't succeed -- Call it Version 1
- Posted by Selgor Jan 08, 2011
- 1294 views
Hello,
Selgor here
Drag n Drop is a problem in Euphoria 4 amateurs
But, rethink code and get the list right ??
Thank u all for reading the code
Maybe ... like me ...
U do not understand error explanation
Try again I shall
Cheers
Selgor
2. Re: Re Drag'n'Drop -- If at 1st U don't succeed -- Call it Version 1
- Posted by SDPringle Jan 10, 2011
- 1128 views
Often documentation might be hard to find. So much so that users do not bother reading it and just assume how things should work. However, in the case of the Win32lib wrapper it is well documented. So, Read The Manual. The drag and drop event gets called three times when you drop a file once. The manual will tell you why.
Shawn Pringle
3. Re: Re Drag'n'Drop -- If at 1st U don't succeed -- Call it Version 1
- Posted by Selgor Jan 10, 2011
- 1066 views
Hello Shawn
Is this what you are writibg about?
integer vFileCount procedure dropped( integer self, integer event, sequence parms ) if parms[1] = 0 then if length(parms[2]) = 1 then -- Opening call, the file count. setEnable(actionButton, w32False) eraseItems(TheList) vFileCount = parms[2] elsif length(parms[2]) = 0 then -- Final call. setEnable(actionButton, w32True) else -- add the file name to the list addItem( TheList, parms[2] ) end if end if end procedure setHandler(TheList, w32HDragAndDrop, routine_id("dropped"))
I read all that
I am writing about the Error messages
To me ...... they are difficult to understand
Cheers
Selgor
4. Re: Re Drag'n'Drop -- If at 1st U don't succeed -- Call it Version 1
- Posted by SDPringle Jan 10, 2011
- 1043 views
Okay. This is what I think you mean. When a newbie who doesn't read the manual writes this for the first time, he assumes that params is the filename and he get some kind of error. If the error message is hard to understand, post it here and we can talk about suggestions for alternatives.
Shawn Pringle
5. Re: Re Drag'n'Drop -- If at 1st U don't succeed -- Call it Version 1
- Posted by Selgor Jan 10, 2011
- 1061 views
Shawn
I posted about help with Drag n Drop programme
In that post I showed some of the error message
The post is
"Please some help with Drag n Drop programme nearly works.... etc"
Post is still there
Dan Moyer responded
Do you want the whole error message ?
Cheers
Selgor
6. Re: Re Drag'n'Drop -- If at 1st U don't succeed -- Call it Version 1
- Posted by Selgor Jan 10, 2011
- 1070 views
and by the way
The programme used to work with
win32lib0.57.9
Sure a lot of change has occurred since
My point is simple ....
Why won't it still work ??
Cheers
Selgor