Skip to content

menu PopDef

menu PopDef

Also searchable as: menu PopDef · restore defaults

menu PopDef replaces the current defaults with a copy saved by menu PushDef: the font, the colour and the parent. With no copy saved, it does nothing. See menu PushDef for an example.

These are quirks of EasyUO 1.6, kept as they are:

  • It takes the oldest saved copy, not the newest: after two menu PushDef, the first menu PopDef brings back what the first one saved.
  • The alignment becomes left, since menu PushDef does not save it.
  • menu Clear and starting the script throw away every saved copy.

See also

The EasyUO 1.6 behaviour on this page was researched with help from the ScriptUO community: Gaderian's tutorial New Menu Code and how to adapt old scripts and the scripts its members share at scriptuo.com.