Search found 27 matches

by saboteur
Thu Sep 24, 2020 2:56 pm
Forum: Feature Requests and Wishlists
Topic: List of visual CSS parameters in help
Replies: 0
Views: 2554

List of visual CSS parameters in help

Hi, It would be realy helpfull to have a complete list of what visual features can be controlled through CSS. E.G to change the default font of a window use : ! $(".spiderwindow").css("font-family", "Calibri"); ! $(".spiderwindow").css("font-size", &...
by saboteur
Mon Sep 21, 2020 9:24 am
Forum: Coding Questions
Topic: CreateMenu and style
Replies: 14
Views: 3582

Re: CreateMenu and style

Good tip and thanks for the info :D
by saboteur
Mon Sep 21, 2020 8:50 am
Forum: Coding Questions
Topic: CreateMenu and style
Replies: 14
Views: 3582

Re: CreateMenu and style

Dammit, that's really frustrating.

How did you find that ? I went throught the inspector in firefox and couldn't even see that.

Thanks again peter, you clearly know your stuff.
by saboteur
Mon Sep 21, 2020 7:53 am
Forum: Coding Questions
Topic: CreateMenu and style
Replies: 14
Views: 3582

Re: CreateMenu and style

Hi peter, Sorry for the delay. If OpenWindow(0, 100, 150, 600, 30, "Menu style test", #PB_Window_TitleBar|#PB_Window_ScreenCentered) ResizeWindow(0, #PB_Ignore, 5, #PB_Ignore, #PB_Ignore) If CreateMenu(0, WindowID(0)) MenuTitle("Menu 1") MenuItem( 1, "option 1", ImageID...
by saboteur
Fri Sep 18, 2020 2:59 pm
Forum: Coding Questions
Topic: CreateMenu and style
Replies: 14
Views: 3582

Re: CreateMenu and style

Ok this is really frustrating, my window is x pixels wide, my menu seems to fill the entire width of x pixels but the backcolour only fills each 'heading' leaving a whitespace for the remainder of the width of the window. I'm guessing it's in a div, but how can i either match that colour to the back...
by saboteur
Thu Sep 17, 2020 2:59 pm
Forum: Coding Questions
Topic: CreateMenu and style
Replies: 14
Views: 3582

Re: CreateMenu and style

Brilliant Peter, many thanks.
by saboteur
Thu Sep 17, 2020 2:43 pm
Forum: Coding Questions
Topic: CreateMenu and style
Replies: 14
Views: 3582

Re: CreateMenu and style

As usual Peter thankyou.

Is it possible to change the actual menu style, not just the items ( I dont want black text on a white background ) ?

Cheers
by saboteur
Thu Sep 17, 2020 1:43 pm
Forum: Coding Questions
Topic: CreateMenu and style
Replies: 14
Views: 3582

CreateMenu and style

Hi all, I'd like to style a menu made with CreateMenu and looking through the css for dojo i've found quite a few menu entries but none seem to affect the syle in any way whatsoever. I thought it would be the .dijitMenu entry but nope. Can anyone point me in the right direction ? As an aside, as eve...
by saboteur
Fri Jul 19, 2019 7:38 am
Forum: Tricks 'n' Tips
Topic: SB & PB JSON-RPC CGI
Replies: 2
Views: 2708

Re: SB & PB JSON-RPC CGI

Many thanks for the example, will try to work my way through this today.

I'm assuming that : if my webserver runs on a linux machine then the cgi must be written and complied using PB on a linux machine ?
by saboteur
Wed Jul 17, 2019 9:58 am
Forum: Coding Questions
Topic: VB Script
Replies: 11
Views: 3792

Re: VB Script

I'd love to see some examples of using PB to create a (F)CGI and then integrating it with a Siderbasic program. I've just got database access working as i like it using PHP PDO as this is what i've been used to, but I have no understanding of CGI and tbh SB's help is, well, not a lot of help. If it ...