Search found 206 matches

by amyren
Sun May 09, 2021 9:43 pm
Forum: RapaGUI
Topic: Is RapaGUI slower on Windows 10 than on other platforms?
Replies: 5
Views: 246

Re: Is RapaGUI slower on Windows 10 than on other platforms?

It does not fullfill "C" in MCVE. :-) The "M" is also not fulfilled... I'm sure this can be made much shorter Nitpickers :lol: I also tried putting a counter and a debugprint in there just to see what was going on. It starts off quite fast, but the more items that are filled the slower it proceeds.
by amyren
Sun May 09, 2021 11:18 am
Forum: RapaGUI
Topic: ClickColumn only triggers on inactive entries
Replies: 0
Views: 37

ClickColumn only triggers on inactive entries

First time when clicking a column in a listview it triggers the ClickColumn event. But if you click on another column in the same entry it will not be triggered. To trigger it again you must click on a different entry, since it will not trigger when clicking on the active entry.
Is this a bug?
by amyren
Fri May 07, 2021 10:43 pm
Forum: RapaGUI
Topic: Is RapaGUI slower on Windows 10 than on other platforms?
Replies: 5
Views: 246

Re: Is RapaGUI slower on Windows 10 than on other platforms?

Sure. Use your own Dialogs example. Insert this code at the bottom of the script, just before the main loop. Function p_load() adressbook = CreateList() If Exists("adressbook.dat") moai.DoMethod("lv", "clear") OpenFile(1, "adressbook.dat", #MODE_READ) adressbook = ReadTable(1, {Adapter = "default"})...
by amyren
Thu May 06, 2021 9:50 am
Forum: RapaGUI
Topic: Event handler passing through to default behaviour
Replies: 3
Views: 98

Re: Event handler passing through to default behaviour

I did try to create a workaround by switching on/off the TitleClick notification. But even just having this one line in the script will kill the sorting moai.Notify("lv", "TitleClick", False) As an alternative I now use ClickColumn instead of TitleClick, and at least sort any column using that appro...
by amyren
Thu May 06, 2021 12:54 am
Forum: RapaGUI
Topic: Event handler passing through to default behaviour
Replies: 3
Views: 98

Re: Event handler passing through to default behaviour

I had a smilar experience (in the other sorting thread). It looks like TitleClick does not go well with setting columns sortable.
Hopefully this will work better with the awaited RapaGUI 2.0.
by amyren
Thu May 06, 2021 12:51 am
Forum: RapaGUI
Topic: ListviewColumn Sortable="0"
Replies: 13
Views: 1006

Re: ListviewColumn Sortable="0"

I found that there is no Event called when the column titles are clicked. The "ClickColumn" attribute is only triggered when clicking at one of the items in the listview. Is this a bug? Answering myself here. I found that the issue above is not a bug, and that is the desired behaviour of ClickColum...
by amyren
Wed May 05, 2021 10:41 pm
Forum: RapaGUI
Topic: ListviewColumn Sortable="0"
Replies: 13
Views: 1006

Re: ListviewColumn Sortable="0"

Found another issue that I suspect might be a bug. When clicking in a column in order to set it sortable, it will return the wrong column number if the list is scrolled horisontally. Resizing the columns so that the list fits the window without any horisontal scoll will make it return the correct co...
by amyren
Wed May 05, 2021 8:14 pm
Forum: RapaGUI
Topic: ListviewColumn Sortable="0"
Replies: 13
Views: 1006

Re: ListviewColumn Sortable="0"

Figured it out eventually. I am now able to change the sorting column to any column I want. But note that you need to click somewhere in the list, at a column in a not-active entry to change the sorting column. First give all the columns an id in the xml file so that there is an unique moai object t...
by amyren
Wed May 05, 2021 11:52 am
Forum: RapaGUI
Topic: ListviewColumn Sortable="0"
Replies: 13
Views: 1006

Re: ListviewColumn Sortable="0"

I did some try/error on this. I found that there is no Event called when the column titles are clicked. The "ClickColumn" attribute is only triggered when clicking at one of the items in the listview. Is this a bug? I made a log of the (msg) passed to EventFunc Here is what happens when clicking in ...
by amyren
Tue May 04, 2021 5:55 pm
Forum: Newbie questions
Topic: MakeButton Error
Replies: 5
Views: 253

Re: MakeButton Error

You need to put the makebutton line below the function it calls.

And you probably should change OnLeftMouseDown to OnMouseDown