Sorry. Ran into a little problem. If I change the button background colour to white or $F0F0F0, the corners of the border are wiped. #Red, #Green, and most other darker colours seem ok. #Yellow isn't.
CloseDebugOutput()
Enumeration
#Window
#Button1
EndEnumeration
! // Save the original ...
Search found 12 matches
- Fri Sep 06, 2024 6:38 am
- Forum: Coding Questions
- Topic: Button with round corners
- Replies: 7
- Views: 5285
- Fri Sep 06, 2024 1:24 am
- Forum: Coding Questions
- Topic: Button with round corners
- Replies: 7
- Views: 5285
Re: Button with round corners
Thank you Peter. That looks like it'll work for me. Embedding html/css styles is a neat trick I didn't know was possible with SB.
I am pretty familiar with HTML, having used it for over 25 years. I know enough css to be dangerous and just enough js functions I've found and modified, which aren't ...
I am pretty familiar with HTML, having used it for over 25 years. I know enough css to be dangerous and just enough js functions I've found and modified, which aren't ...
- Wed Sep 04, 2024 10:16 pm
- Forum: Coding Questions
- Topic: Button with round corners
- Replies: 7
- Views: 5285
Re: Button with round corners
Thank you, Fred. I tried that. Made no difference.
Peter, the round-corner procedure works but I also would like to include a different icon in each button, left of the text. I am trying to do this without having to resort to images for each button. It will also eventually allow the user to choose ...
Peter, the round-corner procedure works but I also would like to include a different icon in each button, left of the text. I am trying to do this without having to resort to images for each button. It will also eventually allow the user to choose ...
- Wed Sep 04, 2024 4:21 am
- Forum: Coding Questions
- Topic: Button with round corners
- Replies: 7
- Views: 5285
Button with round corners
I have begun translating HTML pages I made up a few years ago into SB. One page is a menu with large size buttons with rounded corners, an icon on the left and text. Below is a fragment of code for one button. The CSS class 'buttonfont' is Arial, 16 pt, blue, bold. No doubt this is a ham-fisted ...
- Thu Nov 25, 2021 2:16 am
- Forum: Coding Questions
- Topic: Assistance with httprequest
- Replies: 3
- Views: 2589
Re: Assistance with httprequest
Thank you, that worked. I was not aware that was needed for SB. The IIS webserver is on the same computer.
- Thu Nov 25, 2021 12:35 am
- Forum: Coding Questions
- Topic: Assistance with httprequest
- Replies: 3
- Views: 2589
Assistance with httprequest
I have been unable to get httprequest to work with an exe.
I have written a very simple example I have put together.
It works from a webpage but not in SpiderBasic. Here are the details.
The exe is written in PureBasic. Source code is:
If Not InitCGI() Or Not ReadCGI()
End
EndIf
a$="<html ...
I have written a very simple example I have put together.
It works from a webpage but not in SpiderBasic. Here are the details.
The exe is written in PureBasic. Source code is:
If Not InitCGI() Or Not ReadCGI()
End
EndIf
a$="<html ...
- Tue Jan 12, 2016 11:23 pm
- Forum: Coding Questions
- Topic: Setting a gadget font
- Replies: 0
- Views: 2683
Setting a gadget font
Is it possible to set a font for a gadget such as the TextGadget or StringGadget? (Like SetGadgetFont in PureBasic.) The only reference I can find in the documentation allows setting a font for drawing. If it is not possible, is there a work-around?
Alternately, is it possible to include word-wrap ...
Alternately, is it possible to include word-wrap ...
- Tue Jan 12, 2016 11:18 pm
- Forum: Coding Questions
- Topic: Not working in Internet Explorer 10
- Replies: 5
- Views: 5726
Re: Not working in Internet Explorer 10
A further development!
I checked with the person in our education department who is in charge of updating and was told that they intend to roll out IE11 soon but have been held up because a critical piece of software does not work on it. (Works on 10.) Once that is solved then the browsers will be ...
I checked with the person in our education department who is in charge of updating and was told that they intend to roll out IE11 soon but have been held up because a critical piece of software does not work on it. (Works on 10.) Once that is solved then the browsers will be ...
- Tue Jan 12, 2016 11:16 pm
- Forum: Coding Questions
- Topic: Not working in Internet Explorer 10
- Replies: 5
- Views: 5726
Re: Not working in Internet Explorer 10
Here are the error messages...
HTML1202: http://decs0011942/bookmark/spiderwindow.html is running in Compatibility View because 'Display intranet sites in Compatibility View' is checked.
spiderwindow.html
SCRIPT438: Object doesn't support property or method 'getContext'
library.js, line 4 ...
HTML1202: http://decs0011942/bookmark/spiderwindow.html is running in Compatibility View because 'Display intranet sites in Compatibility View' is checked.
spiderwindow.html
SCRIPT438: Object doesn't support property or method 'getContext'
library.js, line 4 ...
- Tue Jan 12, 2016 1:39 am
- Forum: Coding Questions
- Topic: Not working in Internet Explorer 10
- Replies: 5
- Views: 5726
Re: Not working in Internet Explorer 10
I must have missed it. Is this documented? Where?
Thank you for alerting me to this. I am part of a huge state government network in Australia in which most PCs ( thousands) are still using Windows 7, and IE 10 was only rolled out months ago. (IE10 is mandated, we're not allowed to upgrade it, but ...
Thank you for alerting me to this. I am part of a huge state government network in Australia in which most PCs ( thousands) are still using Windows 7, and IE 10 was only rolled out months ago. (IE10 is mandated, we're not allowed to upgrade it, but ...