Search found 45 matches
- Fri Dec 22, 2023 7:19 pm
- Forum: Bugs Reports
- Topic: Android app Httprequest failing.
- Replies: 0
- Views: 4189
Android app Httprequest failing.
Hello, I have this app that used to work fine. On an HTTPRequest(#PB_HTTP_Post, URL, param, @HttpRequestCallback()) from the app the HttpRequestCallback(Success, Result$, UserData) catches the answer from server "<status ok>" To comply with Android Level 33, I had to recompile my app using...
- Tue Dec 19, 2023 1:42 pm
- Forum: General Discussion
- Topic: SpiderBasic 2.51 is available
- Replies: 17
- Views: 46882
Re: SpiderBasic 2.51 is available
Ok, I was unaware (totaly forgot) that the path to the JDK 11 is to be set in the preferences.
This solved the compilation problem.
Thanks
This solved the compilation problem.
Thanks
- Mon Dec 18, 2023 11:20 pm
- Forum: General Discussion
- Topic: SpiderBasic 2.51 is available
- Replies: 17
- Views: 46882
Re: SpiderBasic 2.51 is available
Hello, To be able to recompile an old app to fit the android level 33 requirement I used JavaUninstallTool.exe to remove java 8. Then I ran jdk-11.0.19_windows-x64_bin.exe which ends with Java 11 installed succesfully. Now the spiderbasic compile blocks at 40% if I run JavaUninstallTool.exe again, i...
- Thu Mar 23, 2023 1:27 am
- Forum: Coding Questions
- Topic: HTML button event
- Replies: 4
- Views: 1687
Re: HTML button event
Peter,
I have solved the problem, I can now call SB function from within the webgadget.
the window. object you suggested can direct to the parent like this
<button id='button1' onclick='window.parent.f_clicked(this.id)'>Alles Lezen</button>
Thanks
I have solved the problem, I can now call SB function from within the webgadget.
the window. object you suggested can direct to the parent like this
<button id='button1' onclick='window.parent.f_clicked(this.id)'>Alles Lezen</button>
Thanks
- Thu Mar 23, 2023 12:48 am
- Forum: Coding Questions
- Topic: HTML button event
- Replies: 4
- Views: 1687
Re: HTML button event
Peter,
definitly an out of scope, I've put the javascript function within the html form in webgadget and then the alertbox pops up.
Still my problem remains... how do I call function in my SB code ??
definitly an out of scope, I've put the javascript function within the html form in webgadget and then the alertbox pops up.
Still my problem remains... how do I call function in my SB code ??
- Thu Mar 23, 2023 12:31 am
- Forum: Coding Questions
- Topic: HTML button event
- Replies: 4
- Views: 1687
Re: HTML button event
Thanks for the answer Peter,
Not sure what the window.buttonclicked = buttonclicked; is supposed to do and when it is called.
but ... it doesn't make any difference
Any other ideas
Not sure what the window.buttonclicked = buttonclicked; is supposed to do and when it is called.
but ... it doesn't make any difference
Any other ideas
- Wed Mar 22, 2023 5:54 pm
- Forum: Coding Questions
- Topic: HTML button event
- Replies: 4
- Views: 1687
HTML button event
Hello, I my program I use a webgadget() in which I load a htmlpage that contains a button like this <button id='button1' onclick='buttonclicked(this.id)'>Read All</button> I my program I also have als an inline javascript function like ! function buttonclicked(id) ! { ! alert('id'); ! } When I click...
- Sun Oct 30, 2022 6:20 pm
- Forum: Coding Questions
- Topic: wrong list iteration
- Replies: 2
- Views: 862
Re: wrong list iteration
Peter ...No can do.... during a loop trough list_one, I only need to copy certain elements form list_one to list_two... Copylist however copies the entire list (according to documentation). currently i copy every single value of the structure like this List_two()\literal = List_one()\literal List_tw...
- Wed Oct 26, 2022 9:54 pm
- Forum: Coding Questions
- Topic: wrong list iteration
- Replies: 2
- Views: 862
wrong list iteration
Hello, I upgraded to 2.40 beta 1 The following code is behaving strangly different and incorrect on every browser-page-refresh (F5) Am I doing something wrong here or could this be a bug ? Structure textstructure literal.s decoration.s enterflag.i EndStructure NewList list_one.textstructure() NewLis...
- Wed Feb 09, 2022 11:16 pm
- Forum: Coding Questions
- Topic: How to fill an Array in procedure ReadCallback?
- Replies: 4
- Views: 1739
Re: How to fill an Array in procedure ReadCallback?
So, if I call the procedure DebugDaten() at the end of the program the data are lost. What's my mistake? SpiderBasic is asynchronous. You are probably reading the array before it was even filled. As Peter already pointed out, call whatever code you will use on the array from the end off the ReadCal...