Board Logo
« getting started, Pigeon Breeders Records program »

Welcome Guest. Please Login or Register.
Jan 21st, 2018, 12:57am


Conforums Terms of Service | Membership Rules | Home | Search | Recent Posts | Notification | Format Your Message | Installation FAQ

Please use the forums Search feature before asking.
Please post code using the code box described in Format Your Messages.
This will keep indentation, separate it better form the message and prevent gibberish.
If the code is too long for one post or additional files are needed, upload a ZIP archive to the Just BASIC Files Archive Site.

« Previous Topic | Next Topic »
Pages: 1 ... 8 9 10 11  Notify Send Topic Print
 veryhotthread  Author  Topic: getting started, Pigeon Breeders Records program  (Read 10852 times)
stumpy
Full Member
ImageImageImageImage


member is offline

Avatar




PM


Posts: 148
xx Re: getting started with Prog for Pigeon Breeding
« Reply #135 on: Oct 27th, 2016, 6:22pm »

Fantastic, many thanks. It looks good and the scaling hardly affects the appearance of text etc. The converted program works both with my own 1920 x 1080 laptop, with just the odd bit of text (I think) not being covered by the length specified so part goes on the line below. Easily adjustable but what was really needed is for 1366 x 768.

So far with 1366 x 768, apart from bmp which I did not get right by adjusting the proportions before but will now be easy, and the odd other length of textbox which can easily be adjusted to taste as well:-

- the only problem was that at first the two Texteditor panels, one for for 4 flying teams in the Young section, and one for an old bird team in Stock, do not appear on 1366 x 768 (they did show on 1920 x1080) so I added *scale to each of the dimensions in the definition and they worked! That is probably the only thing, and was easy enough to be overlooked in the mass of stuff, but will test some more tomorrow.

I have been trying to begin to recode 1920 2.46 for 1366 x 768 in the ordinary way which is a real pain, and it was starting to look awful.

Your scaled conversion looks so much better !!

Could I use the scaling prog to do other screen sizes? e.g 3840 x2160.
I believe it converts the specified program and saves it, but would you spell out again how to use it?
« Last Edit: Oct 27th, 2016, 6:23pm by stumpy » User IP Logged

tsh73
JB-Supporter


member is offline

Avatar




PM

Gender: Male
Posts: 3636
xx Re: getting started with Prog for Pigeon Breeding
« Reply #136 on: Oct 28th, 2016, 02:04am »

Quote:
- the only problem was that at first the two Texteditor panels, one for for 4 flying teams in the Young section, and one for an old bird team in Stock, do not appear on 1366 x 768 (they did show on 1920 x1080) so I added *scale to each of the dimensions in the definition and they worked! That is probably the only thing, and was easy enough to be overlooked in the mass of stuff, but will test some more tomorrow.

Convertor based on program for previous version. Previous version did not HAD texteditor ;) So convertor for previous version did not handle texteditors, and I did not added it. Just didn't guessed it there.
(and did not run it 1920 x1080 to see something is missing)

Quote:
Could I use the scaling prog to do other screen sizes? e.g 3840 x2160.

Converted program doesn't care, actually. It computes scale basing on displayWidth and applies it. So it'll do something in 3840 x2160 ;)
One thing. It looks like scaling down fonts gets unreadable real fast - so I set "fontscale = 1.3*scale"
Then you run converted program in native size (1920 x1080) font gets magnified by 1.3
Likely for 3840 x2160 it will be better to set fontscale to "fontscale = scale".

Quote:
I believe it converts the specified program and saves it, but would you spell out again how to use it?

That's semi-manual iterative process ;).
Code:
You put convertor in a folder with your program
set inFile$ and outFile$
until fed up
  run convertor,
  run converted program and see what's wrong
  fix convertor
repeat 

(oh. And "if NR=16 then" line (16) likely should be adjusted so "scale" will be ready then needed first time)
User IP Logged

Q: "And if I took your codes and compile them, and sell them for a profit"?
A: Go ahead. I had my share of good then I coded it for fun, if you can make better use of it - please do.
(enjoying JB 1.01 on WinXP, netbook and desktop)
stumpy
Full Member
ImageImageImageImage


member is offline

Avatar




PM


Posts: 148
xx Re: getting started with Prog for Pigeon Breeding
« Reply #137 on: Oct 28th, 2016, 03:44am »

Right. The converter really is 'the business' for making the Breeders program
useable for other people
User IP Logged

stumpy
Full Member
ImageImageImageImage


member is offline

Avatar




PM


Posts: 148
xx Re: getting started with Prog for Pigeon Breeding
« Reply #138 on: Oct 28th, 2016, 06:23am »

With 3840 x2160 it worked fine but so far, as mentioned, I did find a comment following instructions, which had to be moved to the next line.

