It is not possible to add text after a style using a separate variable or identifier.
When trying to specify them between quotes, the dialog box displays the variable/identifier name instead of the text value.

    [Linked Image from i.ibb.co]
Code
alias dtest {
  set %gtext Enter some text here...
  dialog -m dtest dtest | did -f dtest 4
}
dialog dtest {
  title "Dialog ghost text"
  icon $mircexe,0
  option pixels
  size -1 -1 306 160
  edit "", 1, 8 12 290 60, multi optional %gtext
  text "NOTE: If the value is empty, ghost text will be displayed.", 2, 12 84 290 18, disable
  edit "", 3, 8 99 290 21, autohs optional " $gtext "
  button "&OK", 4, 142 130 76 23, ok default
  button "&Cancel", 5, 223 130 76 23, cancel
}
alias -l gtext { return Ghost text... }


🌐 https://forum.epicnet.ru 📜 irc.epicnet.ru 6667 #Code | mIRC scripts, help, discuss, examples