Jump to content


  • Content Count

  • Joined

  • Last visited

  1. I'm quite surprized that you guys did not update your font and label classes after I reported a bug ages ago. Read more about it here: http://forums.smartmobilestudio.com/index.php?/topic/3856-tw3fontdetector-ignores-weight-of-font-resulting-in-wrong-text-measurements/ I even provided a fix. I'm not going to continue to be a customer when my subscription is over if you don't start fixing key issues. I have attached the patched label class. It allows for autosizing labels. SmartCL.Controls.Label.pas.zip
  2. So in my Chrome console I receive the following message: How will the team cope with it in the future? Read more: https://sites.google.com/a/chromium.org/dev/Home/chromium-security/deprecating-powerful-features-on-insecure-origins
  3. I'd like to know how I could create my own wrappers. Is there any tutorial or something? I'm interested in creating a wrapper for the following project https://github.com/auduno/clmtrackr It's a facetracker and I need it for my project. How could I create a wrapper for it?
  4. vaid

    WebCam usage?

    Thnak you Christian! I will be using the webcam for a test project only, so anything that allows me to get a webcam stream works fine.
  5. vaid

    WebCam usage?

    Hey guys. I wonder if it's possible to open a stream of my laptop camera and snap images from it?
  6. That is not solving my problem. What else could be at play here? EDIT: I've solved the problem. Please read my answer in my question on Stack Overflow. Link is in my first post.
  7. I am making a request to a PHP script on my web server and the response is always the same until I manually execute a process on the server or update the web page on the browser. You can read more about my issue here: http://stackoverflow.com/questions/35691384/lighttpd-caching-shell-exec-output?noredirect=1#comment59073516_35691384 I made a thread here on the forum last week about how I could use AJAX and @Christian-W Budde replied with excellent information which solved that problem. Now, in my latest problem I seem to need to turn of AJAX caching for my AJAX request but nothin
  8. Thank you, that should be sufficient. And I agree, arrays could be useful in some cases. But as of right now, this is all I need.
  9. Thanks Christian. Is it possible to iterate through the objects of the array using a for-loop? I need to do this as some fields might contain more or less key-value pairs. I am thinking of something like the following: for var i := 0 to length(res) - 1 do for var u := 0 to length(res[i]) - 1 do console.log(res[i][u]); I am also looking in to TW3DataSet which seems like something interesting with a more logical and straight forward way to work with JSON strings. According to the following link https://jonlennartaasenden.wordpress.com/2015/12/27/tw3dataset-smart-data-and
  10. Hi all. I'm trying to figure out how to parse a JSON string, but I can't find any proper information about it. The JSON string is an array of JSON objects which contain a few keys and values. An example: [ { "field 1" : { "A" : "1", "B" : "2", "C" : "3", "D" : "4" } }, { "field 2" : { "A" : "1", "B" : "2", "C" : "3", "D" : "4" } }, { "field 3" : { "A" : "1", "B" : "2", "C" : "3", "D" : "4" } }, { "field 4" : { "A" : "1", "B" : "2", "C" : "3", "
  11. I have one last problem that I'd like to fix that I haven't managed to fix on my own. I have an iScroll within an iScroll, lets call them child and parent. When I try to scroll child, parent also scrolls. This seems to be a known issue in the iScroll community. I have narrowed down a potential solution that I don't know how to implement on my own. Please help. Here is the solution: http://stackoverflow.com/questions/24283119/iscroll-inside-iscroll-nested-iscroll-unexpected-behavior The solution code looks like this: myScroll = new iScroll('wrapper'); myScroll2 = n
  12. Ok. it's not that important, however now I have another problem. I have an iScroll, and inside that I have another iScroll. Lets call them Parent and child. The child has a bunch of TW3Panels with OnClick events, however, they are not clickable on a mobile device, only on Chrome on my computer. I found this SO question with a few possible answers: http://stackoverflow.com/questions/8345644/iscroll-wont-let-items-be-clicked The third answer suggests that "click" should be set to "TRUE". I can not find the "click" option inside "iScroll.pas". How do I add the "click" opt
  13. That's awesome, thanks! One last question: is it possible to trigger the visibility of the scrollbar by code? I'd like to show the scrollbar for a moment just to indicate that there's more content below the visible content. Is that possible?
  14. I'm sorry, none of the above suggestions work. EDIT: @Nico Wouterse, I am interested in iScroll, but I think that I'm not doing everything properly to make it work. I have downloaded the iScroll zip file from their website, and I have put the ".js" files inside a folder called "iScroll". I then put that folder inside the "library" folder of SMS installation path. I have included the "iScroller.pas" in to my project and added a few components. But nothing happens? I even think that my project does not compile anymore to be honest. Could you give me a step by step
  • Create New...