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

3 Neutral

About alfr

  • Rank

Recent Profile Visitors

308 profile views
  1. 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.
  2. 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....
  3. 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
  4. Great! The week Numbers are there so really everything we need. Thanks for investigating! Is it complicated to implement?
  5. 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); }
  6. alfr

    c++ multithreading

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

    Demo "Show Source Files" - Does not works

    Hi, Problem still active? Why does it happen?
  8. Just type in the format you need in the DisplayFormat field on the field in the table or query object. i.e DisplayFormat = #,###,###,###
  9. Wow! Thanks! I really appreciate your help!
  10. Hi, For system reasons the time value when change a ttime field by using the TUniDbDateTimePicker need to be hh:59 instead of the default values in the listbox hh:00, hh:15, hh:30, hh:45. How is it possible with js-code to replace the default listvalues with i . e "00:59","01:59","02:59"......"23:59"? UniGui Professional version
  11. Hi, Still a newbie when it comes to javascript and ClientEvents... (Would appreciate some help from Serzod/DD or somebody else) I've a form with a lot of TUniPanels (created dynamically with InsertControl. Layout=Table). On the panels are many tUniCheckboxes placed. As there are so many checkboxes I would like to change the background color on the parent TD when the checkbox is checked and cleared when the checkbox is not checked. See example where I've manually set one TD to background-color lightskyblue. How can this be done with javascript and ClientEvents? (I suppose I need to add a javascript function that is called onchange or onchangevalue, but I'm not able to get the parentNode correctly etc..) There are also other functions that dynamically checks/unchecks the checkboxes, so important that the ClientEvent not only responds on onclick, but also when the other functions checks/unchecks. Unigui version uni- (desktop).
  12. You probably need to download the theme pack as well?
  13. alfr

    How to download .apk file to handy ?

    Perhaps only a spelling problem? One ’p’ is missing in application. ’application/octet-stream’
  14. alfr


    Hi when running flexcel from a dll there is a procedure you first need to load. Don’t remember the name and is away from computer but ive Done a post here some time ago so you should be able to find it here or also more info at flexcel website
  15. alfr

    How to find out which hyper server to close?

    Well can’t you then just rename one of them...