Jump to content

likemike

uniGUI Subscriber
  • Posts

    395
  • Joined

  • Last visited

  • Days Won

    8

Everything posted by likemike

  1. Hi, thanks a lot! That works for me! So the solution is to size the canvas manually and not to use alClient.
  2. Hi, I use a canvas, which could be longer than the available height of the form. So I put the canvas on a scrollbox. But there are no scrollbars visible, so I cannot scroll the canvas/scrollbox. I've added a sample (call with localhost:8222 ). The examples adds 100 lines to the canvas. I want to scroll through the canvas, but it's not possible. Thanks in advance Mike UniGui.rar
  3. Hello! I'm using the UnimBarcodescanner component. It works great. My problem is to scan a barcode, when there are other barcodes nearby. I cannot focus the correct barcode. Is there any way to scan only the barcode in the hotspot? Thanks in advance
  4. Hi Sherzod, that one is working! Thanks a lot!
  5. Hi Sherzod, the images have PNG format and Enabled:=FALSE; The "J" is not enabled, but shows no difference. I've set "AlphaJ.JSInterface.JSCall('setStyle', ['opacity', 0.5]);" (AlphaJ is the J-Image)
  6. Hello! I don't know why, but the code doesn't work on the mobile version. How can I do the same with UnimImage? Thanks in advance Mike
  7. Is this a problem of my older version?
  8. Hi! As I wrote in the title, I use an UnimPDFFrame to show PDF-documents. Some work, some not. I attach 2 documents (one works, the other doesn't). The error message is: The one, which doesn't work, has the PDF/X-3:2003-Standard. The one, whhich works has the PDF/X-1:2001-Standard. Don't know if that is the reason... Maybe this problem can be solved by updating the PDF.js. But I don't know, how to do it, and which version of PDF.js would be the best solution. Thanks in advance Mike Works.pdf Works _not.pdf
  9. Hi! This seems to be an easy problem, but I can't solve it. I do a ShowModal of an UnimForm (not fullscreen). The form is always showed vertical and horizontal centered, but I want to show the form at the top. Top:=0 doesn't work. I put some CSS in the LayoutConfig.CLS, but the form remains centered. Any help would be appreciated. Thanks in advance Mike
  10. Hi! The problem was this: I have a link, which links to a foreign page (not mine). The link starts some scripts and at the end an image is displayed. After that I want to read the HTML of the page to get the image-URL. The problem now is, that when I get the HTML of the first link, the image-URL isn't part of the HTML, because the image is shown later during the loading process. Because I couldn't get the problem solved, the owner of the foreign page now give me a HTML with the right image-URL already included. But maybe there is a solution, if someone else got the same issue. Regards Mike
  11. Hello! I have a similar problem. I need the HTML code of an Uni(m)HTMLFrame after loading an URL. Thank you in advance Mike
  12. Here is a little improvement: .imgAnexo img { display: block; margin: 0 auto; width: 100%; maxHeight: 100%; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); object-fit: contain; }
  13. For those, you must use the URL property of an UnimImage, here is a good CSS for centering the image in the best fitting way: .imgAnexo img { display: block; margin: 0 auto; width: 100%; maxHeight: 100%; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); object-fit: contain; }
  14. I helped myself by downloading the image first using HttpClient and later assigning the image with UnimImage.Picture.LoadFromFile (...). Now the parameters center, stretch, autosize are working like expected.
  15. After assigning an URL I want to save the image by code: UnimImage.Picture.SaveToFile(xxx) But it only creates the image file with 0 bytes. What do I wrong?
  16. Perfect! Didn't found that topic.
  17. Hi! When I use the URL method of a TUnimImage to download an image, the parameters center, stretch, autosize don't work. Instead the left upper corner of the image is displayed in the middle of the screen (see attachment). Is there a solution (maybe with CSS)? Thanks in advance Mike
  18. Thanks Sherzod! It doesn't work on the UnimCarousel, but on the UnimCarouselPage!
  19. You can swipe the carousel either in horizontal or vertical direction. If it set to horizontal direction the vertical swipe on the carousel is obsolete and could be used by the UnimImage. Alternatively it would be nice, if I have access to the swipe event of the carousel. So I can insert my code in the OnAjaxEvent, when the user swipes the carousel in the "wrong" direction.
  20. Hi Sherzod, I've found the problem. That code doesn't work, if the UnimImage is on an UnimCarouselPage. Is there any solution to make this work on an UnimCarouselPage? Regards Mike
  21. Hi Sherzod, I've build a test-project and - as usual - your code works in this test environment. But not in my main project. So I have to search, where the reason is. Regards Mike
  22. Hi Sherzod, thank's, but the AjaxEvent doesn't fire. What do I wrong?
  23. Maybe I need to explain it more pricise: I want to implement a function, where the user can swipe a picture (TUnimImage) with his finger form the botton upwards, so that the picture will appear on a big monitor. The only thing I need, is how to implement the ajax event, which identifies the swiping operation (and maybe, in which direction the user swipes his finger). Best regards Mike
×
×
  • Create New...