Page 1 of 1

Setting and getting Button.HiChar

Posted: Mon Apr 24, 2017 5:50 pm
by jPV
Button.HiChar seems to work in init, but I can't get or change it later. Trying under MorphOS.

Code: Select all

@DISPLAY {Hidden=True}

Function p_MUI(msg)
    If msg.attribute = "CloseRequest" Then End

<?xml version="1.0" encoding="iso-8859-1"?>
<application id="app">
   <window title="Test program" notify="closerequest">
         <button id="butt" hichar="e">Hello World!</button>

InstallEventHandler({MUIRoyale = p_MUI})

DebugPrint(mui.Get("butt","hichar")) ; Doesn't print anything
mui.Set("butt","hichar","o") ; Doesn't change the HiChar


Re: Setting and getting Button.HiChar

Posted: Thu Apr 27, 2017 4:47 pm
by airsoftsoftwair
Oh right, but it's just a wrapper error. HiChar has an applicability of I, not ISG. Fixed now in documentation and MUI Royale.