Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 18:46 17 Sep 2025 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : Problems with GUI SHOW

Author Message
Bizzie
Senior Member

Joined: 06/07/2014
Location: Australia
Posts: 192
Posted: 08:17pm 08 Jan 2016
Copy link to clipboard 
Print this post

Hi all,

Has anyone been able to use the GUI SHOW #ref or ALL command?

Here's what I get with a simple test program :-

Micromite Plus MMBasic Ver 4.7 Beta 36
Copyright 2011-2015 Geof>
> OPTION LIST
OPTION BAUDRATE 115200
OPTION LCDPANEL ILI9341, LANDSCAPE, 21, 22, 23
OPTION TOUCH 18, 14
OPTION SDCARD 49
> LIST

Option EXPLICIT
GUI DEFAULT HIDDEN

Const CtrlColor = RGB(Yellow)
Const BckColor = RGB(Black)
Const CtrlTextColor = RGB(White)

CLS
Font 1,2

' Controls for page 2 - Set date
Const pg2Frm = 20
Const pg2Yr = 21
Const pg2Mth = 22
Const pg2Day = 23
Const pg2Cap1 = 24
Const pg2Cap2 = 25
Const pg2Cap3 = 26
Const pg2Max = 26

GUI FRAME pg2Frm, "Date", 0,13,MM.HRes,MM.VRes,CtrlColor

GUI CAPTION pg2Cap1, "Day",10,30,LT,CtrlTextColor,BckColor
GUI SPINBOX pg2Day, 150,40,140,40,CtrlColor,BckColor,1,1,31

GUI CAPTION pg2Cap2, "Month",10,90,LT,CtrlTextColor,BckColor
GUI SPINBOX pg2Mth, 150,90,140,40,CtrlColor,BckColor,1,1,12

GUI CAPTION pg2Cap3, "Year",10,140,LT,CtrlTextColor,BckColor
GUI SPINBOX pg2Yr, 150,140,140,40,CtrlColor,BckColor,1,15,30

GUI SHOW pg2Frm

Do


Loop
> RUN
[33] GUI SHOW pg2Frm
Error: Invalid command
> GUI SHOW ALL
Error: Invalid command
>


As you can see the problem also exists at the command prompt. I can not find an example anywhere of the GUI SHOW command.


Rob White
 
disco4now

Guru

Joined: 18/12/2014
Location: Australia
Posts: 1025
Posted: 08:43pm 08 Jan 2016
Copy link to clipboard 
Print this post

Seems to work OK on
Micromite Plus MMBasic Ver 4.7 Beta 37.
GUI SHOW ALL --> shows all controls.
GUI SHOW pg2Frm --> shows just the frame

Regards
Gerry


F4 H7FotSF4xGT
 
Print this page


To reply to this topic, you need to log in.

The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2025