Search found 107 matches

by Redlion
Sun Sep 29, 2024 4:00 am
Forum: RapaGUI
Topic: Problem with lines feed into a texteditor box
Replies: 8
Views: 500

Re: Problem with lines feed into a texteditor box

@ Papiosaur If you read the the Texteditor section of the manual it explains that window adds a line feed and carriage return at the end of a line. Just about everything else does not. A quick and dirty way is to load the file in as a string and then replace all the line feed and carriage returns wi...
by Redlion
Sat Sep 28, 2024 6:35 pm
Forum: General programming
Topic: How do I use SendApplicationMessage
Replies: 1
Views: 196

Re: How do I use SendApplicationMessage

Hi All, I figured it out, I was using the wrong Function. GetFileArgument() is what I needed. Here is how it works In the Directory Program Case "edit" Column1$, Column2 = mui.DoMethod("lvl" .. ActiveList, "GetEntry", "Active") LvlFrom$ = mui.Get("lvs&quo...
by Redlion
Sat Sep 28, 2024 2:03 pm
Forum: General programming
Topic: How do I use SendApplicationMessage
Replies: 1
Views: 196

How do I use SendApplicationMessage

Hi all, If i have and application say a Directory Program, how would I go about openning up the selected file, in an editor that I wrote. Here are my thoughts, Directory Program @OPTIONS {RegisterApplication = True} . . . Column1$, Column2 = mui.DoMethod("lvl" .. ActiveList, "GetEntry...
by Redlion
Thu Sep 26, 2024 1:58 am
Forum: RapaGUI
Topic: Show files in a lister from poppath
Replies: 5
Views: 560

Re: Show files in a lister from poppath

Try this, it should be what you are after. /*** Make sure we have at least Hollywood 9.0! ****************************************************/ @VERSION 9,0 /*** Enable DPI-awareness so that our GUI looks sharp even on high DPI monitors *******************/ @OPTIONS {DPIAware = True} /*** This scrip...
by Redlion
Wed Sep 25, 2024 3:51 pm
Forum: RapaGUI
Topic: Show files in a lister from poppath
Replies: 5
Views: 560

Re: Show files in a lister from poppath

@ papiosaur Not sure but is this what you are after. /*** Make sure we have at least Hollywood 9.0! ****************************************************/ @VERSION 9,0 /*** Enable DPI-awareness so that our GUI looks sharp even on high DPI monitors *******************/ @OPTIONS {DPIAware = True} /*** ...
by Redlion
Wed Sep 11, 2024 10:30 am
Forum: General programming
Topic: Retrieve volumes list
Replies: 9
Views: 1179

Re: Retrieve volumes list

Here is the Royale Code /*** Make sure we have at least Hollywood 9.0! ****************************************************/ @VERSION 5,2 /*** Enable DPI-awareness so that our GUI looks sharp even on high DPI monitors *******************/ @OPTIONS {DPIAware = True} /*** This script requires the Rapa...
by Redlion
Wed Sep 11, 2024 10:27 am
Forum: General programming
Topic: Retrieve volumes list
Replies: 9
Views: 1179

Re: Retrieve volumes list

@ ilbarbax The simplest way in windows is For V = 1 To 26 ; Go Through All Drive Letters If Exists(Chr(64 + V) .. ":") DebugPrint(Chr(64 + V) .. " Drive") EndIf Next It is quite quick and simple. For the Amiga side of things ; +++++++++++++++++++++++++++++++++++++++++++++++++++++...
by Redlion
Wed Aug 28, 2024 11:33 am
Forum: Newbie questions
Topic: Radio Button
Replies: 2
Views: 631

Re: Radio Button

Hi,

Rapa GUI has a radio button option.

Check out Radio class.

Leo
by Redlion
Sun May 05, 2024 1:40 pm
Forum: Hollywood bugs
Topic: Treeview GetEntry "Parent" not working as expected OS4
Replies: 2
Views: 2686

Treeview GetEntry "Parent" not working as expected OS4

Hi, This works as expected in Windows but not in OS4. I am trying to get the name of the Parent of the selected node. @REQUIRE "RapaGUI" moai.CreateApp([[ <?xml version="1.0" encoding="iso-8859-1"?> <application> <window title="Test" id="main" notify...
by Redlion
Sun May 05, 2024 1:22 pm
Forum: RapaGUI
Topic: Problem with Treeview and GetEntry Parent
Replies: 4
Views: 2580

Re: Problem with Treeview and GetEntry Parent

@ plouf

Thanks for looking at this for me, this has turned into a Bug Report, It works as expected in Windows but not in OS4.

Cheers
Leo