Jump to content

bahry

uniGUI Subscriber
  • Posts

    156
  • Joined

  • Last visited

  • Days Won

    2

Posts posted by bahry

  1. Dear Farshad,

    I would like to suggest if you can make a new section in the forum for [Components] each component has its own

    section, in this case all related topics for each component in its own, and keeps the general section for general questions 

    about UniGui.

    I think "day by day" we will have a complete knowledge base for all components. 

     

    Regards to All

    Bahry

    • Upvote 1
  2. Hi,

    Actually I copy the CalendarPanel from the example and also copied the CSS and put it in UniServerModule -> CustomCSS:

    but nothing changed, and the background remained white and even the fonts is white.

     

    Regards

     

    Hi,

     

    You can analyze this demo:

     \FMSoft\Framework\uniGUI\Demos\Desktop\CalendarPanel

    UniCalendar -> Calendars property

     

    and

     

    UniServerModule -> CustomCSS:

     

    for example for CalendarID=4

    .ext-color-4,
    .ext-ie .ext-color-4-ad,
    .ext-opera .ext-color-4-ad {
        color: #aa00aa;
        background: #xxxxxx; <------------------------
    }
    .ext-cal-day-col .ext-color-4,
    .ext-dd-drag-proxy .ext-color-4,
    .ext-color-4-ad,
    .ext-color-4-ad .ext-cal-evm,
    .ext-color-4 .ext-cal-picker-icon,
    .ext-color-4-x dl,
    .ext-color-4-x .ext-cal-evb {
        background: #aa00aa;
    }
    .ext-color-4-x .ext-cal-evb,
    .ext-color-4-x dl {
        border-color: #007700;
    }

    Best regards.

  3. Dea Mohammad,

     

    You can use js code to redirect the user to other site. Closing the app! is not good idea it is a web app. Why you want to close it, unless you mean 'session' then after redirect there is a timeout interval and then the session will close auto.

     

    Yes that's true, but I need to put a logout button when the user press it, it will terminate it's session and direct him to the "Lets say" company main Page.

     

    Regards

  4. the project: http://3msoft.net/mhmd/Jordan.rar

     

    Here is a working project (with .exe), but I don't know why you want to change default theme of the button, I recommended to let framework manage that :-)

     

    Sencha Extjs / Touch has a built in themes and it's cross-browser, they already did the hard work for us, so we can focus in back-end and leave the front-end to the framework to manage...

     

    Dear Mohammad,

    Thanks a lot, I appreciate your help.

     

    Regards

    Bahry

  5. Hi,

     

    Sorry, Can you clarify your question again please?! Maybe I didn't quite understand your question, because the code above works fine for me

    I copied the same code to a new project with default theme and it works fine, but if I change the theme to lets say win 10 it will not work the background color will take the theme color.

     

    Regards

  6. Hi,

    Am trying to change the background color of "TUniMenuButton" without success I've seen the following link


    and I have made the same steps

     

    the name of the control is btnTest

    in the 

    ExtEvents:

     function added(sender, container, pos, eOpts)

    {

      sender.addCls('bntTest');


    in the 

    UniEvents:

    function beforeInit(sender, config)

    {

      config.cls="bntTest";

    }

    in ServerModule 

    CustomCSS:

     

    .bntTest

    {

     background:#1892d1 !important;

     color:#fff !important;

     -webkit-transition: background 0.5s ease-in-out;

     transition: background 0.5s ease-in-out;

    }

    .bntTest:hover

    {

     background:#828282 !important;

     -webkit-transition: background 0.5s ease-in-out;

     transition: background 0.5s ease-in-out;

    }

     

    Is the above code correct or do I have to make any changes.

     

    Regards

     

     

     

  7. Hi,

    After installing CGDevTools, I become not able to install UniGui. " latest version 95.0.1044 With Delphi XE5"

    - SynEdit_R2015 compiled OK.

    SynEdit_D2015 compiled OK, but when I try to install it gives me an Error Can't load  package SynEdit_R2015 it contains unit SynUsp10 which is also contained in package  SynEdit_RX5

    - In package uniGui19vcl I removed the SynEdit_R2015 from requires and the XE5 compiler replace it with SynEdit_RX5 .

    - Package uniGui19dcl compiled ok but when I try to install, it gives me the error:

       'Unit uniXSyntaxEditor was compiled with a different version of SynEdit.TSynEdit'

     

    Regards

     

     

     

     

×
×
  • Create New...