Page 1 of 2

SpiderBasic 2.31 final is out !

Posted: Thu Apr 16, 2020 7:26 pm
by Fred
Hello,

- final version is out, thanks for the testing !

- beta 2 is available, you can get it on your online account !

The beta version of SpiderBasic 2.31 is available on your online account. It's a bug fix release, so don't hesitate to try out with your project to check if everything is alright.

Have fun !

The Fantaisie Software Team.

Re: SpiderBasic 2.31 beta 1 available !

Posted: Thu Apr 16, 2020 8:13 pm
by Peter
Thank you for the new version, Fred! :D

Greetings... Peter

Re: SpiderBasic 2.31 beta 1 available !

Posted: Fri Apr 17, 2020 4:43 am
by majikeyric
Thanks Fred :D

Re: SpiderBasic 2.31 beta 1 available !

Posted: Fri Apr 24, 2020 6:24 am
by Arbrakaan
Thanks ! :)

Re: SpiderBasic 2.31 beta 1 available !

Posted: Fri Apr 24, 2020 10:45 am
by munfraid
Thanks, great news! :)

It's so good to read those 'fixed' postings! :)

Re: SpiderBasic 2.31 beta 1 available !

Posted: Sun Apr 26, 2020 5:12 am
by Stefan
Where can I read which bugs have been fixed?
Is the Ide now usable under Linux?
Then I would immediately extend my account.

Re: SpiderBasic 2.31 beta 1 available !

Posted: Wed May 06, 2020 2:31 pm
by Dirk Geppert
Many thx Fred, for the new beta version and the further development of Spiderbasic.

There are still problems within the WebGadget():
SetGadgetItemText(Gadget, #PB_Web_HtmlCode, Html) does not work with more complex html..

Since version 2.31, it only works like this:

Code: Select all

CompilerIf #PB_Compiler_OS=#PB_OS_Web
 CompilerIf #PB_Compiler_Version=230
  !var _load=$.fn.load;
  !$.fn.load=function(){
  !if(typeof arguments[0] ==="function") return $(this).on("load",arguments);
  !return _load.apply(this,arguments);};
 CompilerEndIf
CompilerEndIf

Code: Select all

Procedure SetWebGadgetHtml(Gadget, Html.s)
 
  If GadgetType(Gadget)=#PB_GadgetType_Web
    ! var iframe = $(spider_GadgetID(v_gadget).div).find("iframe");
    ! iframe.contents().find("html").html(v_html);
    ! $(iframe).load(function(e) {
    !   iframe.contents().find("html").html(v_html);
    ! });
  EndIf

EndProcedure


Re: SpiderBasic 2.31 beta 1 available !

Posted: Wed May 06, 2020 5:39 pm
by Peter
Dirk Geppert wrote:SetGadgetItemText(Gadget, #PB_Web_HtmlCode, Html) does not work with more complex html.
In the absence of a complex HTML: Can you try this one with your HTML?

Code: Select all

EnableExplicit

OpenWindow(0, 0, 0, 800, 600, "WebGadget", #PB_Window_SystemMenu | #PB_Window_ScreenCentered)
WebGadget(0, 0, 0, 800, 600, "")
Define GID = GadgetID(0)
Define myComplexHtml.s = "<h1>Hello!</h1>"
! v_gid.gadget.srcdoc = v_mycomplexhtml;

Re: SpiderBasic 2.31 beta 1 available !

Posted: Thu May 07, 2020 5:32 am
by Dirk Geppert
Thank you, Peter. It works! :)

Re: SpiderBasic 2.31 beta 1 available !

Posted: Wed May 13, 2020 2:13 pm
by Fred
Could you do a bug report to clearly state the issue ?