Content Preview: rss
1201 days ago
1240 days ago
global proc tgDragWindow() { if(`window -q -exists "tgDragWindow"`) deleteUI "tgDragWindow"; window "tgDragWindow"; columnLayout; textScrollList -allowAutomaticSelection 1 -dgc ("nameOfAppend") -numberOfRows 2 -append "drag1" -append "drag2" -sc ("print \"aaa\""); textScrollList -allowAutomaticSelection 1 -dpc ("addItem") -numberOfRows 10 -append ""; showWindow "tgDragWindow"; } global proc string[] nameOfAppend(string $dragControl,int $dragPositionX,int $dragPositionY,int $aidKey) { if ($dragPositionY<13) textScrollList -e -selectIndexedItem 1 $dragControl; else if ($dragPositionY>13) textScrollList -e -selectIndexedItem 2 $dragControl; string $nameOfAppend_Output[] = `textScrollList -q -selectItem $dragControl`; print ...



