AppTitle
Blitz3D Forums/Blitz3D Beginners Area/AppTitle
| ||
Hi, Attempts to set runtime window title bar contents have failed - it always says "Blitz Runtime Window". I have tried 'AppTitle="Hello World" for instance but it has no effect. I'm using Blitz V1.66. Any help for a Klingon? |
| ||
Graythe --- this one is easy 8) ..... change it to AppTitle "Hello World" no need for the equal sign!!! |
| ||
Hey, I never really thought about that. but its correct what GPete says ... no need for the equal sign |
| ||
Woohooo! Cheers gpete, Hansie. That one had me scratching both my head and my behind. |
| ||
But in my opinion, thinking more about it, I would prefer if the next update supports both formats, with and without the "=" prefix |
| ||
Weird, Im having a problem right now with AppTitle... If I do AppTitle "SARE V1.0 Engine", "OK to shutdown?" I want it to ask if it is OK to close but the program just closes anyway =/ I've tried it windowed and fullscreen, any idea what's wrong with it? |
| ||
AppTitle "Super Invaders V1.0", "Are you sure?" WaitKey This works for me. If I hit a key, it just exits without prompting. If I click the "X" button on the window, it prompts me. There is no other way for this to work. If your program logic ends, the runtime has nowhere to go so there's no point in confirming with the user at that point... |
| ||
But in my opinion, thinking more about it, I would prefer if the next update supports both formats, with and without the "=" prefix LOL! Yeah. Seriously though it should probably flag an error or something. |
| ||
@Flameduck Agreed |
| ||
An error flag makes sense to me. Supporting the syntax with an equals sign doesn't make much sense to me however. That isn't how any of the other commands in BlitzBasic are written so creating the one special case would just be confusing. |
| ||
@all I opt for a total update of the entire Blitz documentation. it needs it! |
| ||
There are certainly weaknesses in the Blitz documentation (although I find the Blitz documentation much better than that of most software) but that isn't relevant to this thread. There really isn't any way for the documentation to be any clearer about the AppTitle command. Not only does the documentation entry explain what the command does, it has an example of it's usage in code. Also, the entry can be searched for in the documentation a couple different ways, including categorically and alphabetically. |