Search found 210 matches

by amyren
Fri Apr 23, 2021 10:26 pm
Forum: RapaGUI
Topic: Createport not working with RapaGUI
Replies: 6
Views: 252

Re: Createport not working with RapaGUI

I run it on windows 10. For a working example, open the RapaGUI Dialogs.hws example and put this piece of code just before the main loop. ExitOnError(False) CreatePort("TEST") code=GetLastError() If code<>0 SystemRequest("Warning", "Program is already running", "OK",#REQICON_ERROR) EndIf ExitOnError...
by amyren
Fri Apr 23, 2021 3:36 pm
Forum: RapaGUI
Topic: SystemRequest / moai.request displayed as a list
Replies: 2
Views: 124

SystemRequest / moai.request displayed as a list

When using systemrequest() or moai.request() and the buttons are set to anything else than "OK", "Cancel", "Yes" or "No" the choices will turn up as a list instead as buttons.
Is that a known limitation with RapaGUI or a bug (I could not find it mentioned in the docs)?
by amyren
Fri Apr 23, 2021 3:31 pm
Forum: RapaGUI
Topic: Createport not working with RapaGUI
Replies: 6
Views: 252

Createport not working with RapaGUI

I tried using CreatePort() in my program for the purpose of detecting if the program was ran twice.
But it fail to create a port at all, and triggers the error.
The errorname is "Unable to open Window"

Is there another option for this purpose when using RapaGUI?
by amyren
Tue Apr 20, 2021 9:21 pm
Forum: RapaGUI
Topic: listview tooltip limitations
Replies: 4
Views: 222

listview tooltip limitations

Using tooltip in a listview does work on its own, but can not be used in certain combinations this will show the tooltip <listview id="lv" tooltip="Tooltip test" notify="active"> <column title="Name"/> </listview> With editable set for one of the columns, the tooltip is missing <listview id="lv" too...
by amyren
Tue Apr 20, 2021 12:19 pm
Forum: RapaGUI
Topic: Scaling the app to fit android screen
Replies: 1
Views: 127

Scaling the app to fit android screen

I have created this app that have two listviews in the main window. The main target for my app is for windows, but I wanted to have it available on android as well. On windows the program window is about 1280x720 size, and that looks ok on my 1920x1080 laptop screen. But on android the titlebar, lis...
by amyren
Mon Apr 19, 2021 6:28 pm
Forum: RapaGUI
Topic: How to align textentries (or set the column width)?
Replies: 9
Views: 491

Re: How to align textentries (or set the column width)?

I tried using like this in the xml file <text width="20">Etternavn</text> I am not sure what effect the width setting really is applying, or if it is supposed to be used like this. Using text without setting any width will make the text use more space than uning label. Specially at the rows with onl...
by amyren
Mon Apr 19, 2021 4:55 pm
Forum: RapaGUI
Topic: RaiseOnError() with RapaGUI on Latest Android Player
Replies: 2
Views: 168

Re: RaiseOnError() with RapaGUI on Latest Android Player

The message behind is:

Debug Output
Code: 1635
String: This error is for internal use only.
Command: WaitEvent
Line: 10
by amyren
Sat Apr 17, 2021 7:55 pm
Forum: RapaGUI
Topic: Indexing sequence for textentries on Android
Replies: 4
Views: 266

Indexing sequence for textentries on Android

When creating an app with several textentries on screen you can use Tab to jump to next entry, and it will activate the textentries from left to right and then down to next row where it continues left to right. But on Android each textentry will be activated with the onscreen keyboard below, and the...
by amyren
Sat Apr 17, 2021 6:58 pm
Forum: RapaGUI
Topic: How to align textentries (or set the column width)?
Replies: 9
Views: 491

Re: How to align textentries (or set the column width)?

I wanted the text labels to the left to be set to a specific width, so that the next textentries would become aligned Also I wanted to set the width of the "Postnr" to a smaller width than the "Sted" Here is an image of the misaligned entries. https://amyren.info/storage/images/misaligned.png I did ...
by amyren
Sat Apr 17, 2021 1:19 pm
Forum: RapaGUI
Topic: How to align textentries (or set the column width)?
Replies: 9
Views: 491

How to align textentries (or set the column width)?

I have set up a group of 4 columns, folled by a 2 column group, and then another 4 column group. All rows starts with a label field of various widths, then a textentry. How can I get those textentries in the different column sets to get aligned? I tried by adding width="100" to some of the labels, l...