Search found 220 matches

by SparrowhawkMMU
Mon Jan 11, 2016 8:59 pm
Forum: Coding Questions
Topic: multiple windows - advice on design
Replies: 2
Views: 2556

multiple windows - advice on design

I am building a web UI for a PHP-based API (which I also wrote). This will require multiple windows but only one (or at most 2) should be visible at any one time. Should I create all windows up front and hide the ones I do not need, or is there a way to structure the code to allow windows to be open...
by SparrowhawkMMU
Sat Jan 09, 2016 4:20 pm
Forum: Feature Requests and Wishlists
Topic: Expand HTTP request types
Replies: 2
Views: 3677

Re: Expand HTTP request types

#PB_HTTP_HEAD and #PB_HTTP_OPTIONS would be useful too - some RESTful APIs require the former and I know one of our own systems make use of the latter
by SparrowhawkMMU
Sat Jan 09, 2016 3:47 pm
Forum: General Discussion
Topic: Some questions about SB
Replies: 4
Views: 4438

Re: Some questions about SB

Just bought my license. I very much like the recent improvements and think that this is going very much in the right direction.

Thanks Fred for a great product :)
by SparrowhawkMMU
Mon Oct 12, 2015 11:02 am
Forum: Coding Questions
Topic: Select an item in the table
Replies: 6
Views: 3301

Re: Select an item in the table

Yes thank you Peter: Works great. :)
by SparrowhawkMMU
Fri Oct 09, 2015 3:44 pm
Forum: Coding Questions
Topic: Select an item in the table
Replies: 6
Views: 3301

Re: Select an item in the table

Apologies for jumping in on your thread, but I wondered whether you could explain one more thing: In the above example, how would I tell whether a checkbox had been selected on the selected row? I have tried various approaches including the following change to the ListIconGadget_Cities_Event() proce...
by SparrowhawkMMU
Fri Sep 11, 2015 1:15 pm
Forum: Coding Questions
Topic: How to call web service running on Apache on same dev Mac?
Replies: 3
Views: 2716

Re: How to call web service running on Apache on same dev Ma

I got it working without doing a global Apache change by sticking the following line in the PHP class that renders the response (dev only, it'll be more specific for live):

Code: Select all

header("Access-Control-Allow-Origin:*");
Thanks again for your help :)


Edit: fixed a typo
by SparrowhawkMMU
Fri Sep 11, 2015 7:43 am
Forum: Coding Questions
Topic: How to call web service running on Apache on same dev Mac?
Replies: 3
Views: 2716

Re: How to call web service running on Apache on same dev Ma

Cheers Phil, that's great. I'll try it our later today.

Ah yes, Access-Control-Allow-Origin "*" . Embarassingly I should have known that... one of our front end devs told me about it a while back.
by SparrowhawkMMU
Thu Sep 10, 2015 2:56 pm
Forum: Coding Questions
Topic: How to call web service running on Apache on same dev Mac?
Replies: 3
Views: 2716

How to call web service running on Apache on same dev Mac?

Hi there, Hopefully this is a simple question to answer for SpiderBasic experts. Currently I have an API serving JSON responses on HTTP port 80 (Apache) on my local dev Mac. If I curl the API locally I get responses. Similarly, if I set up a web page page served locally that makes a GET or POST requ...
by SparrowhawkMMU
Thu Aug 20, 2015 10:03 am
Forum: General Discussion
Topic: Some questions about SB
Replies: 4
Views: 4438

Re: Some questions about SB

Salut Fred,

Many thanks for your reply. I will keep working on my test project; SB is looking good to me so far and I think I will probably be buying a license soon.
by SparrowhawkMMU
Wed Aug 19, 2015 3:30 pm
Forum: General Discussion
Topic: Some questions about SB
Replies: 4
Views: 4438

Some questions about SB

Hi, I could not find this on the main site (but I could well have missed it!). Purchasing: a) Is the license cross platform i.e. if I buy the Personal Edition, do I get Mac, Windows and Linux included? b) Can I install SpiderBasic on all my personal computers, as I can with my copy of PureBasic? c) ...