Search found 40 matches

by Andy
Sun Aug 09, 2020 9:40 am
Forum: Coding Questions
Topic: Large apk deployment
Replies: 4
Views: 1873

Re: Large apk deployment

You can store your assets on a server and have the app download them when it first launches if they do not already exist in #PB_LocalStorage. Use CreateFile with the #PB_LocalStorage flag when you have downloaded the assets to save them.
by Andy
Wed Jul 29, 2020 7:29 am
Forum: Coding Questions
Topic: Large apk deployment
Replies: 4
Views: 1873

Re: Large apk deployment

Hi. Take a look at the OpenFile() command. https://www.spiderbasic.com/documentation/file/openfile.html #PB_LocalStorage: will save the file on client side using its filename when CloseFile() is called. This file could be opened again in another session in the same browser later, but it can be wiped...
by Andy
Wed Jun 17, 2020 4:02 pm
Forum: General Discussion
Topic: [SOLVED] Linux Browser wont open on Compile/Run
Replies: 2
Views: 1739

Re: Linux Browser wont open on Compile/Run

i fixed it by allowing read/write permissions to the ".spiderbasic" hidden folder and running spiderbasic non root
by Andy
Wed Jun 17, 2020 3:02 pm
Forum: General Discussion
Topic: [SOLVED] Linux Browser wont open on Compile/Run
Replies: 2
Views: 1739

Re: Linux Browser wont open on Compile/Run

If i run the script to launch the IDE without sudo, it works but it complains about not being able to save the session *edit* looks like a bug. I get this in the terminal ERROR:zygote_host_impl_linux.cc(89)] Running as root without --no-sandbox is not supported. See https://crbug.com/638180 I'll wai...
by Andy
Wed Jun 17, 2020 2:23 pm
Forum: General Discussion
Topic: [SOLVED] Linux Browser wont open on Compile/Run
Replies: 2
Views: 1739

[SOLVED] Linux Browser wont open on Compile/Run

I am trying Spiderbasic on Linux Mint 19.3 Cinnamon 64bit. I can run the IDE no problem but when i press compile/run, nothing happens. In the preferences, i see no browser selected. I am new to Linux. What do i need to put here to launch firefox.

Thanks
by Andy
Fri Apr 10, 2020 9:41 am
Forum: Coding Questions
Topic: Rounded Box (Vector Graphics) problem
Replies: 18
Views: 5531

Re: Rounded Box (Vector Graphics) problem

sorry fred, i dont understand what you mean by reusing the component
by Andy
Sun Mar 29, 2020 8:55 pm
Forum: Coding Questions
Topic: Rounded Box (Vector Graphics) problem
Replies: 18
Views: 5531

Re: Rounded Box (Vector Graphics) problem

Thank Peter, ill definitely take a look. The only thing that bothers me with the code above is how the curved line lags behind the canvas gadget.
by Andy
Sun Mar 29, 2020 7:20 pm
Forum: Coding Questions
Topic: Rounded Box (Vector Graphics) problem
Replies: 18
Views: 5531

Re: Rounded Box (Vector Graphics) problem

This is Peters example with curves and correct positioning of the curves EnableExplicit Enumeration #Window EndEnumeration Global BackgroundCanvas Global B1, B2 Procedure DrawConnection(Box1, Box2) Protected y1 = GadgetY(Box1) + (GadgetHeight(Box1) / 2) Protected x1 = GadgetX(Box1) + (GadgetWidth(Bo...
by Andy
Sat Mar 28, 2020 7:09 pm
Forum: Coding Questions
Topic: Rounded Box (Vector Graphics) problem
Replies: 18
Views: 5531

Re: Rounded Box (Vector Graphics) problem

Global NewMap vstyle.l() Global styletxt.s Declare SetStyle() Procedure initstyle(style.s) ! elStyle = document.createElement('style') ! elStyle.type= 'text/css' ! elHead = document.getElementsByTagName('head')[0] ! elHead.appendChild( elStyle ) Protected j j=CreateJSON(-1) ParseJSON(j, ReplaceStri...
by Andy
Sat Mar 28, 2020 12:38 pm
Forum: Coding Questions
Topic: Rounded Box (Vector Graphics) problem
Replies: 18
Views: 5531

Re: Rounded Box (Vector Graphics) problem

Thanks for the vote of confidence :)