Project

General

Profile

Actions

Bug #3614

closed

Dialog button doesn't get default flag working sometimes

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

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

0%

Estimated time:
Operative System:
All
Regression:
No

Description

Hello,

I saw that the "default" flag doesn't working, the button doesn't get defalt (blue border effect).

Examples:

/dialog -md example6 example6

dialog example6 { 
  title "Example" 
  size -1 -1 112 100
  option dbu disable
  button "Test", 3, 20 30 70 20, default
}

but is working ONLY if 'OK' flag is also included, not for 'CANCEL' as i test, i don't know if others working too:

/dialog -md example7 example7

dialog example7 { 
  title "Example" 
  size -1 -1 112 100
  option dbu disable
  button "Test", 3, 20 30 70 20, ok default
}

- Thanks!

Actions #1

Updated by Per Amundsen over 6 years ago

  • Status changed from New to Resolved

"default" works fine, it's the "disable" option that interferes.

Actions #2

Updated by Per Amundsen over 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF