Search found 884 matches

by Peter
Mon May 22, 2017 2:33 pm
Forum: Tricks 'n' Tips
Topic: Module: AceEditorGadget
Replies: 1
Views: 2650

Module: AceEditorGadget

Hello, here's an implementation of the Ace-Editor (https://ace.c9.io/). http://i.imgur.com/dbCBQw2.png Ace is an embeddable code editor written in JavaScript. It matches the features and performance of native editors such as Sublime, Vim and TextMate. It can be easily embedded in any web page and Ja...
by Peter
Sat May 20, 2017 3:45 pm
Forum: Coding Questions
Topic: Using other gui framework
Replies: 6
Views: 2758

Re: Using other gui framework

IdeasVacuum wrote:Peter, can we see your code to learn how to incorporate w2ui?
-> http://forums.spiderbasic.com/viewtopic.php?f=9&t=1182

Greetings ... Peter
by Peter
Sat May 20, 2017 3:44 pm
Forum: Tricks 'n' Tips
Topic: Module: w2uiGridGadgetLight
Replies: 4
Views: 4275

Module: w2uiGridGadgetLight

Hello this is a rudimentary code to show how to use the w2ui-Grid with SpiderBasic http://i.imgur.com/MrtL9Sd.png Prerequisites: Download the the necessary css- und js-files from http://w2ui.com/web/ and extract them under resources/w2ui in your application directory w2uiGridGadgetLight.sbi EnableEx...
by Peter
Sat May 20, 2017 10:58 am
Forum: Coding Questions
Topic: Problem with variable inside two '
Replies: 2
Views: 1920

Re: Problem with variable inside two '

Code: Select all

a.s="10px"
! var ...;top:" + v_a + ";left:...
by Peter
Fri May 19, 2017 1:48 pm
Forum: Coding Questions
Topic: Using other gui framework
Replies: 6
Views: 2758

Re: Using other gui framework

you can use w2ui on top of the existing SpiderBasic-UI:

Image

Greetings ... Peter
by Peter
Fri May 19, 2017 8:54 am
Forum: Coding Questions
Topic: Weird problem after ELSE
Replies: 8
Views: 3805

Re: Weird problem after ELSE

nicalejo wrote:You have free beers if you come to Valencia, Spain.
Image
Cheers!
by Peter
Fri May 19, 2017 8:34 am
Forum: Coding Questions
Topic: Weird problem after ELSE
Replies: 8
Views: 3805

Re: Weird problem after ELSE

ah, now i see :P there are 2 'player2' - StringGadgets in your Xml (and no 'player4'): " <text text='Player #1' />" + " <string name='player1' text='' width='200' />" + " <text text='Player #2' />" + " <string name='player2' text='' width='200' />" + " <t...
by Peter
Fri May 19, 2017 7:46 am
Forum: Coding Questions
Topic: Weird problem after ELSE
Replies: 8
Views: 3805

Re: Weird problem after ELSE

Hope someone can debug and find the explanation for the freezing of the application. no problems here: http://i.imgur.com/XWJfCdX.gif Perhaps it is a good idea, to start your application after messi.js is loaded: !$("head").append("<link rel='stylesheet' type='text/css' href='Data/js...
by Peter
Thu May 18, 2017 10:29 pm
Forum: Coding Questions
Topic: JS-Array <-> SB-Array & JS-JSON <-> SB-JSON?
Replies: 1
Views: 1504

Re: JS-Array <-> SB-Array & JS-JSON <-> SB-JSON?

ok, here's my first attempt for JavaScript-Array <-> SpiderBasic-Array and vice versa: Converting a SpiderBasic-Array to a JavaScript-Array: Procedure SbArrayToJsArray(*SbArray, Clone = #False) If Clone ! return p_sbarray.array.slice(0); Else ! return p_sbarray.array; EndIf EndProcedure Example (JsA...
by Peter
Thu May 18, 2017 4:53 pm
Forum: Coding Questions
Topic: Weird problem after ELSE
Replies: 8
Views: 3805

Re: Weird problem after ELSE

!$("head").append("<link rel='stylesheet' type='text/css' href='Data/js/messi.css' />"); !$.getScript("Data/js/messi.js", loadok); !function loadok() !{ Debug "OK" !} i guess, that the path of the css- or js-file is not ok. Try to check the browser-console fo...