|
Forum Index : Microcontroller and PC projects : Problem with GUI Displaybox?
| Author | Message | ||||
| KeepIS Guru Joined: 13/10/2014 Location: AustraliaPosts: 1945 |
ARMmite MMBasic Version 5.05.03 (H7) Is the a limit to the number of lines in a Displaybox? After 7, part of 8 is shown, 9 is missing, then ABCD displays. If more lines are added the lines write past the bottom of the box, but the top remains where it is, so auto centering stops. Could someone possibility check this for me? [code] const A_DBox = 5 dim InfoStr as string FONT 4 GUI DisplayBox A_DBox,MM.hres/2,MM.Vres/30,MM.HRes/2.2,MM.Vres/1.05,RGB(WHITE),RGB(BLUE) Infostr="1~2~3~4~5~6~7~8~9~A~B~C~D~E" CtrlVal(A_DBox) = InfoStr[/code] NANO Inverter: Full download - Only Hex Ver 8.1Ks |
||||
| Geoffg Guru Joined: 06/06/2011 Location: AustraliaPosts: 3308 |
There is a limit of 10 lines in the standard code and I assume that Peter retained this in the ARMmite port. This is something that should be documented. I will check the manuals to make sure it is. Geoff Graham - http://geoffg.net |
||||
| KeepIS Guru Joined: 13/10/2014 Location: AustraliaPosts: 1945 |
Thanks Geoff. Mike NANO Inverter: Full download - Only Hex Ver 8.1Ks |
||||
| The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2025 |