Luciano França
uniGUI Subscriber-
Posts
281 -
Joined
-
Last visited
-
Days Won
4
Content Type
Profiles
Forums
Events
Everything posted by Luciano França
-
Yes I understand that but I believe it would be possible to do something using the event "DayClick(Sender: TUniCalendarPanel; ADate: TDateTime; Allday: Boolean)" and use a code similar to this UniCalendarPanel1.ClientEvents.UniEvents.Values['beforeInit'] := 'function beforeInit(sender, config) {'+ 'sender._setBGColor = function () {'+ ' if (sender.getView() && sender.getView().activeView.xtype == "calendar-month") {'+ ' sender.el.select(''.x-calendar-weeks-cell'').elements.forEach(function(el){el.style[''background-color'']=""});'+ ' sender.store.eventSource.each(function(ev) {'+ ' dataEl = sender.el.select(''.x-calendar-weeks-cell[data-date="''+ Ext.Date.format(ev.data.startDate, ''Y-m-d'') +''"]''); '+ ' if (dataEl.elements[0]) { '+ ' dataEl.elements[0].style[''background-color'']="yellowgreen"'+ ' }'+ ' })'+ ' }'+ '}'+ '}'; Can you help me Grateful.
-
Is there a way to do what I need? actually I would like to use TUniCalendar but as it is difficult to customize by changing its size, holiday events etc... This way I want the CalendarPanel to have this click effect so the user knows the date that was selected.
-
I want, when clicked on a day, the focus turns to another color as if it were selected like TUniCalendar as if it had focused on the day by default the CalendarPanel does not change the color of the day that was clicked and it is not possible to know which day it is that is, when using the event "DayClick(Sender: TUniCalendarPanel; ADate: TDateTime; Allday: Boolean)" it should change the color of the day that was clicked
-
There is no event in the calendar when i said event i meant "DayClick(Sender: TUniCalendarPanel; ADate: TDateTime; Allday: Boolean);" what I need is that the day I click it stays in another color to show the day it was clicked
-
could you analyze it for me ? Grateful.
-
Am I missing an event? See attached example which does not work Focus Calendar Unigui.7z
-
I tried to adapt the code of this approach but I can't could someone help me ?
-
How to Focus with another color the day that was clicked with the mouse like TuniCalender ?
-
Doesn't show Day color with small UniCalendarPanel ?
Luciano França replied to Luciano França's topic in General
and would you like to paint the background of the day and show the hint ? -
Doesn't show Day color with small UniCalendarPanel ?
Luciano França replied to Luciano França's topic in General
when the calendar was small this description has the event I need it to show the color and the hint -
See the attached image when the "TUniCalendarPanel" component is small it doesn't show in another color and neither does Hint how could I change this behavior to ignore the size?
-
I tried to adapt this the code of this post but it gives error attached an example UniCalendar Day.7z
-
You shouldn't do this on unidbgrid I did it manually by putting forward and backward buttons and manually controlling I be I made my own controls don't expect everything from unigui when you can make it yourself
-
This topic explains how to increase the font size of the header but I would like to also increase the font of the days and thus increase the size of the component itself UniCalendar.Height ? UniCalendar.Width ?
-
I already searched the forum but I didn't find a solution to show more than 4 buttons i need 6 buttons
-
I'm trying this approach but it gives error I can create when I use a DataModule Free but I didn't want the Datamodules as Free See the attached example. Erro in Thread Unigui.7z
-
Key = 13 doesn't work with ListBox "Bug Unigui ?"
Luciano França replied to Luciano França's topic in General
The important thing is to work no matter how. Much obliged. -
See this example attached Is this some Unigui bug ? KeyDown ListBox.7z
-
How to add PickList from a uniDbGrid to a Button click ?
Luciano França replied to Luciano França's topic in General
Attached an example PickList DbGrid Unigui.7z -
for reasons of my logic I don't want to use an Editor, I would like to use the "PickList" but I need to add some actions that are after I have already created the form and I can't. how could I do it ?
-
I'm having trouble setting the timing and font size for Menu Hints from what I saw in this topic there is a way to do this https://extjs.cachefly.net/ext-4.0.0/docs/api/Ext.tip.QuickTipManager.html How could I do this in Unigui ?
-
how could i run this code:: Ext.create('Ext.tip.ToolTip', { target: sender.getEl(), showDelay:1, dismissDelay:99999, maxHeight: 600, maxWidth: 800, minWidth: 500, html: "<a style=''font-size:14px;''>Test com Hint</a>" }
-
How to make this code "ClientEvents.ExtEvents"
Luciano França replied to Luciano França's topic in General
It works very grateful. -
How to make this code "ClientEvents.ExtEvents"
Luciano França replied to Luciano França's topic in General
I can't use it in the form's onCreate event I need it to be in a button event because several Hints situations I will change the hint after the form has already been created