Jump to content

mos

uniGUI Subscriber
  • Posts

    269
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by mos

  1. Hi Sherzod, What I need to do based on the HighCharts JFiddle example is to call: series.setData([y, y*2, y+1, y/2]); I don't want to have to redraw the whole chart as the series data will be changing quite often. How can I do this in Delphi so that the chart just updates the series?
  2. Hi, Does anyone know how I can do live chart series updating like this: Live Bar Chart Updating ? I need to be able to change the series data and have the chart update each time.
  3. Works like a charm, thank you
  4. Yes, for both daily and weekly views, I would like to hide this time stamps column. Thank you
  5. Hi this is the build Version:1.90.0 build 1534 But I've found the issue, it's about the time data being added to the event start and end date. So this instead is my issue now, is it possible to remove the timestamps on the side of the weekly and monthly view?
  6. Hi, I'm populating a unicalendarpanel via below: while not ADOQuery1.Eof do begin E := UniCalendarPanel1.Events.Add; E.CalendarId := 1; E.EventId := ADOQuery1.FieldByName('Key').AsInteger; E.Title := ADOQuery1.FieldByName('firstname').AsString + ' ' + ADOQuery1.FieldByName('surname').AsString; E.StartDate := ADOQuery1.FieldByName('startdate').AsDateTime; E.EndDate := ADOQuery1.FieldByName('enddate').AsDateTime; ADOQuery1.Next; end; While the monthly view has no problem, when I switch to weekly and daily view, there seems to be no data showing for the dates with events. Thank you
  7. How can I disable selection of particular items in a UniComboBox and also make them appear grayed out. e.g. If the combobox contains: Item 1 Item 2 Item 3 How can I make Item 2 not select-able and grayed out?
  8. Hi Sherzod, The memo is not updating after I have changed the HTML source code via the Source Edit option e.g. if I change the text color to red using the hex value I would expect to see the text displayed in red after exiting the Source Edit option.
  9. If I modify the HTML code via the Source Edit option in a UniHTMLMemo and then exit the Source Edit, the contents of the HTML memo doesn't update. How can I refresh the contents in the HTMLMemo after someone has edited the HTML source so that the changes are visible?
  10. Hi Sherzod, Thanks that worked. However I have found an issue which I have attached a project which illustrates the problem. In the example I have a PageControl which has two DBGrids which both have the More Records custom button. The issue is when I click on the UniTabSheet2 tab cross icon to close the tab sheet the More Records button disappears in the UniTabSheet1 DBGrid. Example.zip
  11. I have created a pagingbar button using the following code: function pagingBar.boxready(sender, width, height, eOpts) { this.add([ '-', { xtype: "button", text: 'More Records', width: 100, id: "moreRecsBtn", listeners: { click: function() { ajaxRequest(sender, "_moreRecs", []); } } } ]); } In the OnAjaxEvent of the DBGrid I have the following code which is suppose to change the text color of the button when it's clicked but it doesn't: if EventName = '_moreRecs' then UniSession.AddJS('Ext.getCmp("moreRecsBtn").setStyle(' + '''' + 'color' + '''' + ',' + '''' + 'red' + '''' + ');'); How can I change the text color of the button?
  12. I have also added a control to the paging bar via PagingBarAuxControl but would like the control to be closer to the other navigation buttons. Is there any way to left align the control so it next to the very last control in the bar?
  13. I need to change the background color at runtime based on the user that has logged in. In other words I need to be able to change it dynamically.
  14. I have the following code: procedure TMainForm.UniFormCreate(Sender: TObject); begin UniButton1.Color := clRed; end; However the button color does not change. How can I change the background color?
  15. Yes Enabled is set to true. I have a small UniCanvas next to a UniColorButton. When the user selects a UniColorButton I want the UniCanvas to show the selected color.
  16. Are you referring to the enabled property of the canvas?
  17. Hi Sherzod, That line was originally used to fix an issue where if you tried to set the Canvas.Color property the Canvas did not show the color.
  18. Hi Sherzod, Thanks for that. I tried to add the following line to above code but all I get is a single vertical black line: JSCode(#1'.el.query("canvas")[0].style.height="0";'); I need to add this line to get around this other issue I posted awhile ago: http://forums.unigui.com/index.php?/topic/9976-setting-tunicanvascolor-issue/&tab=comments#comment-51953 Can you tell me how I can fix this.
  19. Anywhere in the title bar area.
  20. I have set a UniPanel.Title text and would like to show a hint when someone mouses over the title. How can I enable a hint to be visible?
  21. I am trying to apply some styling to the border of a TUniCanvas using the following, but nothing appears: procedure TMainForm.UniFormShow(Sender: TObject); begin with UniCanvas1.JSInterface do begin JSConfig('style', ['border-style: solid']); JSConfig('style', ['border-width: 1px']); JSConfig('style', ['border-color: red']); end; end; If I comment out the border-width and border-color lines then the border appears. How can I apply all the border styling to the Canvas.
  22. mos

    multi css

    I need do be able to do something similar. In the URL that launches the web app will be an identifier to indicate what company a user belongs to, and based on this I need to be able to load in a CSS file which contains their settings so it can be applied to the main form. How can I achieve this?
  23. I think I have found the issue I needed to have the RecallLastTheme flag set to true on the MainModule.
  24. I am trying to set the theme after my login form has been displayed and the user has successful logged in. However when I do this the theme doesn't change. The only way it seems to work is if it's done in the UniMainModule.OnCreate event handler. Is there away to set the theme after my login form has been displayed?
×
×
  • Create New...