Jump to content
uniGUI Discussion Forums

freedowsRoO

uniGUI Subscriber
  • Content Count

    90
  • Joined

  • Last visited

Everything posted by freedowsRoO

  1. freedowsRoO

    Print Screen

    Here it is, just remove the UniSyntaxEditEx and the print will work. print error.rar
  2. freedowsRoO

    Print Screen

    Hello friends! Is there any way to take print screen of a frame or panel? Thanks in advance
  3. freedowsRoO

    Print Screen

    Helllooo!!! I found the problem, did several tests and found that the problem occurs when using the 'UniSyntaxEditEx' component. I dont know wy but thats it.
  4. freedowsRoO

    Print Screen

    i will try
  5. freedowsRoO

    Print Screen

    Same error..... The .JS is loaded but the error persist
  6. freedowsRoO

    Print Screen

    Sure ID: 1 145 045 326 pass: ******
  7. freedowsRoO

    Print Screen

    Yep, it's correctly. So wird because as i said if i create a new project the code works fine
  8. freedowsRoO

    Print Screen

    Sorry @Sherzod but i have one more problem. If i create i new project your code works fine but when i paste the same code in my real project i receive the message: " html2canvas is not defined" any ideia?
  9. freedowsRoO

    Print Screen

    OMG it's work perctly!! Thanks a lot!! You are the best!
  10. freedowsRoO

    Print Screen

    Thanks a lot! I'm trying to do here either but no succes yet, the problem is that i don't have mutch knwoledge in sencha, i'm learning.
  11. freedowsRoO

    Print Screen

    Hi @Sherzod how do i call this function in a uniButton? Note that in the place of #CAPTURE i need to insert the ID of the element that i want to take a screenshot. function screenshot(){ html2canvas(document.querySelector("#capture")).then( canvas => { var a = document.createElement('a'); a.href = canvas.toDataURL("image/jpeg",1.0).replace("image/jpeg", "image/octet-stream"); a.download = 'somefilename.jpg'; a.click(); }); } i'm trying to do something like this in the ExtEvent of the button but no succes function click(sender, e, eOpts){ '+ html2canvas(document.querySelector( UniTabSheet1.JSName )).then( canvas => { var a = document.createElement("a"); a.href = canvas.toDataURL("image/jpeg",1.0).replace("image/jpeg", "image/octet-stream"); ' a.download = "somefilename.jpg"; a.click(); }); }' );
  12. freedowsRoO

    Print Screen

    Thanks again =]
  13. freedowsRoO

    Print Screen

    up
  14. freedowsRoO

    Print Screen

    That's will work! BUT i have only one question. Is there a way to get the HTML of an especific component?
  15. freedowsRoO

    Print Screen

    Ok i will look for it, thanks.
  16. freedowsRoO

    UnimButton Color

    Thanks..... =]
  17. freedowsRoO

    UnimButton Color

    Yep, i already checked the example. btnmobile.rar
  18. freedowsRoO

    UnimButton Color

    did not work. The background button color still not changing. UNIGUI Mobile 1.90 function added(sender, container, pos, eOpts) { sender.addCls('bntLogin'); } .bntLogin { background:#1892d1 !important; color:#fff !important; -webkit-transition: background 0.5s ease-in-out; transition: background 0.5s ease-in-out; }
  19. freedowsRoO

    UnimButton Color

    UP! I'm having the same problem. UNIGUI 1.90 Here. I checked in google chrome and the CSS appears in button code but the color not change.
  20. freedowsRoO

    Get Selected ComboBox Image index

    Hi guys! I'm using UNIGUI 1.90, In this version there is the combobox with a new image list property. I don't managed to get the selected image caption. Any help?
  21. freedowsRoO

    Get Selected ComboBox Image index

    Yeahh! it's the same problem! ItemIndex doesn't work, always return -1
  22. freedowsRoO

    ComboBox

    Yeah!! I'm having the same problem. Any Help @Sherzod??
  23. freedowsRoO

    Get Selected ComboBox Image index

    up
  24. freedowsRoO

    Get Selected ComboBox Image index

    up
  25. freedowsRoO

    Get Selected ComboBox Image index

    ItemIndex doesn't work, i'm trying to do something like this: procedure TMainForm.UniComboBox1Change(Sender: TObject); Var sVar: String; begin sVar:= UniComboBox1.IconItems.Items[UniComboBox1.ItemIndex].Caption; ShowMessage('test: ' + sVar ); end;
×