Search found 732 matches

by Allanon
Thu Jan 25, 2024 10:41 am
Forum: Hollywood bugs
Topic: Possible problem with RapaGUI on Linux Manjaro
Replies: 2
Views: 749

Possible problem with RapaGUI on Linux Manjaro

Hello Andreas, here is a discussion about a problem I found on Linux -> https://forums.hollywood-mal.com/viewtopic.php?t=3881 It seems that I some widgets like listview, are (graphically) updated only when the program returns from a callback function, this causes problems if I want to track a long o...
by Allanon
Thu Jan 25, 2024 10:32 am
Forum: RapaGUI
Topic: Updating listviews...
Replies: 25
Views: 2453

Re: Updating listviews...

I see, so it's seems a Linux related problem...

I've the chance to test it on Windows 10 and yes, seems a bug :)

thank you for your time ;)
by Allanon
Thu Jan 25, 2024 9:12 am
Forum: RapaGUI
Topic: Updating listviews...
Replies: 25
Views: 2453

Re: Updating listviews...

When you push [GO] the callback function will add several lines to the Listview but they are displayed only at the end of the loop, I've added the "redraw" method to try to force a refresh but without success... I'd like to use a listview as a log box (like in the official demo), but this...
by Allanon
Wed Jan 24, 2024 7:16 pm
Forum: RapaGUI
Topic: Updating listviews...
Replies: 25
Views: 2453

Re: Updating listviews...

Nope... tested textview & texteditor without any joy... I smell I have to put long operations inside timed callbacks like in the official demo for Progress Bars : Case "pbsimprg": If Not HaveObject(#INTERVAL, 1) p_Log("Starting progress bar...") prgbarc = 0 SetInterval(1, p_P...
by Allanon
Wed Jan 24, 2024 7:02 pm
Forum: RapaGUI
Topic: Updating listviews...
Replies: 25
Views: 2453

Re: Updating listviews...

After digging a bit I've tried to use the "redraw" mothod without results... Here is a test code so you can test a simple real case: @REQUIRE "RapaGUI" Function testFunc() For i=1 To 100 moai.DoMethod("lv", "insert", "bottom", GetTime(True) .. "...
by Allanon
Wed Jan 24, 2024 12:48 pm
Forum: RapaGUI
Topic: Updating listviews...
Replies: 25
Views: 2453

Re: Updating listviews...

I forgot to say that I'm on Linux :)
by Allanon
Wed Jan 24, 2024 12:41 pm
Forum: RapaGUI
Topic: Updating listviews...
Replies: 25
Views: 2453

Re: Updating listviews...

I do have WaitEvent in the main loop and in the loop called from the callback I've tried to add a CheckEvents() but without results. This is piece of code of the official demo (from line 185): Case "lvaddmany": Local c = moai.Get("listview", "entries") If android Then m...
by Allanon
Wed Jan 24, 2024 11:48 am
Forum: RapaGUI
Topic: Updating listviews...
Replies: 25
Views: 2453

Updating listviews...

I'm a RapaGUI beginner, and I've tried to search the forum for an aswer but nothing found :) The problem I have is that I'd like to update a listview where I'm adding log entries during a long operation, the loop runs from a callback, but seems that the listview (with my added entries) is only updat...
by Allanon
Tue Jan 16, 2024 7:11 pm
Forum: Showcase
Topic: Hollywood Resource Maker
Replies: 2
Views: 1036

Hollywood Resource Maker

Hello everyone! :) I've developed a little utility called "Resource Maker" that helps building resource files and creates for you an include file with the virtual files definitions, the archive comes with an example. https://cdn.masto.host/mastodonuno/media_attachments/files/111/761/295/58...
by Allanon
Tue Aug 29, 2023 9:40 am
Forum: General programming
Topic: Hide CMD windows when running some program via Run() on windows
Replies: 8
Views: 2737

Re: Hide CMD windows when running some program via Run() on windows

Sometimes it's tricky to hide cmd windows even with this tool. I think Hollywood does pretty much the same as nircmd so if nircmd can hide the window Hollywood should be able to do so too now :) Of course, the window can't be hidden for programs that really enforce having a window but normally they...