Hi everyone:
I've been doing quite a lot of dialog creation/modification lately, and have a couple of questions.
First, I have a button: START GAME! I want to make the word GAME! wrap to the second line in the button, instead of having both words on the same line, but can't seem to convey this to PowerBASIC. I've tried placing a CHR$(10) or CHR$(13) between the two words, but it just places a strange ASCII symbol in the middle of the line.
Next, I've got a combobox with 150 items that the user can select from to change the font of the dialog print. The user can easilly scroll down the list with the mouse using the down arrow, but there is no up arrow. How can I get the combobox to display with one?
Now, I have a textbox displaying some instructions that the user of my game will need to read. It's about 5 screens of information, yet the Read-Only TextBox has no up or down arrow. I've tried everything I can think of here, but just can't seem to get it. Same question really, I guess, is there any way for a mouse user to move through the information in the textbox without having to press the pagedown key?
Lastly, I've got a dialog using IMGBUTTONS. I have created a nice button with an icon displaying perfectly, but I want to be able to caption the button with some text. If I create a label above the button, the user will not be able to click on the caption, and there's plenty of room at the top of the button for a nice caption to be displayed. Ideally, I'd like the text to be written in the center over top of the image and use the ImgButtonX control, but I imagine this would be a bit trickier than simply captioning the image. I had thought of writing the text in a fancy script on top of the image in the actual icon, but I want the user to be able to change the font, size, weight, etc. of the caption.
Sorry to post so many questions at once, but I am really puzzled as to how to go about solving them.
Thanks so much for your help.
Danny.
------------------
I've been doing quite a lot of dialog creation/modification lately, and have a couple of questions.
First, I have a button: START GAME! I want to make the word GAME! wrap to the second line in the button, instead of having both words on the same line, but can't seem to convey this to PowerBASIC. I've tried placing a CHR$(10) or CHR$(13) between the two words, but it just places a strange ASCII symbol in the middle of the line.
Next, I've got a combobox with 150 items that the user can select from to change the font of the dialog print. The user can easilly scroll down the list with the mouse using the down arrow, but there is no up arrow. How can I get the combobox to display with one?
Now, I have a textbox displaying some instructions that the user of my game will need to read. It's about 5 screens of information, yet the Read-Only TextBox has no up or down arrow. I've tried everything I can think of here, but just can't seem to get it. Same question really, I guess, is there any way for a mouse user to move through the information in the textbox without having to press the pagedown key?
Lastly, I've got a dialog using IMGBUTTONS. I have created a nice button with an icon displaying perfectly, but I want to be able to caption the button with some text. If I create a label above the button, the user will not be able to click on the caption, and there's plenty of room at the top of the button for a nice caption to be displayed. Ideally, I'd like the text to be written in the center over top of the image and use the ImgButtonX control, but I imagine this would be a bit trickier than simply captioning the image. I had thought of writing the text in a fancy script on top of the image in the actual icon, but I want the user to be able to change the font, size, weight, etc. of the caption.
Sorry to post so many questions at once, but I am really puzzled as to how to go about solving them.
Thanks so much for your help.
Danny.
------------------
Comment