NetTalk Central

Author Topic: Browse Button CSS settings are being ignored.  (Read 3416 times)

spot1701

  • Jr. Member
  • **
  • Posts: 77
    • View Profile
Browse Button CSS settings are being ignored.
« 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.
Thanks

Bryan

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11239
    • View Profile
Re: Browse Button CSS settings are being ignored.
« Reply #1 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

spot1701

  • Jr. Member
  • **
  • Posts: 77
    • View Profile
Re: Browse Button CSS settings are being ignored.
« Reply #2 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)
Thanks

Bryan

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11239
    • View Profile
Re: Browse Button CSS settings are being ignored.
« Reply #3 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

spot1701

  • Jr. Member
  • **
  • Posts: 77
    • View Profile
Re: Browse Button CSS settings are being ignored.
« Reply #4 on: June 11, 2009, 07:34:00 AM »
Ah.. Cunning  ;D
Thanks

Bryan