Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 08:56 08 Jul 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 : MM+ Advanced Graphics.

Author Message
Phil23
Guru

Joined: 27/03/2016
Location: Australia
Posts: 1667
Posted: 11:50am 11 Aug 2016
Copy link to clipboard 
Print this post

Any feedback from others?

Been playing with the sample program on Page 36 & noticed a few unusual things.

I lost the Caption "Pump Control"; Line 25.

Could not see why this had happened; no changes to that part of the code.
It just wasn't there, but have a feeling it was hidden as a result of yesterdays playing at the prompt.

Tracing backwards, I'd gone to the prompt & issued the following commands.
Font 1
Text,0,0,"Font 1"
Font 2, etc, etc.

Was just looking at the fonts on the screen.
Last one was Font 6, & I think this somehow remained, hiding any future text.

When I ran the code again the Caption was missing;
Checked it, & reloaded it numerous times, but there was no way I could get it to display.

Tried heaps of things at the command prompt,
CLS; Gui Enable All; Gui Show All,
And repeating as above reloaded the code numerous times.

Finally hit the reset on the E64 & it was immediately back to normal.

The other thing I'd like to hear comments on is the "Switch" object.
It's display behaviour seems inverted.

Line 30:[Code]GUI Switch sw_pmp, "On|Off", 20, 90, 150, 50, RGB(white),RGB(Brown)
CtrlVal(sw_pmp) = 1
[/code]

Which side is highlighted seems wrong.
In the On position, Off is highlighted, On Dimmed & so no when off.

Also if you change that line,
[Code]GUI Switch sw_pmp, "On|Off",......[/code]
to
[Code]GUI Switch sw_pmp, "Pump",......[/code]

It behaves like an illuminated switch which is lit up in the off position, but not illuminated in the on position.


Cheers

Phil
 
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