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 ...
Search found 15 matches
- Fri Aug 18, 2017 12:22 pm
- Forum: Coding Questions
- Topic: Selecting items in ListIconGadget
- Replies: 2
- Views: 2752
- 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 ...
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 ...
- 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 ...
- Wed Feb 15, 2017 7:03 pm
- Forum: Coding Questions
- Topic: JDK path
- Replies: 2
- Views: 2593
Re: JDK path
Thanks, Fred. It works!
- 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 ...
- 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 ...
Procedure ListHandler()
Debug "List event occurs"
EndProcedure
If OpenWindow(0, 100, 100, 300, 100, "ListIcon Example", #PB_Window_SystemMenu ...
- Mon Jul 20, 2015 8:47 am
- Forum: Coding Questions
- Topic: Shortcuts
- Replies: 2
- Views: 3260
Re: Shortcuts
Thanks!
- 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)
- 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
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
<title>SpiderBasic</title>
It would be nice if the developer could change the title via SB-code. My suggestion:
Code: Select all
SetTitle("my title")
- 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.
Although not using any Umlauts or spaces, I applied the function UrlEncoder() for the URL string. And now everything works as it should.