Project

General

Profile

Actions

Bug #3902

closed

Icon control doesn't recognize tab controls

Added by Cassio Luz S. over 6 years ago. Updated over 6 years ago.

Status:
Invalid
Priority:
Normal
Assignee:
Category:
Scripting
Target version:
Start date:
05/23/2018
Due date:
% Done:

0%

Estimated time:
Operative System:
All
Regression:
No

Description

Example:

dialog test {
size -1 -1 400 400
tab "test",1, 10 10 380 300
tab "another tab",2
icon 3, 10 10 120 100, tab2 <file.jpg>
}

Actions #1

Updated by Cassio Luz S. over 6 years ago

Actually, the impression I am having is: AdiIRC is confusing the "tab id" with a file

Actions #2

Updated by Cassio Luz S. over 6 years ago

Forget the first example.

Sorry

The first example works well
<file.jpg> must come first (with a comma included), but i also tested:

dialog tabtest {
size -1 -1 400 400
tab "test",1, 10 10 380 300
tab "another tab",2
icon 3, 10 10 120 100, tab2
}

on 1:dialog:tabtest:init:0:{
did -g $dname 3 <file.jpg>
}

Actions #3

Updated by Per Amundsen over 6 years ago

  • Category set to Scripting
  • Status changed from New to Invalid
  • Assignee set to Per Amundsen

There must also be a comma after the filename, also you should probably test in mIRC before reporting scripting bugs, unless the script uses AdiIRC specific features.

Actions #4

Updated by Cassio Luz S. over 6 years ago

Per Amundsen wrote:

There must also be a comma after the filename, also you should probably test in mIRC before reporting scripting bugs, unless the script uses AdiIRC specific features.

Not sure right now, but I guess the second example is a valid bug.

Actions #5

Updated by Per Amundsen over 6 years ago

If you test the second example in mIRC you would see "/dialog: 'tabtest' error loading icon 'tab2'" a valid icon in the first parameter is required.

Actions

Also available in: Atom PDF