Warning: include(/var/www/html/forum/Sources/../../../includes/depot_files/OFPEC_get_header_image.inc.php): failed to open stream: No such file or directory in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 146

Warning: include(): Failed opening '/var/www/html/forum/Sources/../../../includes/depot_files/OFPEC_get_header_image.inc.php' for inclusion (include_path='.:/usr/local/lib/php') in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 146

Notice: Undefined index: OFPEC in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152

Notice: Trying to access array offset on value of type null in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152

Notice: Trying to access array offset on value of type null in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152
    Home   Help Login Register  

Author Topic: onLBDrag -- wiki or implementation bug?  (Read 2110 times)

0 Members and 1 Guest are viewing this topic.

Offline Denisko-Redisko

  • Members
  • *
onLBDrag -- wiki or implementation bug?
« on: 01 Aug 2009, 21:22:57 »
During the drag&drop dragged item doesn't become active. I had hoped to correct this by adding in the handler "LBDrag" following lines:
Code: [Select]
#define arg(X) (_this select (X))
...
arg(0) lbSetCurSel arg(1)

however, the miracle! despite the wiki documentation:
Quote from: wiki
onLBDrag -- Drag & drop operation started. -- Returns the control and the selected element index.
second argument (of LBDrag-handler), it is not a index (CurSel), an array of the contents: [lbText, lbValue, lbData]
Damn, this is a very witty!  :( And how do i work around this problem?
« Last Edit: 01 Aug 2009, 22:01:34 by Denisko-Redisko »
sorry for my english