Search found 625 matches

by lazi
Wed Jun 02, 2021 9:54 am
Forum: RapaGUI
Topic: Wrong window position after reopen
Replies: 4
Views: 2178

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: 3
Views: 2074

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: 44
Views: 69157

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: 4783

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: 2284

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: 2284

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: 2284

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: 2507

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 ...
by lazi
Sat May 01, 2021 7:37 am
Forum: Newbie questions
Topic: External Ip Address?
Replies: 7
Views: 3823

Re: External Ip Address?

This is what I use for get WAN IP of the network: Function p_getip() Local err=?OpenConnection (1,"checkip.dyndns.org",80) If err=0 SendData(1,"GET index.html HTTP/1.0\r\n\r\n") Local a$=ReceiveData(1,#RECEIVEALL) a$=UnrightStr(a$,FindStr(a$,"<body>")+6) a$=LeftStr(a$,F...
by lazi
Sun Apr 04, 2021 10:01 pm
Forum: Announcements
Topic: Hollywood 9.0: Sugarcane released!
Replies: 43
Views: 57619

Re: Hollywood 9.0: Sugarcane released!

This topic is for the great news that the most actively developed Amiga software has a new release. Please use the off-topic section of this board for personal thoughts. I am really interested all about you, dear friends in Hollywood, but please keep in mind that a new user may be disturbed if the p...