Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 18:40 04 Dec 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 : Windmills : GUI controls

Author Message
VK2AHB
Regular Member

Joined: 28/07/2022
Location: Australia
Posts: 51
Posted: 12:29am 07 Sep 2022
Copy link to clipboard 
Print this post

Now that I have the LCD working, I am trying to proceed! I want to display the date, time, temperature that I had working in the VGA mode.

I'm having trouble coming to grips with the CTRLVAL(#x) command/function?

I have made a DISPLAYBOX #1, so assume the CTRLVAL(#1) will go there.

> ctrlval(#1)=12.4   from the manual (P85)
Error : Expected a string

> mytemp=tempr(1)
> ctrlval(#1)=mytemp
Error : Expected a string
> print mytemp
17



Paul VK2AHB
 
VK2AHB
Regular Member

Joined: 28/07/2022
Location: Australia
Posts: 51
Posted: 12:33am 07 Sep 2022
Copy link to clipboard 
Print this post

FOund the answer! Displaybox expects a tring. Numberbox is what I want.

Paul
 
Print this page


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

© JAQ Software 2024