NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: spot1701 on June 10, 2009, 01:56:57 AM

Title: Browse Button CSS settings are being ignored.
Post by: spot1701 on June 10, 2009, 01:56:57 AM
4.32. C 6.3 9059
NetWebBrowse Settings.
CSS Class tab.
Anything entered into the "Buttons (below browse)" field is ignored. It always just uses the default CSS for browse buttons.
Title: Re: Browse Button CSS settings are being ignored.
Post by: Bruce on June 10, 2009, 10:09:09 PM
Hi Bryan,

yes, thanks for the report.

that setting there has, in effect, been deprecated. The class for the buttons is set globally, in the WebServer procedure, on the Buttons tab.

They can also be over-ridden in the procedure, but at this time only in source code. eg
p_web.site.nextbutton.class = "myClass"
A complete list of the button names is in netweb.inc.
and indeed a complete list of their properties is there as well.

Cheers
Bruce
Title: Re: Browse Button CSS settings are being ignored.
Post by: spot1701 on June 11, 2009, 12:49:41 AM
Perfect.

One small thing. There is a typo in netweb.inc

NET:WEB:DeletebButton      Equate(4)

 8)
Title: Re: Browse Button CSS settings are being ignored.
Post by: Bruce on June 11, 2009, 05:39:56 AM
Hi Bryan,

No, it's not a typo. <g>.
There are 2 delete buttons, the one on the browse (hence the b) and also one for the Form.

Cheers
Bruce
Title: Re: Browse Button CSS settings are being ignored.
Post by: spot1701 on June 11, 2009, 07:34:00 AM
Ah.. Cunning  ;D