claudiof
04-03-2009, 05:27 PM
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 ?
global proc string[] MyDropCallBack(string $dragControl, string $dropControl, string $msgs[], int $x, int $y, int $type)
{
print "hellooOOo Why This Print Doesn't Working ?.why no triggering ?";
string $myArray[]={ "an empty array" };
return $myArray;
}
window;
paneLayout;
textScrollList -numberOfRows 8 -allowMultiSelection true
-dropCallback MyDropCallBack
-append "one" -append "two" -append "three"
-append "four" -append "five" -append "six"
-append "seven" -append "eight" -append "nine"
-append "ten" -append "eleven" -append "twelve"
-append "thirteen" -append "fourteen" -append "fifteen"
showWindow;
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 ?
global proc string[] MyDropCallBack(string $dragControl, string $dropControl, string $msgs[], int $x, int $y, int $type)
{
print "hellooOOo Why This Print Doesn't Working ?.why no triggering ?";
string $myArray[]={ "an empty array" };
return $myArray;
}
window;
paneLayout;
textScrollList -numberOfRows 8 -allowMultiSelection true
-dropCallback MyDropCallBack
-append "one" -append "two" -append "three"
-append "four" -append "five" -append "six"
-append "seven" -append "eight" -append "nine"
-append "ten" -append "eleven" -append "twelve"
-append "thirteen" -append "fourteen" -append "fifteen"
showWindow;
