I'd like to create a window with some Reaction string gadgets, buttons, and a fuelgauge at the top, and draw into the rest of the window with Graphics library calls. eg, something like a spreadsheet with control gadgets, but the cells drawn rather than constructed with gadgets.
It looks like the Reaction Space gadget is designed to be used for something like this, but I'm having trouble understanding how to use it that way.
I am trying to find a way to activate a string gadget (make the cursor go there and be ready for input). So far no luck.
The story is this: I have a console which prints out stuff, and below it a string gadget for input. When the user has typed in stuff and has hit enter, I want to be able to immidiately reactive the string gadget, so the user doesn't have to click it again to enter more text.
I have a window with a lot of gui stuff going on, among other things a clicktab object with two tabs. Now, when a certain event happens, I want to be able to switch to tab number two, and I am trying to do it with this code:
in the SDK there's an example on how to fade a window. Is it possible to fade only the background (an image) of the window, letting the window unchanged?
I grabbed this messagebox function from one of the reaction examples provided with the OS4 SDK. It works great, but only has one button. It looks like it should support multiple buttons and button texts, but I can;t figure out how I need to call it to do something like getting a requester that has both a "Delete" and "Cancel" button, returning a different value for each.
Here is the reaction code from the examples on the SDK:
I'm trying to get deeper in the programing of Reaction under Amiga OS4.
Can someone please show me a litte code fragment about using the layout class
in Reaction without using the RA macros?
I have managed to create a little gui with buttons based on Trixies wonderful tutorial
"Recommended practice in OS4 Reaction programming"
I have a string gadget on top followed by two buttons. Layout is vertically orientated.
I've put this in Reaction forum but it would equaly apply to Intuition I suppose.
Since quite some time AmigaOS4 windows resize with their contents by default. This is completely fine if you have a window that only contains gadgets and all those gadgets are laid out by the containing layout gadgets.