Project

General

Profile

Bug #3902

Icon control doesn't recognize tab controls

Added by Cassio Luz S. over 1 year ago. Updated over 1 year 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>
}

History

#1

Updated by Cassio Luz S. over 1 year ago

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

#2

Updated by Cassio Luz S. over 1 year 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>
}

#3

Updated by Per Amundsen over 1 year 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.

#4

Updated by Cassio Luz S. over 1 year 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.

#5

Updated by Per Amundsen over 1 year 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.

Also available in: Atom PDF