-
Posts
156 -
Joined
-
Last visited
-
Days Won
2
Content Type
Profiles
Forums
Events
Posts posted by bahry
-
-
Dear Mohammad,
Very Thanks.
Works like a charm....
-
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
- 1
-
-
Put your project here to check it, if you can.
Dear Mohammad,
Very Thanks, never mind as long as it is working now, I will check it later to learn from my mistake.
Best Regards
-
Hi,
I think the problem from my side, when I create another frame and using the same procedures it works,
so I used the new one, but till now I couldn't get the reason why it's not working in the first one.
Best Regards
-
Hi,
I used it and it changes the font color, but I need to change the back color, and let the user changed the Back color according to choosed Calendar
Regards
You can use this: http://forums.unigui.com/index.php?/topic/2553-calendar-events-color/
-
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.
-
-
UniSession.Terminate('<script>window.location.href = "http://google.com";</script>');
It will terminate the session and redirect the user to specific URL.
Dear Mohammad,
Very Thanks.
Regards
-
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
-
Hi,
in Intraweb we can terminate the App and redirect the connection WebApplication.TerminateAndRedirect('http://') is
there any similar procedure in UniGui?
Regards
-
Very Thanks Mohammad,
it looks very greate
-
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
-
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
-
Hi,
If you want to change only the background color it should work.
Have you tried?!
Best regards.
The above code from my testing project, and it does not work.
Regards
-
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
-
Very nice and the price is Competitive, but does this price includes upgraded Ext JS versions like ver 5 ?
-
Dear Farshad,
I didn't install the one which comes with UniGui, I kept the SynEdit package wich came with CGDevTools, Is there a work around ?
-
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
-
Hi,
How can I activate BiDiMode := bdRightToLeft for the Form or For the components
Thanks
How to keep the slash mask in TUniDateTimePicker while the user typing
in General
Posted
Hi,
Is there a way to keep the slash mask ' / / ' in the TUniDateTimePicker so the user does need to type it
while entering the date and to keep the : in the time field ' : : '.
if the user types 01032017 which suppose to be 01/03/2017 with a date format dd/mm/yyyy on exit it will be 03/01/2017
Regards