@Steve_Cornford
Hi Steve,
I have re-instated your changed font sizes on
bgkeeps.unit.pas and
bgkeeps_unit.lfm which I think I deleted earlier:
I also changed the up-down scaling as we discussed, i.e. removed the client-size statements. The up-down buttons then work correctly including after using the program-size slider. But only if
datestamp_label extends across the full width and defines the bottom-right corner of the client area. i.e. if you ever change
ClientWidth you should also set
datestamp_label to the same width.
With the client-size statements removed changing AutoScroll makes no difference. We may as well set it True so that users can resize the forms very small if they wish and still retain access to all the controls.
This is actually a big improvement over Templot2 where AutoScroll=True often caused problems (possibly because of the age of Delphi5 -- but something has definitely changed in a recent Windows update).
Note that forms set as child forms do not need a
datestamp_label because Windows applies a wide border to child forms. This means that we can allow the bottom-right control to define the client area on child forms and it looks ok.
The above has been uploaded to
main so you should see it in a synchronised fork (have I got that right?).
Although I'm not allowed to create a fork, I have discovered that I can get a temporary working area which leaves the master Templot5 files untouched by
cloning the repository. Which is what I was trying to do with branches when I got in a muddle. No more branches.
cheers,
Martin.