Search found 587 matches

by lazi
Sun Jun 06, 2021 10:17 pm
Forum: RapaGUI
Topic: Wrong window position after reopen
Replies: 4
Views: 195

Re: Wrong window position after reopen

That sounds good! No more question :-)
by lazi
Sat Jun 05, 2021 9:18 pm
Forum: RapaGUI
Topic: Wrong window position after reopen
Replies: 4
Views: 195

Re: Wrong window position after reopen

That is nice, it solves the first feature mentioned but the second problem, the full sized window reopening may be considered a bug. I have just tried it again.. And I got it! It reopens the window with x position to the mouse x position. Just try the example and use space or enter to trigger the bu...
by lazi
Wed Jun 02, 2021 9:54 am
Forum: RapaGUI
Topic: Wrong window position after reopen
Replies: 4
Views: 195

Wrong window position after reopen

Please check the following example. It has a Reopen button which makes the window close and reopen with changing the window's open attribute. OS4 and maybe all systems based on MUI remembers the window old position, size when reopening. On windows(tm) 10 there are two differences in that behaviour: ...
by lazi
Tue May 25, 2021 8:38 pm
Forum: RapaGUI
Topic: ListView sorting on android
Replies: 2
Views: 195

Re: ListView sorting on android

You are missed to call the method:
moai.domethod("lv","sort")
by lazi
Sun May 23, 2021 8:31 pm
Forum: Hollywood bugs
Topic: Documentation problems
Replies: 35
Views: 24723

Re: Documentation problems

DisplayBGPicPart() doc has an example which has old (pre 1.5) syntax and it fails in new versions. The optional dx, dy parameters missing before the table. width = GetAttribute(#DISPLAY, 0, #ATTRWIDTH) height = GetAttribute(#DISPLAY, 0, #ATTRHEIGHT) id = GetAttribute(#DISPLAY, 0, #ATTRBGPIC) CreateB...
by lazi
Sun May 09, 2021 4:10 pm
Forum: RapaGUI
Topic: Is RapaGUI slower on Windows 10 than on other platforms?
Replies: 10
Views: 667

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

It does not fullfill "C" in MCVE. :-)

Anyway, yes I found it too that filling listitems is far slower on windows than Amiga. So please feed this topic with useable information that helps to solve this problem.
by lazi
Fri May 07, 2021 11:46 am
Forum: Newbie questions
Topic: Double terminated string problem
Replies: 3
Views: 317

Re: Double terminated string problem

Thanks jPV! Yes I made a mistake with exchanging -1 and false. Tested ArrayStr() speedwise and it is obviously slower than findstr(). This is the fastest way I found yet: Function strnorm(s$) ;it can happen that a string has a zero byte inside, not just the end of the string ;this function crops the...
by lazi
Fri May 07, 2021 1:19 am
Forum: Newbie questions
Topic: Double terminated string problem
Replies: 3
Views: 317

Re: Double terminated string problem

A possible solution: Function strnorm(s$) ;it can happen that a string has a zero byte inside, not just the end of the string ;this function crops the garbaged end from the string Local sl=FindStr(s$,"\000") Return (IIf(sl=False, s$, LeftStr(s$,sl))) EndFunction Do you know a better one?
by lazi
Fri May 07, 2021 12:19 am
Forum: Newbie questions
Topic: Double terminated string problem
Replies: 3
Views: 317

Double terminated string problem

Let's take the situation that we have a string which has a zero byte in there and not at the last position. You may think that this is what happens when somebody lurking with dark occult code lines. Just pour it with holy water and avoid it next time. But please try to not questioning the origin of ...
by lazi
Wed May 05, 2021 8:37 pm
Forum: Showcase
Topic: OnScreenKeyboard for Touch Screens
Replies: 2
Views: 315

Re: OnScreenKeyboard for Touch Screens

There was an attempt to make such tool for OS4. Here is the amigans topic: https://www.amigans.net/modules/xforum/viewtopic.php?post_id=93570#forumpost93570 Unfortunately the links are not working anymore, but ask LiveForIt! Can't find on my machine, but it worked if I remember correctly. According ...