Search found 400 matches

by SamuraiCrow
Thu Jan 28, 2021 9:00 pm
Forum: Newbie questions
Topic: How to send variables and display in Rapa-GUI Treeview
Replies: 7
Views: 909

Re: How to send variables and display in Rapa-GUI Treeview

@SamuraiCrow: I'm not sure if I understood you correctly, but RapaGUI on Linux uses GTK. The point is that AREXX only works on AmigaOS, MorphOS and maybe AROS. All of those work from both MUI Royale and RapaGUI. AREXX doesn't work on Linux so the fact that it uses GTK+ is irrelevant. The AREXX scri...
by SamuraiCrow
Thu Jan 28, 2021 9:31 am
Forum: Newbie questions
Topic: How to send variables and display in Rapa-GUI Treeview
Replies: 7
Views: 909

Re: How to send variables and display in Rapa-GUI Treeview

After looking at your OS4 Depot link, it looks like your sensor uses an AREXX script. That will likely not work under Linux so there might be no point in switching from MUI Royale to RapaGUI anyway. Both use MUI and NListTree for their tree gadgets under OS4 and MorphOS.
by SamuraiCrow
Wed Jan 27, 2021 11:41 pm
Forum: RapaGUI
Topic: Advanced RapaGUI techniques
Replies: 20
Views: 2735

Re: Advanced RapaGUI techniques

Just as I was posting my previous code snippet I noticed a major bug! When moving a node down, it had to be an empty node to work correctly! In order to make it work right I will need to implement clipboard functionality to cut and paste groups containing items. Also, as I was contemplating adding l...
by SamuraiCrow
Wed Jan 27, 2021 10:03 pm
Forum: RapaGUI
Topic: Advanced RapaGUI techniques
Replies: 20
Views: 2735

Re: Advanced RapaGUI techniques

I got the "move up" and "move down" buttons activated already and it only took a few hours. The centerpiece of it is the swapEntries function: Function p_swapEntries(first, second, parent) ; swap entries Local content=treeitems[parent.UID].contents Local slot1=treeitems[first.UID].slot Local slot2=t...
by SamuraiCrow
Wed Jan 27, 2021 9:31 pm
Forum: RapaGUI
Topic: radio.title only I
Replies: 3
Views: 407

Re: radio.title only I

You are correct that the only option you have is to do text substitution on the XML before you initialize the GUI. There are text-based substitution commands that may help the situation. Look at PatternReplaceStr() and ReplaceStr() to do so. I hope to add a template feature into RapaEdit someday to ...
by SamuraiCrow
Mon Jan 25, 2021 6:38 pm
Forum: RapaGUI
Topic: Advanced RapaGUI techniques
Replies: 20
Views: 2735

Re: Advanced RapaGUI techniques

Yesterday I cleaned up the GUI significantly: https://github.com/SamuraiCrow/HollywoodDocumentation/blob/main/RapaNew.png?raw=true Now double clicking the listview adds the item to the current node automatically. The remove button removes windows and dialogs just like it removes gadgets. The add, ed...
by SamuraiCrow
Thu Jan 21, 2021 10:24 pm
Forum: RapaGUI
Topic: Advanced RapaGUI techniques
Replies: 20
Views: 2735

Re: Advanced RapaGUI techniques

Major update! I've just got the preview window/dialog to work. In preview mode, the window XML generates a dialog box with the same specifications as the window and both windows and dialogs add a button at the end that allows the preview to close independently of the close gadget in case there isn'...
by SamuraiCrow
Tue Jan 19, 2021 1:11 am
Forum: RapaGUI
Topic: Advanced RapaGUI techniques
Replies: 20
Views: 2735

Re: Advanced RapaGUI techniques

Thanks Andreas! :D Today I just discovered that saving a file and loading it back and saving it again caused the file to grow! I've now written a utility that dumps the fields of the file to a window. I discovered that Hollywood was saving my methods as well as my data! Before: https://raw.githubuse...
by SamuraiCrow
Sun Jan 17, 2021 4:00 am
Forum: RapaGUI
Topic: Advanced RapaGUI techniques
Replies: 20
Views: 2735

Re: Advanced RapaGUI techniques

Screenshot time!

Image

If this works right, you should be able to click the image above and see the original 1024x768 screenshot!
by SamuraiCrow
Sun Jan 17, 2021 3:21 am
Forum: RapaGUI
Topic: Advanced RapaGUI techniques
Replies: 20
Views: 2735

Re: Advanced RapaGUI techniques

Today I implemented loading and saving of documents. This was greatly simplified by the WriteTable() command but I still had to overcome some obstacles. One such obstacle was that there were a great many self-referencing fields in the table containing the document. Since CopyTable() can only do shal...