Search found 51 matches
- Fri Sep 03, 2021 10:54 am
- Forum: Tricks 'n' Tips
- Topic: DeleteFile in Local Storage
- Replies: 3
- Views: 7399
Re: DeleteFile in Local Storage
There is no error . The file that i want to delete come from preference.sbi Here is the debugging references.prefsGlobalVersion: 1.1b Preferences.prefsWindowWindowX: 123 sb_test1: testing 1 Preferences.prefsWindow: Preferences.prefsWindowWindowY: 124 sb_test2: testing 2 Preferences.prefsGlobalApplic...
- Fri Sep 03, 2021 8:17 am
- Forum: Tricks 'n' Tips
- Topic: DeleteFile in Local Storage
- Replies: 3
- Views: 7399
Re: DeleteFile in Local Storage
I try this function but it doesn't work ? Can someone know while Procedure DeleteFileLocalStorage(Filename.s) Debug "* DeleteFile: " + Filename EnableJS LocalForage.removeItem('sbfs_'+v_filename).then(function() { // Run this code once the key has been removed. console.log('Key is cleared!...
- Tue Aug 31, 2021 10:39 am
- Forum: Coding Questions
- Topic: Uploading file in SB without OpenFile Requester
- Replies: 1
- Views: 840
Uploading file in SB without OpenFile Requester
Newcomer in SPIDERBASIC programming, but not in PUREBasic (7 years of practice), I meet many problems related to the management of the files because of the impossibility of uploading a file without passing by OpenFileRequester. Is there a solution at the moment or is a solution planned? Example of a...
- Mon Aug 30, 2021 12:07 pm
- Forum: Showcase
- Topic: PDF generator (jsPDF)
- Replies: 22
- Views: 28280
Re: PDF generator (jsPDF)
Thanks i will try and if sucess i would say it to you and publih the result
- Mon Aug 30, 2021 6:20 am
- Forum: Showcase
- Topic: PDF generator (jsPDF)
- Replies: 22
- Views: 28280
Re: PDF generator (jsPDF)
Hi Peter,
Is-it possible to control row height with doc.table ?
Thnaks
Is-it possible to control row height with doc.table ?
Thnaks
- Sun Aug 29, 2021 11:00 am
- Forum: Tricks 'n' Tips
- Topic: Using Table In Jspdf without HTML
- Replies: 0
- Views: 5696
Using Table In Jspdf without HTML
Here is a skeleton for writing a pdf with table. Thhis program write a head title on each page and a numbering page at the bottom part of each part. If someone can implemented this work with cells heiht on each row i lwill be pleased. Procedure CloseWindowEvent() CloseWindow(EventWindow()) EndProced...
- Sun Aug 29, 2021 5:11 am
- Forum: Showcase
- Topic: PDF generator (jsPDF)
- Replies: 22
- Views: 28280
Re: PDF generator (jsPDF)
Cab someone help me to solve that's problem ? all my eveolpment is blocked by that, and i f don't solve it i will be onliged to stop
Thanks
Thanks
- Fri Aug 27, 2021 1:12 pm
- Forum: Showcase
- Topic: PDF generator (jsPDF)
- Replies: 22
- Views: 28280
Re: PDF generator (jsPDF)
THanks that's work What if I want the table to print in the PDF on each page starting at 10 from the top of the page and ending at 20 from the bottom of the page ? I try whith that but it seems not working !function demoHTML() { ! !var doc = new jsPDF(); ! source = '<html><body><p>test HTML string</...
- Fri Aug 27, 2021 10:55 am
- Forum: Showcase
- Topic: PDF generator (jsPDF)
- Replies: 22
- Views: 28280
Re: PDF generator (jsPDF)
Here is my needed. Procedure CloseWindowEvent() CloseWindow(EventWindow()) EndProcedure Procedure ScriptLoaded() DisableGadget(1, #False) EndProcedure Procedure GadgetEvents() Select EventGadget() Case 1 !var generateData = function(amount) { !var result = []; !var Data = { !coin: "100", !...
- Thu Aug 26, 2021 8:35 pm
- Forum: Coding Questions
- Topic: Array
- Replies: 1
- Views: 850
Array
I want to pass an array from spiderbasic to javascript
But that's doesnt'work
Code: Select all
Dim myarray.s(2)
myarray(1)="TOTO"
myarray(2)="TITI"
Procedure java( tableau(2) )
!alert v_tableau(1);
EndProcedure
java(myarray(2))