Search found 15 matches

by Angelo
Fri Aug 18, 2017 12:22 pm
Forum: Coding Questions
Topic: Selecting items in ListIconGadget
Replies: 2
Views: 2752

Re: Selecting items in ListIconGadget

Thanks, Peter, for the link to the answer you gave a couple of days before (shame on me that I didn't search more accurately ...)

But I have another question:
In deed, I can select item 5 with the help of your workaround. But starting from that point, the cursor keys show no effect. So, I have to ...
by Angelo
Fri Aug 18, 2017 8:14 am
Forum: Coding Questions
Topic: Selecting items in ListIconGadget
Replies: 2
Views: 2752

Selecting items in ListIconGadget

Something must be wrong with the following code! Because:
Neither the third item is selected (which I expected because of SetGadgetState(1,2)) nor do the cursor up/down keys show any effect.
But when I click an item inside the ListIconGadget, I can move up and down in the list with the cursor keys ...
by Angelo
Wed Aug 16, 2017 9:12 am
Forum: Coding Questions
Topic: Problem with AddKeyboardShortcut()
Replies: 0
Views: 2387

Problem with AddKeyboardShortcut()

I created the shortcut #PB_Shortcut_Return via AddKeyboardShortcut(). When I run my application on local host , hitting Return results in the action that I wanted (i. e. set a specific text of a TextGadget). But when I do it on my webspace nothing happens. Could it be, that this is a browser problem ...
by Angelo
Wed Feb 15, 2017 7:03 pm
Forum: Coding Questions
Topic: JDK path
Replies: 2
Views: 2593

Re: JDK path

Thanks, Fred. It works!
by Angelo
Tue Feb 14, 2017 7:11 pm
Forum: Coding Questions
Topic: JDK path
Replies: 2
Views: 2593

JDK path

I just installed the new SB 2.0 and was very eager to create an Android App. So, I set the JDK path under Preferences > Compiler (on my computer it is: C:\Program Files (x86)\Java\jdk1.8.0_112\bin). But when I opened this compiler tab a second time, the text field for the JDK 1.8+ path was empty ...
by Angelo
Wed Jul 22, 2015 10:48 am
Forum: Coding Questions
Topic: Unexpected behavior of the ListIconGadget
Replies: 0
Views: 4504

Unexpected behavior of the ListIconGadget

I took the example from the SpiderBasic help and extended it a little bit by selecting the first row and by implementing an EventHandler for the gadget:
Procedure ListHandler()
Debug "List event occurs"
EndProcedure

If OpenWindow(0, 100, 100, 300, 100, "ListIcon Example", #PB_Window_SystemMenu ...
by Angelo
Mon Jul 20, 2015 8:47 am
Forum: Coding Questions
Topic: Shortcuts
Replies: 2
Views: 3260

Re: Shortcuts

Thanks!
by Angelo
Sun Jul 19, 2015 5:54 pm
Forum: Coding Questions
Topic: Shortcuts
Replies: 2
Views: 3260

Shortcuts

Is it possible to define shortcuts like in PureBasic?

Code: Select all

AddKeyboardShortcut(#window, #PB_Shortcut_Return, 1)
by Angelo
Sat Jul 18, 2015 1:00 pm
Forum: Feature Requests and Wishlists
Topic: Title of the browser's tab
Replies: 2
Views: 5416

Title of the browser's tab

So far, the "title line" in the html-file is always

Code: Select all

<title>SpiderBasic</title>
and it can only be changed by opening and changing the html-file itself.
It would be nice if the developer could change the title via SB-code. My suggestion:

Code: Select all

SetTitle("my title")
by Angelo
Wed Jul 15, 2015 7:23 pm
Forum: Coding Questions
Topic: HTTPRequest
Replies: 3
Views: 4013

Re: HTTPRequest

Problem solved:
Although not using any Umlauts or spaces, I applied the function UrlEncoder() for the URL string. And now everything works as it should.