Reaction/ClassAct

Use of Space Gadget with Graphics Primitives?

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.

Forums: 

How to activate a string? [SOLVED]

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.

Forums: 

Reaction objects Layout

Hello everyone,

having the code to open a reaction window, i want to create a nice layout with few objects as follow:

one frame with a label (mylabel) and another label inside the frame (myDescriptionLabel):

IMAGE(http://img62.imageshack.us/img62/6513/framecr.png)

1) How to put my description label inside the frame?

at the bottom, i want to create a second frame add a label and a string object inside the frame.

Forums: 

Modifying Reaction MessageBox() function to handle two buttons and images?

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:

Forums: 

Reaction Layout without RA Macros

Hello Amiga Coders!

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.

Looks quite like this:

Forums: 

How to avoid rendering over widnow borders when you window sized is changed. ??

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.

Forums: 

Pages

Subscribe to RSS - Reaction/ClassAct