Jump to content

Tokay

uniGUI Subscriber
  • Posts

    839
  • Joined

  • Last visited

  • Days Won

    19

Everything posted by Tokay

  1. For truth this code does not works on all Linux systems, gtk3 should be installed, but after installation works fine.
  2. Unexpectedly it turned out that FMX successfully works with UniGUI: uses FMX.Graphics, FMX.Surfaces; procedure TMainForm.UniButton1Click(Sender: TObject); var sp: TBitmapCodecSaveParams; bs: TBitmapSurface; B: TBitmap; begin B := TBitmap.Create; B.LoadFromFile('/home/user/Documents/test/123.bmp'); B.Resize(100, 100); B.SaveToFile('/home/user/Documents/test/out.bmp'); sp.Quality := 70; bs := TBitmapSurface.Create; bs.Assign(b); TBitmapCodecManager.SaveToFile('/home/user/Documents/test/out.jpg', bs, @sp); bs.Free; B.Free; end; This code change size of bmp and converts bmp to jpg file.
  3. Two years have passed, up...
  4. And change size of BMP or JPG?
  5. Tokay

    websocket

    Already done in the 1.90.0.1564
  6. Also does exists any way to convert JPEG to BMP under Linux?
  7. Does it possible to fix loading of JPG image on the Linux? UniCanvas1.LoadFromFile(FileName); exception class EConvertError with message Cannot assign a TJPEGImage to a TUniBitmap
  8. Чот мы докупили фалконовские и нифига они папки не принимают
  9. Thank you. It works but not perfectly. When I've try open printing then just empty page is shown: But after closing this preview with cancel button, and push ctrl+p printing looks as expected: Except of temporary data on the back.
  10. Does it possible to directly (without files) print UniDbGrid?
  11. Tokay

    5 star rating.

    I've added to HTMLFrame '<h1>Pure CSS Star Rating Widget</h1>' Added to customeCSS your CSS. Added to CustomFiles and ServerModuleBeforeInit. Downloaded font-awesome.css and fontawesome-webfont.woff from mentioned URL. Run app, but it does not show rating stars. Only 'Pure CSS Star Rating Widget' and nothing more. issues in the browser console are absent.
  12. Tokay

    5 star rating.

    Up 1. How can get result of the rating on the back side? 2. Does it works on the current UniGUI (1562)?
  13. Does it possible to add one customized additional folder for custom scripts? Folder should not be related to any UniGUI folder. We have for now three external folders that we should to store in the "C:\Program Files (x86)\FMSoft\Framework\uniGUI\uni-1.90.0.1562\" folder. We've rewrite your runtime installator from scratch in order to be able put our customised scripts to the system protected folder. It's really huge work, but we done it because the UniGUI does not provide such mechanism. Ideal way for us is to add additional folder here (TUniGUIServerModule.HandleFileRequest) : if LocalDoc = '' then LocalDoc := ExpandFilename(ActiveServerRoot + ADoc); if LocalDoc = '' then LocalDoc := ExpandFilename(CustomFolder + ADoc); //new folder
  14. Two or more software could get access, not just users.
  15. Normally program data is the common folder for all users and has full access to any user
  16. It greatly worsens common safety: in such folder any user could change any files.
  17. This is exactly our issue! We could not put scripts to the program data for the safety reason. Also is hard to insert links on the RenderHTML.
  18. I need to load some scripts to such component berore it loads HTML. I'm loaded html with such code: UniURLFrame1.HTML.Text := RenderHTML; It's needed to load 3-4 scripts into Iframe before HTML for using they into HTML.
  19. In other words this information on the client does not exist?
×
×
  • Create New...