minimum MUI version

Discuss GUI programming with the RapaGUI plugin here
Post Reply
plouf
Posts: 472
Joined: Sun Feb 04, 2018 11:51 pm
Location: Athens,Greece

minimum MUI version

Post by plouf »

hi

RapaGui says that it will run in mui3.8 but 4 is recomended however the following simple test FAILS in mui4, worked as expected when i upgrate to latest mui5 thought
https://pasteboard.co/J52DB7g.png

Code: Select all

@REQUIRE "RapaGUI"

Function p_EventFunc(msg)
	 ; contents follow below
EndFunction

InstallEventHandler({RapaGUI = p_EventFunc})

moai.CreateApp(FileToString("window.xml"))
moai.DoMethod("data_list", "insert", "bottom", "1","2")
moai.DoMethod("data_list", "insert", "bottom", "3","4")
Repeat
	 WaitEvent
Forever

Code: Select all

<?xml version="1.0" encoding="utf-8"?>
<application id="win" >
	 <window id="mainwindow" title="BasIOT">
			<hgroup>
				<!-- FIRST Horrizontal -->
				 <vgroup frame="true" frametitle="Data">
					 <listview id="data_list" Height="600" notify="active; DoubleClick" >
							<column title="Time" width="80" />
							<column title="S1" width="60" />
					 </listview>
				 </vgroup>
			</hgroup>
	 </window>
</application>

Christos
User avatar
airsoftsoftwair
Posts: 5446
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: minimum MUI version

Post by airsoftsoftwair »

There are lots of MUI 4 versions around that have issues. This is very likely a bug in your specific MUI version, not in RapaGUI.
Post Reply