Hello everyone.
I am trying to implement a simple utility that I would like to keep it at the background and never be able to come in front of windows. I tried setting the window as backdrop, but that didn't make the trick.
I believe amigaamp is doing that pretty well, where it can be set above the workbench but always below other apps.
When I add an entry to chooser.gadget's list of labels and the text of a label contains an underscore, this label will appear in the chooser's list with the character following the (first) underscore to be underscored and the actual underscore itself to be suppressed. This happens when I have a list of filenames as labels of a chooser.
A label of "Copy_of_ThisFile" is presented as "Copy*f_ThisFile", where '*' is an underscored 'o'.
For some design reassons i need to make button with 2 lines of text, both of which should be centered and looks like usual button.
For first i simple tried "\n" for the button.gadget's GA_Text : it simple didnt' work, and \n treatet as fancy character.
Then, Javier point me out that we may try this way : create label.image object with LABLE_Text (this one handle \n fine), and then, attach it to a button:
Of late I have this odd behaviour of GUI's:
- Clicking a gadget will result in an 'empty' message stream. Any gadget, any window, any project. Any of MY current projects. Former projects c.q. older versions just work fine, so *I* do something wrong.
- Clicking 'Close window'-button will close the window just fine and terminate the program gracefully.
- Dropping an icon on a filerequester gadget works as expected (clicking the gadget's button will NOT bring up the requester proper).
So I've been learning how to program a ReAction GUI and I'm seriously loving it! Well, not quite, LOL. Seriously spending the last week building up my new GUI, while getting over compiler errors, crashes and fixing faults. :-)
So I'm am quite happy with my progress after looking at example code and seeing how it's done. Unfortunately, the OS4 wiki has old examples that use older methods they don't recommend anymore, nor do they compile for me. Without the Trixie examples I'd be more lost.