Jump to content
uniGUI Discussion Forums


uniGUI Subscriber
  • Content Count

  • Joined

  • Last visited

  • Days Won


alfr last won the day on June 1 2019

alfr had the most liked content!

Community Reputation

4 Neutral

About alfr

  • Rank

Recent Profile Visitors

347 profile views
  1. Would be great if you in next version would be able to make sure all form controls had the same generic properties published through the Delphi interface. Today I find it hard to easily design forms as some controls have some properties published but others haven't got them. For example is the FieldLabelFont avaiable in TUniDbNumberEdit and in TUniDbDateTimePicker, but not in TUniDbEdit and TUniDBFormattedNumberEdit? Alignment is not available in TUniDbDateTimePicker and in TUniDbLookupComboBox? (Also that some controls don't have LayoutConfig published that I've as well commented in another thread.)
  2. alfr

    UniDbNumberEdit and UniDbFormattedNumberEdit

    Still not added in the later version? I assume it can't be hard to add. Can you please see to it's on the fix list for coming version?
  3. alfr

    dblookupcombobox in dbgrid

    @Freeman35 yes, I agree that in most cases this would be preferred. However in the example he was looking at and didn't understand they were using the lookup field.
  4. alfr

    SharedVariable not working with HyperServer

    ...... from link below Sessions Another important difference from classical model is that in classical model your application is able to access all available session objects while in HyperServer each Node can only access sessions which are created by that specific Node. Needless to say that each Node holds a set of sessions which are isolated from other Nodes. If you need to query all of the sessions then you need to use different methods such as saving session information in a database table. You can simply create a row in the table when session is created and remove it when session is freed. see this link more info: http://unigui.com/doc/online_help/index.html?installing-and-configuring-hyp.htm
  5. alfr

    dblookupcombobox in dbgrid

    ok, what is missing is that you also need to add a lookup field in your table1 query. This is the field that you should show in the Unidbgrid. (The CustID can be hidden) Something like the below. So in the fields editor select "New Field".
  6. alfr

    dblookupcombobox in dbgrid

    You need to specify also the datasource and datafield in the uniDbLookupcombo. They would normally be set to the same datasource as the unidbgrid. So in your case datasource should point to table1 and the datafield should be the CustID. (and the listsource should be set to the customer datasource. Keyfield = ID and ListField = Customer)
  7. alfr

    Highcharts Component

    Thanks! (I had to change from 24 to 26 on the below in the package file as I'm using a newer version of Delphi.) requires rtl, vcl, vclimg, dbrtl, soaprtl, FireDAC, FireDACCommonDriver, FireDACCommon, vcldb, uniGUI26, uniGUI26Core, uniTools26, uIndy26, bindengine, bindcomp; contains uEchoHightChart in 'source\uEchoHightChart.pas';
  8. alfr


    Sure. during/before first use - FlexCelDllInit when done/to release - FlexCelDllShutdown FlexCelDllInit Method Use this method to initialize FlexCel when encapsulating it in a dll. Note that you don't normally need to call this method, as FlexCel is initialized automatically. But when you are hosting FlexCel inside a dll instead of the main application you need to call this method before calling the methods in the dll. Currently, this method will just initialize GDI+ when running in Windows, because GDI+ can't be initialized from the dll itself. When you use this method, always call FlexCelDllShutdown before closing your app.
  9. Hi, The object TUniDbLoockupCombobox is missing the property "SelectOnFocus" as for example the object TUniDbCombobox has. (Seems to work to typecast TUniDbComboBox(unidbLookupComboBox).SelectOnFocus:=True;) but would be good if it would be visible correctly....
  10. Ok. So will it be available in a future version or something that I can implement by your instructions and code? (I'm currently using version
  11. Great! The week Numbers are there so really everything we need. Thanks for investigating! Is it complicated to implement?
  12. Hi, We use week numbers a lot. Our users/clients use them in the dialog with their customers. How can the uniDateTimePicker and unidbDateTimePicker be reconfigured to also show the week number (iso8601 week number) on the left side when the monthly calender is shown? Left - date picker calendar unigui - right other example from Outlook - with the week numbers marked with yellow. Below sample js script for calculating the week number. Would appreciate if someone with good knowledge in UniGui how to reconfigure the calender... function ISO8601_week_no(dt) { var tdt = new Date(dt.valueOf()); var dayn = (dt.getDay() + 6) % 7; tdt.setDate(tdt.getDate() - dayn + 3); var firstThursday = tdt.valueOf(); tdt.setMonth(0, 1); if (tdt.getDay() !== 4) { tdt.setMonth(0, 1 + ((4 - tdt.getDay()) + 7) % 7); } return 1 + Math.ceil((firstThursday - tdt) / 604800000); }
  13. alfr

    c++ multithreading

    Recommandation is to put session variables in mainmodule. See http://www.unigui.com/doc/online_help/main_module.htm
  14. alfr

    Demo "Show Source Files" - Does not works

    Hi, Problem still active? Why does it happen?
  15. Just type in the format you need in the DisplayFormat field on the field in the table or query object. i.e DisplayFormat = #,###,###,###