Project

General

Profile

Actions

Feature #4926

closed

Add support for 'Check' and 'Radio' options in dialogs lists

Added by westor (GR) almost 5 years ago. Updated almost 5 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
Category:
Scripting
Target version:
Start date:
02/06/2020
Due date:
% Done:

0%

Estimated time:
Operative System:
All

Description

Hello,

I was trying to create a code in adiirc and saw that there is missing from AdiIRC something really wonderful related the DIALOGS and LIST thing, according to https://en.wikichip.org/wiki/mirc/dialog_components#List you can create a list with radio and check fields there, it would be nice to see that in AdiIRC supported too.

Options:

check = Turns the list into a list of checkbox items.
radio = Turns the list into a list of radio items.

Example Code:

; init alias
alias example {
  dialog -m example example
}
; dialog structure
dialog Example {
  title "Example" 
  size -1 -1 100 110
  option dbu

  list 1, 10 10 80 20, multsel
  list 2, 10 40 80 20, radio
  list 3, 10 70 80 20, check

  button "Done", 7, 10 95 40 12, ok
}
on 1:dialog:example:init:*: {
  did -a example 1 Item A
  did -a example 1 Item B
  did -a example 1 Item C
  did -a example 2 Item A
  did -a example 2 Item B
  did -a example 2 Item C
  did -a example 3 Item A
  did -a example 3 Item B
  did -a example 3 Item C
}

Example Image:

- Thanks!

Actions

Also available in: Atom PDF