Reaction/ClassAct

listbrowser AutoFit (1st column)

When setting in listbrowser "LISTBROWSER_AutoFit,TRUE" always the last column gets the "empty space", could this be "reversed" so the 1st column gets such "empty space":

+----------------------------------------------------------+ this is the window width
| col1 | col2 | col3 |
| looongstring | date | anotherstring |

Forums: 

How to toggle button's visibility?

Hi,

In ReAction GUI, is it possible to create a hidden button that can be made visible when needed?

What I'd like to do is to show an image button (busy indicator) when my program is processing data and then hide the button when the program has finished processing the data.

According to autodocs, gadgetclass has a boolean attribute GA_Hidden for hiding gadgets. However, that attribute doesn't seem to work for a button.gadget.

Forums: 

How is it working?

Can someone please explain to me how the changing of a layout content works when you have a list browser with selections?

This is something that is done on both GUI and Internet prefs. At the left side there is a listbrowser with options and at the right side the content changes depending the selected option from the left side.

What is the idea behind this? Does it detach a whole layout and attach an other at the right side? Do I understand it right?

Forums: 

Chooser with big list of options

Hello guys. Working on the MediaVault (https://github.com/walkero-gr/mediavault) I need to have a long list of Countries and languages for the users to choose from. Unfortunately, the chooser seems that it doesn't have a way to show an internal scrollbar, and so many options are not possible to show up.

I was thinking to have sub choosers, but that seems also not possible with chooser. Then I thought to use popup menus with submenus, which could be useful and solve the problem.

I wonder what would you recommend as a better solution for this.

Forums: 

Hidden columns in Listbrowsers

I wanted to ask you, is it a good practise to have more columns set with AllocListBrowserNode() than the ones that are described in ColumnInfo?

This is a way to have more info in Nodes that are not visible in list, but can be used when the user selects a node. Is there a better way to have hidden columns in ListBrowser?

Thank you for your help guys.

Forums: 

Different size labels

Hello guys,
I am trying to create some Reaction labels with different font size, which should be the screen font, only reduced by specific points.

I was looking at the autodocs and I saw that IA_FONT is deprecated, and we need to use LABEL_DrawInfo, which actually includes a TextAttr, which looks similar to the one that IA_FONT used.

Forums: 

Where's that structure defined?

Hi,

This tag in autodocs/window_cl mentions 'struct IEvent'. I can't find its specifications anywhere.

WINDOW_InputEvent (struct IEvent *)
Pointer to a "fake" input event which is valid only
immediately after receiving WHMI_RAWKEY. This provides all
the additional information suitable for you to call
MapRawKey(). (V42)

Defaults to NULL.

Applicability is (OM_GET)

Anyone any idea?

OldFart

Forums: 

Pages

Subscribe to RSS - Reaction/ClassAct