Jump to content

gschoon

uniGUI Subscriber
  • Posts

    16
  • Joined

  • Last visited

Posts posted by gschoon

  1. I try to make my own colered buttons (TUniSpeedButton).
    The normal and hover colors are OK,
    but the active color not.
     
    My CustomCSS looks like this:

    .btnMenu {border-radius:5px;
        background-color: rgb(211,235,225) !important;
        border: 1px solid rgb(142,28,36); }

    .btnMenu:hover {background-color: rgb(168,215,194) !important; }

    .btnMenu:active {background-color: rgb(131,199,170) !important; }


    Mainform.OnCreate:

    btnNieuws.ClientEvents.ExtEvents.Values['afterrender']:=
    'function afterrender(sender, eOpts)'#13#10'{'#13#10' sender.addCls('#39'btnMenu'#39') ;'#13#10'}';

×
×
  • Create New...