Search found 107 matches

by bitRocky
Mon Jun 29, 2020 3:58 pm
Forum: MUI Royale
Topic: MUI under Android?
Replies: 2
Views: 51

Re: MUI under Android?

No, you need to use RapaGUI as gui system
by bitRocky
Sat Jun 20, 2020 12:03 am
Forum: RapaGUI
Topic: Some features not supported on RapaGUI on Android!?
Replies: 1
Views: 62

Some features not supported on RapaGUI on Android!?

Hi, I noticed that the "frametitle" attribute for a HGroup and ColGroup doesn't work on my Android 10 phone. The frame is also missing for the ColGroup. The "accept" attribute for a TextEntry object isn't supported either, I set it to "0123456789,." but all other chars are accepted too. Is this a bu...
by bitRocky
Mon Jun 17, 2019 2:38 pm
Forum: Newbie questions
Topic: Math operator to return the same value regardless if it is minus or plus.
Replies: 2
Views: 654

Re: Math operator to return the same value regardless if it is minus or plus.

I think what you are looking for is Abs()!

Code: Select all

distance = distance + Abs(C)
by bitRocky
Sun May 19, 2019 8:34 am
Forum: Newbie questions
Topic: List and strings
Replies: 16
Views: 4341

Re: List and strings

You have to use parenthesis:

Code: Select all

			If not (loadedline$ = "unwanted") ;dont load this entry
				InsertItem(myvar$, loadedline$)
			EndIf
by bitRocky
Mon Apr 15, 2019 2:05 pm
Forum: General programming
Topic: How to know if a directory or Path is valid?
Replies: 5
Views: 972

Re: How to know if a directory or Path is valid?

Have a look at this https://www.hollywood-mal.com/docs/html ... dling.html.
It doesn't helps you to check if the path is correct, but if the functions fails the script won't abort!
You can check the error yourself and message the user to choose a valid path.
by bitRocky
Sat Apr 06, 2019 3:18 pm
Forum: MUI Royale
Topic: Using MUI's built-in images
Replies: 3
Views: 1916

Re: Using MUI's built-in images

You can use "\33I[6:38]" for an up arrow for example!
by bitRocky
Wed Apr 03, 2019 1:14 am
Forum: General programming
Topic: Peek, Poke and Big / Little endians.
Replies: 5
Views: 1012

Re: Peek, Poke and Big / Little endians.

hmm, which Hollywood version are you using?
See here https://www.hollywood-mal.com/docs/html ... /Peek.html
by bitRocky
Tue Apr 02, 2019 2:21 pm
Forum: General programming
Topic: Peek, Poke and Big / Little endians.
Replies: 5
Views: 1012

Re: Peek, Poke and Big / Little endians.

You used TRUE/FALSE as the "endian" argument, you should use the constants #BIGENDIAN, #NATIVEENDIAN or #LITTLEENDIAN.

Code: Select all

DebugPrint(HexStr(Peek(1, 0, #SHORT, #BIGENDIAN)))
DebugPrint(HexStr(Peek(1, 0, #SHORT, #LITTLEENDIAN)))
by bitRocky
Mon Mar 18, 2019 3:11 pm
Forum: APK Compiler
Topic: How to include XML files on the Android device or into the APK compiler.
Replies: 7
Views: 2403

Re: How to include XML files on the Android device or into the APK compiler.

You have to do it this way: moai.CreateDialog([[<?xml version="1.0" encoding="iso-8859-1"?> <dialog id="dlg" title="Ajouter un Article" width="300"> <vgroup> <colgroup columns="2"> <label># Item</label> <textentry id="item"/> <label>Nom</label> <textentry id="Nom"/> <label>Prix</label> <textentry id...
by bitRocky
Mon Mar 11, 2019 2:19 pm
Forum: Hollywood bugs
Topic: SendRexxCommand(): Issues with quotes in the command
Replies: 4
Views: 1167

Re: SendRexxCommand(): Issues with quotes in the command

I think it's ARexx itself that gets confused. Try putting the whole string inside other kinds of quotes (if you use " in the string, put it in ', or vice versa). Try adding this before your debugprint line: str$="'" .. str$ .. "'" That did it! Strange, its not neccessary if I use RxCmd to show a bu...