Also there is a problem with the windows snippet of text: 'edit' for the option/button, which appears at the top left under the title of the program opened by JB, as in: "The addition of a texteditor control to a window automatically causes the menubar to contain an EDIT menu."

This unwanted 'menubar' takes about two lines and displaces the rest downwards, with the result that everything goes just off-screen at the bottom of the page. How might this be fixed please?
User IP Logged

tsh73
JB-Supporter


member is offline

Avatar




PM

Gender: Male
Posts: 3636
xx Re: getting started with Prog for Pigeon Breeding
« Reply #139 on: Oct 28th, 2016, 06:35am »

Quote:
This unwanted 'menubar' takes about two lines and displaces the rest downwards, with the result that everything goes just off-screen at the bottom of the page. How might this be fixed please?

Actually proportion of
3840 / 2160
is exactly as
1920 / 1080
Does it goes offscreen in native (1920 x 1080) resolution as well?
Onty thing I could suggest is to decrease scale somewhat, like
Code:
scale = WindowWidth/1920*0.95 

(needs testing)
User IP Logged

Q: "And if I took your codes and compile them, and sell them for a profit"?
A: Go ahead. I had my share of good then I coded it for fun, if you can make better use of it - please do.
(enjoying JB 1.01 on WinXP, netbook and desktop)
stumpy
Full Member
ImageImageImageImage


member is offline

Avatar




PM


Posts: 148
xx Re: getting started with Prog for Pigeon Breeding
« Reply #140 on: Oct 28th, 2016, 06:55am »

Quote:
Does it goes offscreen in native (1920 x 1080) resolution as well?
No, and I see that the proportion is the same so it does seem odd.
Quote:
scale = WindowWidth/1920*0.95

I will try that but think you might have meant "scale = WindowHeight/1080*0.95, but will find out if I have that right smiley

Wondered if I could lose the top part of the screen but UpperLeftY= -20 did not do anything
« Last Edit: Oct 28th, 2016, 06:56am by stumpy » User IP Logged

stumpy
Full Member
ImageImageImageImage


member is offline

Avatar




PM


Posts: 148
xx Re: getting started with Prog for Pigeon Breeding
« Reply #141 on: Oct 29th, 2016, 07:50am »

Hi tsh73. The majority of converted 1920 works fine with 1366screen, and any untidiness has been fixable
- except for the column of static text numbers 1-48, to the left of the Texteditor in both sections.

With unmodded v2.46 they exactly matched the text in the texteditor, I think because they used the same font and size, but can't work out how to do that now. More help please.

https://www.filesanywhere.com/fs/v.aspx?v=8b71658c5f606fbaa867

Apart from that, there are just a couple of bmps to adjust so thought it was going well
User IP Logged

tsh73
JB-Supporter


member is offline

Avatar




PM

Gender: Male
Posts: 3636
xx Re: getting started with Prog for Pigeon Breeding
« Reply #142 on: Oct 30th, 2016, 03:20am »

Hello stumpy
Here's modified program
https://yadi.sk/d/z6ifIBHQxpHc3

Cause:
obviously text scaled a bit differently then statictext
(likely roundoff errors)

Fixed:
instead of 48 small statictext I put single tall one
Also had to add some 5 pixel width so "10." does not spill to next line.
User IP Logged

Q: "And if I took your codes and compile them, and sell them for a profit"?
A: Go ahead. I had my share of good then I coded it for fun, if you can make better use of it - please do.
(enjoying JB 1.01 on WinXP, netbook and desktop)
stumpy
Full Member
ImageImageImageImage


member is offline

Avatar




PM


Posts: 148
xx Re: getting started with Prog for Pigeon Breeding
« Reply #143 on: Oct 30th, 2016, 12:46pm »

Hello tsh73. Thank you very much for the modified program and explanation. The numbers now fit the text perfectly and I was able to do further slight modifications to the layout.

8.11.2016 Please see updated versions for 1366 x 768 below

« Last Edit: Nov 8th, 2016, 04:13am by stumpy » User IP Logged

stumpy
Full Member
ImageImageImageImage


member is offline

Avatar




PM


Posts: 148
xx Re: getting started with Prog for Pigeon Breeding
« Reply #144 on: Nov 8th, 2016, 04:01am »

Hello tsh73

'mod' is included in titles for further updates, for 'scaling applied', so it can be used on screens of other sizes, even though there would be out of scale bmp's and slight layout distortions.

At that stage the scaling allows much easier adjustment of the code to make versions for other displays to work properly, so thanks again.

Version is updated below
« Last Edit: Nov 14th, 2016, 5:31pm by stumpy » User IP Logged

stumpy
Full Member
ImageImageImageImage


member is offline

Avatar




PM


Posts: 148
xx Pigeon Breeders Records
« Reply #145 on: Nov 14th, 2016, 5:37pm »

