Project

General

Profile

Actions

Bug #3685

closed

/did -f should not trigger the tab id but only focus it

Added by westor (GR) over 6 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Scripting
Target version:
Start date:
08/25/2017
Due date:
% Done:

0%

Estimated time:
Operative System:
All
Regression:
No

Description

Hello,

There is an bug, the /did -f it trigger the $did id as it should only just focus it without triggering the ON DIALOG event dialog id.

Example Code:

dialog test_65 {
  title "test dialog 65" 
  size -1 -1 100 100
  option dbu
  tab "TAB 1", 1, 2 2 92 95
  tab "TAB 2", 2
}

ON *:DIALOG:test_65:*:*: {
  if ($devent == init) { .timer 1 1 did -f $dname 2 }
  if ($devent == sclick) { 
    if ($did == 2) { echo -a TRIGGER! }
  }
}

- Thanks!

Actions #1

Updated by Per Amundsen over 6 years ago

  • Status changed from New to Resolved
Actions #2

Updated by Per Amundsen over 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF