Thanks again. You guys are Johnny-on-the-spot.
Type: Posts; User: dcromley; Keyword(s):
Thanks again. You guys are Johnny-on-the-spot.
Hello again,
When I run this script and hit the left mouse button every second or so, it hangs up after 5 or so seconds. "Not responding". The "close" box turns red; I'm at 1.9.16.16, Windows...
Thanks guys.
My avatar comes from a TBGL program I wrote 4+ years ago.
The link to the thread is GimbalRock
and the link to the zip package is GimbalRockZip
Primo,
Thanks for your thoughtful post. This script is your last post with Loop1 removed. The only reason I had 2 loops was to demonstrate the difference between "While .. Wend" and "Do While .....
I find that running the script and getting to figure 3, that the "close icon" (the "X") doesn't work. Do you find that?
Yes, the latest thinBasic works. As usual, thank you for your speedy response.
I want to advance to the next figure when I hit TAB. In this script, Loop1 using "Exit While" works, but Loop2 using "Exit Do" hangs up. (Windows 10 - Thinair 1.9.16.11)
So run this script...
Yes, I see that since the viewport width/height is 400/200 I should have had
TBGL_RenderMatrix2D(0, 0, 399, 199)
but the TBGL_LINE still uses the viewport coordinates and the PrintFont and...
Rene,
Thank you for the response.
I see that 0,0 centers and 1,1 does indeed put it to the upper-left.
> To move window you could use TBGL_SetWindowed()-function...
I did not get this to work. ...
(maybe I should have 3 separate posts?)
These are minor things -- maybe just my misunderstanding.
1) Placing the window in the screen Using TBGL_CreateWindowEx doesn't seem to work.
Using...
I didn't read your link (Petr's) carefully enough -- it is simpler, better, doesn't use CreateFont:
(I can't believe my earlier searches didn't find this -- I was using "size", I guess)
Uses...
[deleted -- a poor example]
I want to use a Dialog (first time). I want to increase the FontSize on a label.
A relevant msdn Reference
This reference has:
btn3.FontSize = 10.0
-- SO -- is there an API I could use for...
Very interesting also, thanks.
As I was running mine, I knew how dependent it was on "rnd". And reading your and Eros' dialog on random number generation was interesting. Quite a bit of...
I could have sworn that somebody started a thread here regarding an article in The American Scientist.
http://www.americanscientist.org/issues/pub/an-adventure-in-the-nth-dimension/1
So I looked...
> .. but I wanted to know more about pointers ..
That's admirable, and you seem to be doing well.
I'm going to bow out of this thread.
However, I do question your last statement in:
Type...
I can't resist showing you my picture of our big "occupy" rally here
in Cheyenne. I'm the guy with the "Bail Out Wall Street" sign.
My sense of humor is "different".
Today it probably would be...
Largo,
I've used pointers in the past, but I can't come up with an example.
This is a poor example for using pointers, because TB allows passing
a UDT parameter array. See code below.
Are...
I had the giggles all day yesterday, thinking about your
"almost fell from my chair".
How FUNNY! Thanks.
Thanks for the nice comments.
V1.1 - I just had to make the eyes blink.
Also at http://dbarc.net/dcgimbalrock.exe
Thank you.
I just noticed that in GLFigures.tbasic, there are 2 instances of "Lerp2" This may not work except in the latest download. Change those to "zLerp".
I've always been intrigued by rotation mathematics. Finding thinBasic/TBGL was a great life opportunity. Matrix math has always been understandable and reliable. Quaternion math is as good or...
Great! Thank you.
Hello, (probably Petr?)
I have used "MsgBox" often for debugging.
Have you ever issued a "MsgBox" within a TBGL Periodic Function?
It's not the thing to do. It piles up windows.
There's...
OK, Michael and Zak,
I was skeptical, but I (finally) did what you suggested:
I copied MyFirstTBAppA.exe to MyFirstTBAppC.exe.
Then "upx -d -q MyFirstTBAppC.exe" and, as you said, it was 388KB....