Search found 147 matches

by mrupp
Thu Feb 10, 2022 7:54 am
Forum: RapaGUI
Topic: MenuItem shortcut troubles
Replies: 2
Views: 1868

Re: MenuItem shortcut troubles

Addition By now, I also tried this on macOS and it behaves more or less like on Windows (qualifier can be switched, no crashes here), except that "Cmd" is omitted altogether. The MenuItems C and G can be called by simply pressing C and G, without any qualifier key. In the menu, no qualifi...
by mrupp
Thu Feb 10, 2022 12:19 am
Forum: Hollywood bugs
Topic: MakeDirectory() error on macOS
Replies: 6
Views: 3079

MakeDirectory() error on macOS

Hi there Please check out the following example: @APPTITLE "MakeDirectory-Test" SetFontColor(#LIME) SetFontStyle(#ANTIALIAS) SetFont(#SANS, 20) m_currentDir$ = GetCurrentDirectory() m_newDir$ = FullPath(m_currentDir$, "test") SetMargins(20, 600) NPrint("\nCurrent directory: ...
by mrupp
Wed Feb 09, 2022 11:08 pm
Forum: RapaGUI
Topic: Possible bug when getting MenuItem.Title
Replies: 1
Views: 1518

Possible bug when getting MenuItem.Title

Hi there Quite a strange one: getting the title of a MenuItem with a shortcut corrupts the title. This happens with MUI only, but with all MUI versions that I tested: AmigaOS 3.9 mit MUI 3.9 AmigaOS 4.1 FEu2 with MUI 5.0 (20210831) MorphOS with MUI 5 22.3 (30.12.20) Check out this example: @REQUIRE ...
by mrupp
Wed Feb 09, 2022 6:30 pm
Forum: RapaGUI
Topic: MenuItem shortcut troubles
Replies: 2
Views: 1868

MenuItem shortcut troubles

Hi there There seems to be an issue with menu shortcuts, especially if the menuItems are dynamically created. Please check out the following example: @REQUIRE "RapaGUI", {Link = True} @APPTITLE "Shortcuts-Test" Function p_Init() InstallEventHandler({RapaGUI = p_EventFunc}) moai.D...
by mrupp
Sun Feb 06, 2022 10:43 pm
Forum: Hollywood bugs
Topic: Saving/loading a table with floats
Replies: 4
Views: 2783

Re: Saving/loading a table with floats

Thanks for clarifying this and for the formula on how to test for near-equality. Maybe you could include this solution as an internal function for the next Hollywood release, maybe call it something like AreFloatsEqual(float1, float2) or similar. For people that are not all that familiar with floats...
by mrupp
Sun Feb 06, 2022 9:35 pm
Forum: RapaGUI
Topic: Possible bug with Textview's "Append" method
Replies: 1
Views: 1589

Possible bug with Textview's "Append" method

Hi there I think I found a bug concerning the "Append" method on a textview widget. Please check out the following example: @REQUIRE "RapaGUI", {Link = True} @APPTITLE "Textview-Append-Test" Function p_EventFunc(msg) Switch msg.id Case "btnAppend": Local text ...
by mrupp
Tue Jan 18, 2022 10:24 pm
Forum: RapaGUI
Topic: Activate a text entry widget
Replies: 3
Views: 2547

Re: Activate a text entry widget

Use the ActiveObject attribute of the Window class. Setting ActiveObject will activate the widget specified.
by mrupp
Sun Jan 16, 2022 9:59 pm
Forum: Hollywood bugs
Topic: Saving/loading a table with floats
Replies: 4
Views: 2783

Saving/loading a table with floats

Hi there I might have stumbled over some issue concerning floats when used in a table which is saved as file and loaded again. For some values, HW doesn't regognize these values as equal anymore, on some platforms. Please check out this example which does the following: Creating a table as an array ...
by mrupp
Fri Jan 14, 2022 11:33 am
Forum: RapaGUI
Topic: Possible bug: dynamic buttons with "hide" attribute
Replies: 1
Views: 1683

Possible bug: dynamic buttons with "hide" attribute

Hi there Found a bug, probably wxWidget related. The following example dynamically creates buttons with every 2nd button having the "hide" attribute set: @REQUIRE "RapaGUI", {Link = True} @APPTITLE "DynamicButtons-Test" Function p_Init() moai.DoMethod("mainGroup&qu...
by mrupp
Sat Jan 01, 2022 6:09 pm
Forum: RapaGUI
Topic: Listview with linebreaks in column text
Replies: 1
Views: 1728

Listview with linebreaks in column text

Hi there I stumbled over some inconsistencies concerning the behaviour of Listview if its items contain linebreaks. Please have a look at the following example: @REQUIRE "RapaGUI", {Link = True} @APPTITLE "ListView-Linebreak-Item-Test" @BRUSH 1, "add.png", { LoadAlpha =...