Jump to content
uniGUI Discussion Forums

alfr

uniGUI Subscriber
  • Content Count

    30
  • Joined

  • Last visited

  • Days Won

    2

alfr last won the day on June 1

alfr had the most liked content!

Community Reputation

2 Neutral

About alfr

  • Rank
    Newbie

Recent Profile Visitors

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

    c++ multithreading

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

    Demo "Show Source Files" - Does not works

    Hi, Problem still active? Why does it happen?
  7. Just type in the format you need in the DisplayFormat field on the field in the table or query object. i.e DisplayFormat = #,###,###,###
  8. Wow! Thanks! I really appreciate your help!
  9. 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 1.70.0.1489
  10. 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-1.70.0.1489 (desktop).
  11. You probably need to download the theme pack as well?
  12. alfr

    How to download .apk file to handy ?

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

    Flexcel

    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
  14. alfr

    How to find out which hyper server to close?

    Well can’t you then just rename one of them...
  15. Found the solution - so post it here as well if somebody else is getting the same problem.... A special init is necessary if calling the 3rd part from a dll. Simplest is just to call the DllInit before using it and DllShutDown whe done. procedure CreateReport; begin FlexCelDllInit; try //Code that uses FlexCel finally FlexCelDllShutDown; end; end;
×