For 1920x1080 or 1366x768

Another change of title, and 'click' sound associated with more entries:-

Updated 025.04.2017
https://www.filesanywhere.com/fs/v.aspx?v=8b716b8b5d6371ae9ca5
« Last Edit: Apr 25th, 2017, 3:11pm by stumpy » User IP Logged

stumpy
Full Member
ImageImageImageImage


member is offline

Avatar




PM


Posts: 148
xx Website: Pigeon Breeders Records
« Reply #146 on: Apr 27th, 2017, 04:05am »

Recent Changes:-
03.05.2017 Updated v.2.77 with display and starting screen settings, and feed/fly/medication planners/counters linked to flying teams

04.05.2017 Textboxes for input reconfigured
05.05.2017 ‘saveTxt’ and ‘loadTxt’ buttons fixed (they treated Plan1,2,3,4 just as if they were Team1,2,3,4)
06.05.2017 'divider', 'empty', and 'unused' added to youngster edit buttons
14.05.2017 v2.90 with new features: incl. Foster Pairs with pedigree links, stock and offspring searches.
16.05.2017 Graphic boxes now also show current birds/fostered eggs origin in Young Section.
21.05.2017 Update: Cosmetic changes to results of using buttons 'Offspring' and '-----'
18.05.2017 Updated: Bug corrected in Stock Section 'Search'
21.05.2017 Cosmetic changes to results of 'Offspring' and '----'

Here are some web pages with a link to the latest version:-
https://chavers.wixsite.com/free-pigeon-records
« Last Edit: May 21st, 2017, 3:06pm by stumpy » User IP Logged

stumpy
Full Member
ImageImageImageImage


member is offline

Avatar




PM


Posts: 148
xx Re: Website: Pigeon Breeders Records
« Reply #147 on: May 21st, 2017, 2:59pm »

Website has been fixed

22.05.2017: bug fix in Stock Section: 'Pick Parents'
« Last Edit: May 31st, 2017, 5:10pm by stumpy » User IP Logged

stumpy
Full Member
ImageImageImageImage


member is offline

Avatar




PM


Posts: 148
xx Re: getting started, Pigeon Breeders Records progr
« Reply #148 on: May 31st, 2017, 5:11pm »

31.05.2017: it was possible to cause a crash by rapidly double-clicking an entry in the nest cards. Single click was intended only, which brought up a 'modal' editing window. The code does a bit of meandering before the window appears, which allowed a period in which the second of any two quick clicks could cause a crash.

The fix was for the first click now immediately to disable the particular list box which is involved, before the code can wander off.
When the modal window is closed the list boxes are re-enabled wholesale.

03.06.2017 Offspring function corrected
06.06.2017 Functions revised in Stock Section
10.06.2017 In Young Section: the pair highlight and nest indicator remain on screen together, and the entry in a nest card remains highlighted while its editing box is displayed.
« Last Edit: Jun 10th, 2017, 05:28am by stumpy » User IP Logged

stumpy
Full Member
ImageImageImageImage


member is offline

Avatar




PM


Posts: 148
xx Re: getting started, Pigeon Breeders Records progr
« Reply #149 on: Jun 19th, 2017, 5:29pm »

19.06.2017
Version 3.0 includes the facility to use native 1280 x 800 screens, mainly for 10" tablets & Win10 e.g. Linx 1020.

01.07.2017
Included a shortcut to standalone which uses Win10's 150% text setting for the screen option 1920x1080 (on e.g. Dell Venue 11"), or 1366x768, or 1280x800 displays - and another shortcut to provide the alternative options: 1920x1080(at 100%), 1366x768, 1280x800 displays.

06.07.2017
More space allowed in the (1920x1080 at 150%) textboxes for the Auto. Ring Number settings.

07.07.2017
- The Young Section's Ring Set No., and Team No. which are current, can be saved for the next startup, and through an invitation to save when switching to another screen.

09.07.2017
Version 3.1 Revised last update: corrected file 'Pairs_and_YoungBirdRings.dat' in package.

12.07.2017 Revert to Version 3.0, ( v3.2 is in development )

12.07.2017 Version 3.2: Four screen sizes maintained, remembers more settings and tidied up.

https://chavers.wixsite.com/free-pigeon-records
« Last Edit: Jul 12th, 2017, 12:19pm by stumpy » User IP Logged

Pages: 1 ... 8 9 10 11  Notify Send Topic Print
« Previous Topic | Next Topic »

Conforums Terms of Service | Membership Rules | Home | Search | Recent Posts | Notification | Format Your Message | Installation FAQ

Donate $6.99 for 50,000 Ad-Free Pageviews!

| |

This forum powered for FREE by Conforums ©
Sign up for your own Free Message Board today!
Terms of Service | Privacy Policy | Conforums Support | Parental Controls