Home
JAQForum Ver 20.06
Log In or Join  
Active Topics
Local Time 12:50 02 May 2024 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 : GUI restore

Author Message
palcal

Guru

Joined: 12/10/2011
Location: Australia
Posts: 1804
Posted: 07:51pm 04 Apr 2017
Copy link to clipboard 
Print this post

In the Micromite Plus Manual under EXAMPLES / EXAMPLE PROGRAM / Sub Touchdown, Geoff
has used the command "GUI Restore c_fname". I can't find any reference to GUI restore in the manual. Any one know what it does and when it is used.
Paul.
"It is better to be ignorant and ask a stupid question than to be plain Stupid and not ask at all"
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 5909
Posted: 08:20pm 04 Apr 2017
Copy link to clipboard 
Print this post

I think it's the same as GUI SHOW
VK7JH
MMedit   MMBasic Help
 
Grogster

Admin Group

Joined: 31/12/2012
Location: New Zealand
Posts: 9066
Posted: 10:08pm 04 Apr 2017
Copy link to clipboard 
Print this post

GUI HIDE x will hide GUI control x.
GUI SHOW x will restore GUI control x so you can see it(and use it).

I think GUI SHOW replaced GUI DISABLE and GUI RESTORE in an earlier version of MMBASIC.

Geoff or Peter will know.

This may well be something that needs changing in the manual.......


Smoke makes things work. When the smoke gets out, it stops!
 
Geoffg

Guru

Joined: 06/06/2011
Location: Australia
Posts: 3165
Posted: 12:40am 05 Apr 2017
Copy link to clipboard 
Print this post

Yes, a bug in the documentation. Thanks for pointing it out Paul.

The command should be GUI ENABLE which will "un disable" a control. GUI RESTORE was in the early betas. It will still work in the current version but it is undocumented and I need to remove it from the code at some point.

Geoff
Geoff Graham - http://geoffg.net
 
palcal

Guru

Joined: 12/10/2011
Location: Australia
Posts: 1804
Posted: 10:39am 05 Apr 2017
Copy link to clipboard 
Print this post

Thanks all.
Paul.
"It is better to be ignorant and ask a stupid question than to be plain Stupid and not ask at all"
 
Print this page


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

© JAQ Software 2024