Undocumented commands

BlitzPlus Forums/BlitzPlus Beginners Area/Undocumented commands

Having just upgraded to BlitzPlus, I've discovered a few commands in the Versions.txt that comes with Blitz, but that aren't mentioned in the Help. I've got some of them of this site, but there are a couple that I can't find.

I wondered if anyone knew anything about them.

GadgetText

QueryObject

TextAreaText - what format is text returned in? - the two links for this command on this site seem to be broken.

FontDescend - doesn't exist - probably won't use it - but is mentioned in the versions text that comes with Blitz - probably meant to be the opposite of FontAscend - but isn't highlighted as a command in the IDE.

Thanks

GadgetText: to get the text associated with a gadget, like a label gadget

TextAreaText to retrieve the contents of a textarea gadget

both return strings

Thanks, I should have experimented with TextAreaText - I guess that means it only returns the last text after a chr$(13) Chr$(10) - and not the entire text.

Should be all the text AFAIR.

QueryObject is to get the hwnd etc of a gadget:
http://www.blitzbasic.com/bpdocs/command.php?name=queryobject&ref=goto

There is Object/Handle as well for creating generic handles to type objects, and retrieving the object again from the handle.

The problem with the manual is however that it lacks to explain what a hwnd is, what it is used for, examples etc. All it does now is explain its name and syntax, but as nothing else is explained I figure it equals the magical CreateGame() function.

Thanks - I only get to read this site every 2-3 days which is why I'm a bit behind.

I've used hwnd in another piece of code I dowloaded to put an icon in the prog window - but don't really know what it is.

You ought to update your doc pak for starters

I'm not sure what you mean - I downloaded v1.44 of the exe - where do I find an updated doc pak?

Thanks

there are not for BP :((((((