Well, you do need to make a parent before you need its children.
Here is a completed version of my example:
global panel
global hilabel
startBlue "UserID","Key"
panel = createPanel(0,0,500,500,0) : rem a 500x500 panel for your gadgets to be on instead of the black background, located on the window
hilabel = createLabel(10,10,450,450,"Hello, World!",panel) : rem the text "Hello, World!" at (10,10) occupying 450x450 of the panel's space, and located on the panel
do
getEvent
enable escapekey
loop
You could find some more in-depth tutorials somewhere, but I still hope that this is a good start for your BlueGUI apps.
Oh, and BTW - here is the syntax of the create functions for labels (text), panels (a background), buttons, check boxes (checkable buttons), and textboxes (text entry areas):
createLabel(x,y,width,height,text$,parentGadget)
createPanel(x,y,width,height,parentGadget)
createButton(x,y,width,height,text$,parentGadget,isFlat,parentGadget)
createCheckbox(x,y,width,height,text$,parentGadget)
createEdit(x,y,width,height,canHoldMultipleLines,parentGadget)
The parentGadget is a handle for a gadget, or 0 for the main window.
For Buttons, if isFlat is 1, then the gadget is a flat button rather than a raised, 3D button.
For Textboxes, if canHoldMultipleLines is 1, then the box can hold more than 1 line.
For the Software You Want, AMPERSAND LABORATORIES is the place!