GUI screen pack pure MMBasic


Author Message
CaptainBoing

Guru

Joined: 07/09/2016
Location: United Kingdom
Posts: 2171
Posted: 12:18pm 23 Mar 2021      

  Volhout said   Could we load this as a library ? So it becomes part of the MM2 until we erase it purposely ?

yes you could load it and LIBRARY SAVE it without issues. if you wanted to get really clever you could them read the hex back out of the MM and save it as a custom build - I have done that with some production MMs I fitted in ceiling roses over snooker tables

  Volhout said  
The "frame" around some of the gadgets is a bit unlike W95. In your description you mention you still have to add it to some gadgets. Maybe you shouldn't...


It's all flexible - the border and alignment section I just added to the wiki explains it. You could have a button with no border at all if you wanted that.

The Frame (around the radio buttons) isn't part of the radio buttons - it is a distinct object with the radio buttons simply positioned inside it. In the code int he wiki, it is object 39. When drawn it will erase the area inside so if you want anything in it  you must draw the frame first - in the code example other wise it will erase the radio buttons.

I will definitely take on board suggestions like this though. it's got to be useful Someone has already pointed out there may be a problem with the progress bar because of the INTing nature of the scaling, e.g. if the extremity is 5000, 4999 is very close but in jumping at steps of 100, you you see 4999 as 4900. I need to look at that but for now I want to get the gadgets working and the fine tune comes later

h
Edited 2021-03-23 22:20 by CaptainBoing