Search found 878 matches

by Peter
Tue May 09, 2017 9:30 pm
Forum: Javascript
Topic: d3.js library in SpiderBasic
Replies: 7
Views: 6516

Re: d3.js library in SpiderBasic

@zxretrosoft: perhaps this is a good starting point: DeclareModule D3Js Global IsInitialized Declare Init(Callback) Declare Gadget(Gadget, x, y, Width, Height, Flags = 0) Declare GetSvg(Gadget) EndDeclareModule Module D3Js Macro GetSelector ! var selector = $(spider_GadgetID(v_gadget).div).find('.di...
by Peter
Tue May 09, 2017 3:23 pm
Forum: Feature Requests and Wishlists
Topic: Set/GetDesktopTitle() and Set/GetDesktopBackgroundColor
Replies: 11
Views: 10067

Re: Set/GetDesktopTitle() and Set/GetDesktopBackgroundColor

skywalk wrote:SetWindowTitle(0, "Window0 w/PB fn") ;<-- Why does this change the browser page title?
[color=#AA0000]Fred[/color] wrote:just open a window with the #PB_Window_Background flag, then you can use Get/SetWindowTitle() to change the browser window title.
Greetings ... Peter
by Peter
Tue May 09, 2017 11:37 am
Forum: Coding Questions
Topic: TreeGadget: Expanded-Flag is lost after AddGadgetItem()
Replies: 1
Views: 1929

TreeGadget: Expanded-Flag is lost after AddGadgetItem()

Hello, the #PB_Tree_Expanded - Flag is lost after AddGadgetItem(): PureBasic: http://i.imgur.com/y4msPL5.png SpiderBasic: http://i.imgur.com/3mOmUYK.png SampleCode: EnableExplicit OpenWindow(0, 0, 0, 355, 180, "TreeGadget", #PB_Window_SystemMenu | #PB_Window_ScreenCentered) TreeGadget(0, 1...
by Peter
Fri May 05, 2017 3:40 pm
Forum: Tricks 'n' Tips
Topic: Closable (& disableable) PanelGadget-Items with Callback
Replies: 6
Views: 5596

Re: Closable PanelGadget-Items with Callback

Is this bug in Chrome? i guess, this is a bug in the Dijit Flat-CSS (the Aeroglass-CSS seems to be ok). The first posting is updated with an improved code. Greetings ... Peter // Edit: Ups! There is a bug in the code above. Stay tuned... :ugeek: // Edit2: Code improved again. Should work now... :P
by Peter
Fri May 05, 2017 9:24 am
Forum: Tricks 'n' Tips
Topic: Closable (& disableable) PanelGadget-Items with Callback
Replies: 6
Views: 5596

Closable (& disableable) PanelGadget-Items with Callback

Hello, here is a code for implementing a Close-Button for PanelGadget-Items: http://i.imgur.com/XoJk6N0.png EnableExplicit Procedure PanelGadgetSetItemCloseCallback(Gadget, Position, Callback) If GadgetType(Gadget) <> #PB_GadgetType_Panel : ProcedureReturn : EndIf If Position < 0 : Position = 0 : En...
by Peter
Tue Apr 25, 2017 8:47 pm
Forum: General Discussion
Topic: These days are like...
Replies: 30
Views: 15976

These days are like...

... where's Fred?

Image
by Peter
Mon Apr 24, 2017 2:58 pm
Forum: Feature Requests and Wishlists
Topic: Open a ComboBoxGadget - List by clicking on the text
Replies: 2
Views: 2481

Re: Open a ComboBoxGadget - List by clicking on the text

got it. Not perfect, but better than nothing... Enumeration #myWindow #myComboBox EndEnumeration Procedure ComboBoxGadgetFocusEvent() Protected GID = GadgetID(#myComboBox) ! dijit.byId(v_gid.gadget.id).toggleDropDown(); EndProcedure If OpenWindow(#myWindow, 0, 0, 270, 85, "ComboBoxGadget",...
by Peter
Mon Apr 24, 2017 1:33 pm
Forum: Feature Requests and Wishlists
Topic: Open a ComboBoxGadget - List by clicking on the text
Replies: 2
Views: 2481

Open a ComboBoxGadget - List by clicking on the text

Hello, a non-editable ComboBoxGadget should open its items when clicking on the Text (like in PureBasic): Example: If OpenWindow(0, 0, 0, 270, 85, "ComboBoxGadget", #PB_Window_SystemMenu | #PB_Window_ScreenCentered) ComboBoxGadget(0, 10, 10, 250, 25, #PB_ComboBox_Editable) AddGadgetItem(0,...
by Peter
Thu Apr 13, 2017 12:00 pm
Forum: Coding Questions
Topic: Creating Android-Apps on Linux
Replies: 5
Views: 4655

Creating Android-Apps on Linux

Hello Fred,

it' a pity that creating Android-Apps is only possible on Windows.

Image

How good are the chances that SpiderBasic is able to create Android-Apps on Linux?

Thanks in advance & Greetings ... Peter