Search found 73 matches

by bluebird
Sun Jun 18, 2017 4:19 pm
Forum: HMG Tutorials and Tips
Topic: Contents of BTSTRUCT
Replies: 1
Views: 194

Contents of BTSTRUCT

In the Bos Taurus examples and in the DOC file there are numerous entries to array @Btstruct. I did not notice any
description of the intended use of the array or how to set its contents, ex. btstruct[1]= ????

Can anyone please explain what and when the user writes or reads to this array?

Thanks
by bluebird
Tue Jun 13, 2017 6:14 pm
Forum: HMG Tutorials and Tips
Topic: Re Bos aurus Demo7 , an Ellipse question
Replies: 7
Views: 392

Re: Re Bos aurus Demo7 , an Ellipse question

To those who offered help, thanks My main problem turned out to be the interpretation of the row and column coordinates. I assumed that you would specify the center point followed by the size parameters. Wrong! BTaurus means the coordinates of the upper left corner of a rectangle that surrounds the ...
by bluebird
Sat Jun 10, 2017 8:15 pm
Forum: HMG General Help
Topic: Learning the IDE
Replies: 7
Views: 375

Re: Learning the IDE

Dear Serge

Have you solved the above problem of failure to start a new project. Mine no longer words even after doing your suggestions (although it worked once)

Thanks
by bluebird
Sat Jun 10, 2017 7:27 pm
Forum: HMG Tutorials and Tips
Topic: Re Bos aurus Demo7 , an Ellipse question
Replies: 7
Views: 392

Re: Re Bos aurus Demo7 , an Ellipse question

Thanks for he response, but I still do not understand where the ellipse coordinates come from.
Andy's code specifies a window of 800 X 600 which has a center of row 300 column 400. yet the ellipse
coordinates are row 200 column 250., .... not anywhere near the window center. Pls explain.

Thanks
by bluebird
Fri Jun 09, 2017 4:26 pm
Forum: HMG Tutorials and Tips
Topic: Re Bos aurus Demo7 , an Ellipse question
Replies: 7
Views: 392

Re: Re Bos aurus Demo7 , an Ellipse question

oops! that should have been 1000 X 800
by bluebird
Fri Jun 09, 2017 4:25 pm
Forum: HMG Tutorials and Tips
Topic: Re Bos aurus Demo7 , an Ellipse question
Replies: 7
Views: 392

Re: Re Bos aurus Demo7 , an Ellipse question

The placement of the Bos Taurus ellipse center is confusing me. If you have a window, say 100 x 800 and you want to show an ellipse centered in the upper left 800 X 600 area how do you specify the row,col coordinates? I.E. what would you place in the call below for row and col BT_DrawEllipse (hDC, r...
by bluebird
Thu Jun 08, 2017 4:25 am
Forum: HMG Tutorials and Tips
Topic: Re Bos aurus Demo7 , an Ellipse question
Replies: 7
Views: 392

Re Bos aurus Demo7 , an Ellipse question

I have trouble placing the BT ellipse at the place I think it should go. The Bos Taurus Demo 7 has an ellipse centered in its 800 X 600 window but the instructions to draw is BT_DrawEllipse (hDC, 140, 200, 400, 230, WHITE, 5) The client area is 784 X 518, so the row, col center should be 392 X 259 n...
by bluebird
Tue May 23, 2017 4:06 am
Forum: Issues and Discussions related to Harbour
Topic: How does the /d build option work
Replies: 9
Views: 345

Re: How does the /d build option work

To the HMG community who helped out. I installed Pablo Cesar's version of build.bat into the HMG.3.4.3 directory then wrote the humble batch file below to use whenever I want to compile with the /d option. Tested and works just fine now. cls rem rem Use this batch file to input a file to be compiled...
by bluebird
Mon May 22, 2017 2:16 pm
Forum: Issues and Discussions related to Harbour
Topic: How does the /d build option work
Replies: 9
Views: 345

Re: How does the /d build option work

Thanks to all who responded. I now consider it to be my own lack of understanding the HMG contents. There are several different files called build.bat and also a compile.bat. I don't understand why there is that compile.bat though and when to use it. I now realize that I was using the same build.bat...
by bluebird
Mon May 22, 2017 4:52 am
Forum: Issues and Discussions related to Harbour
Topic: How does the /d build option work
Replies: 9
Views: 345

Re: How does the /d build option work

Finally a response. I still cannot use debug - the /d parameter causes build.bat to make a new file that it calls d.exe. I looked at the build.bat file that I have and there are no batch lines in it that try to interpret the /d option. I must have the wrong batch file or perhaps there is a setup pro...