GUI controls


Author Message
VK2AHB
Regular Member

Joined: 28/07/2022
Location: Australia
Posts: 51
Posted: 12:29am 07 Sep 2022      

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      

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

Paul