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: Double clicking in list  (Read 1674 times)

0 Members and 1 Guest are viewing this topic.

Offline L!nk

  • Members
  • *
Double clicking in list
« on: 12 Mar 2008, 17:38:30 »
How do I do this??

Doolittle does it in his CTI and I cant find his way. Any help?

When I double click on a list entry it must display the label of the list entry.

Thx,
L!nk

Offline Mandoble

  • Former Staff
  • ****
    • Grunt ONE and MandoMissile suite
Re: Double clicking in list
« Reply #1 on: 12 Mar 2008, 18:01:54 »
Add the onLBDblClick event handler to your listbox.

Code: [Select]
class YourDlg
{
   ... blah blah blah;
   ... blah blah blah;

   class C_YOUR_LIST: RscListBox
   {
      ... blah blah blah;
      ... blah blah blah;
      onLBDblClick = "[""onLBDblClick"", _this] call YourDlgEventHandlerFunction";
   };
};