Hi Khaled,

When we have an edit box, it can be enabled/disabled via code, e.g.:
Code
alias test { dialog -m test test }

dialog test {
  title ""
  option pixels
  size -1 -1 250 99
  check "Enable", 1, 12 15 50 16
  edit "", 2, 10 32 230 21, disable autohs
  button "&OK", 3, 164 66 76 23, ok default
}
on *:dialog:test:*:*:{
  if ($devent == sclick) && ($did == 1) { did $iif($did($did).state,-e,-b) $dname 2 }
}

I found something that I'm not sure if it's a bug. When the edit box is enabled and we have the cursor inside that window, if we disable the edit box, the style of the edit box changes.

I also discovered that whether we leave the edit box empty or not, the style also changes. Sometimes it's random, the style sometimes doesn't change, sometimes it does.

[Linked Image from i.ibb.co]
[Linked Image from i.ibb.co]
[Linked Image from i.ibb.co]

The same happens with the mIRC edit boxes:

When dialog is opened::

[Linked Image from i.ibb.co]

Dialog box with edit boxes enabled:

[Linked Image from i.ibb.co]

Dialog box with edit boxes disabled:

[Linked Image from i.ibb.co]

Dialog that appears when the cursor is active in the last edit box:

[Linked Image from i.ibb.co]

Dialog box displayed when we disable the edit boxes:

[Linked Image from i.ibb.co]

Sometimes it's random. It changes the style in some edit boxes and not in others:

[Linked Image from i.ibb.co]

I'm using beta version 7.83.3857, but I checked the released version 7.83 and some previous versions, and this problem occurs in all versions.


TECO
irc.PTirc.org (Co-Admin)