pro_imaj Posted November 27, 2017 Share Posted November 27, 2017 Merhaba; Calendar Panelde gösterilen bilgilerde StartDate ve Title bilgileri gösteriliyor bunu değiştirebilir miyiz? Quote Link to comment Share on other sites More sharing options...
Sherzod Posted November 28, 2017 Share Posted November 28, 2017 Hi, Sorry, Can you translate into English? Quote Link to comment Share on other sites More sharing options...
pro_imaj Posted November 28, 2017 Author Share Posted November 28, 2017 Can I add the start time in the calendar view in addition to the end time in the calendar application? The following 1 - Start Time am-pm problem (I want to have 24 hours) 2 - I want to add the End Time field Quote Link to comment Share on other sites More sharing options...
Freeman35 Posted November 28, 2017 Share Posted November 28, 2017 function eventsrendered(sender, eOpts) {//detay tablonun, caption with hight ve saat bilgilerini ismek için var me=sender; if (me.xtype == "monthview") { me.el.select('.ext-cal-ev-more a').elements.forEach(function(el){ el.innerHTML=el.innerHTML.replace(/more/gi, 'devamı'); el.addEventListener('click', function(){ Ext.defer(function() { me.detailPanel.setTitle('Yeni başlık'); me.detailPanel.setWidth(600); me.detailPanel.setHeight(200); }, 10) }); }); //This code remove time string, me.el.select('.ext-cal-ev div').elements.forEach(function(el){ el.innerHTML=el.innerHTML.substring(el.innerHTML.indexOf(" ") + 1); }); }; } Just Add time info or what you want to see in delphi code via TUniCalendarEvent.Title example: TUniCalendarEvent.Title:= FormatDateTime('yy.mm.dd', TUniCalendarEvent.StartDate) + ' - ' FormatDateTime('yy.mm.dd', TUniCalendarEvent.EndDate) + ' -> falan filan' Quote Link to comment Share on other sites More sharing options...
pro_imaj Posted November 28, 2017 Author Share Posted November 28, 2017 The moon is improving but the problem persists on the day and week. (12:00 am?) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.