04 April 2009 | |
![]() |
|
Veteran
portfolio
claudio
-,
Chile
|
dragCallback Buggy / not Functioning
I am testing dragCallback skill of controls.
but unfortunately the targets says this is not working in Windows OS. Just wantto learn If I can get which text is dragged into my scrolllist. for example I wantto get the dragged text (middle mouse click and drag) from shelf button to my own control ? impossible ?
|
04 April 2009 | |
![]() |
|
Expert
portfolio
Andrés Ossandón
Generalist 7th Dan
Santiago,
Chile
|
It looks like it needs a drag callback as well.
Try this:
|
04 April 2009 | |
![]() |
|
Veteran
portfolio
claudio
-,
Chile
|
and problem starts here.
it works if you drag from the own items of same textScrollList.
or from any other control which have callbacks. and problem starts here. prints Testing drag callback. but never prints "Testing drop callback". try to middle mouse drag a shelf button to our textScrollList. TestDropCB never triggers. simply I wantto get the dropped text (a shelf button via middle mouse click) into textScrollList. the documents says if the source has no callback procedures it doesnt work. thus getting a text via mdidle mouse button from any shelff button to own control wont work so shelf buttons have no callbacks by default. (this is default working for a textfield control). ![]() Last edited by claudiof : 04 April 2009 at 01:10 AM. |
04 April 2009 | |
![]() |
|
Expert
portfolio
Andrés Ossandón
Generalist 7th Dan
Santiago,
Chile
|
Originally Posted by claudiof:
prints Testing drag callback.
It does execute both callbacks in my clean scene.but never prints "Testing drop callback". Other than that I have to agree with you. So it seems like you just have to add a drag callback to that shelf button of yours. BTW do you reside in Santiago? |
04 April 2009 | |
![]() |
|
Expert
|
Thread automatically closed
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
__________________
CGTalk Policy/Legalities Note that as CGTalk Members, you agree to the terms and conditions of using this website. |
Thread Closed share thread |
«
Previous Thread
|
Next Thread
»
|
|
|