Jump to content

Isabelle

Members
  • Posts

    16
  • Joined

  • Last visited

Recent Profile Visitors

156 profile views

Isabelle's Achievements

Newbie

Newbie (1/4)

0

Reputation

  1. you don't need to call "StartTransaction" because there is no transaction to do, it's just a query with "Select". Only use: qClients.Close; qClients.SQL.Clear; qClients.SQL.Add('Select * from Client ' +' where inactive = 0 ' +'Order by Number'); qClients.Open;
  2. We want to migrate our VCL application to Unigui (we are testing its functionality) and we think Unigui is a good choice.
  3. Hi Sherzod, Thank you. yes, I take into account the scaling (zoom). Suppose the PDF file is scaled to 100%. We need to have the coordinates of the text capture areas (Top, Height, Left, Widht). I thought of putting a UniPanel (on the text to have) UniPDFFrame to have its coordinates. What do you think of that? Thank you
  4. Can a PDF file be displayed in the "UniHTMLMemo" component? Is it possible to have coordinates of selected text in UniPdfFrame? thank you
  5. Hi Sherzod, Thank you. Yes, I know it's not possible with PDFView: I tested it before asking my question on this forum. PDfView is incompatible with Unigui (for VCL and FMX usage). My question was is it possible to do the same with Unigui? In my opinion, yes, it can be done with JavaScript, but how? The trick is to have : get X,Y co-ordinates of the selected Text area from PDF. Thank you.
  6. Hi, what I want is explained in the attached photo. The colored frames are TShape (in VCL). Text copied into TEdit is based on: Top, Left, Widht, Height of a TShape. TShape areas are user defined. Thank Sherzod 🙂
  7. ok. Before getting text, you have to define the selection areas with a Shape (as in the picture). After that, I have the coordinates of the Shape (Top, Height, width and left), and finally i can get the selected text (which is framed by the Shape): Edit8.Text := coordonates It is possible to do it with Unigui ? Thank you
  8. I use the latest version (trial). It is possible to do it ?
  9. Ok, I don't know how to do this (using ajaxRequest). Is it possible to set text selection area in UniPDFFrame? As is shown in the attached picture. Framed areas are not fixed (areas of selected text can be anywhere in the PDF). I know you have to define the text retrieval areas, with Unigui, I don't know how to do it, but under VCL yes, I have already done it. Thank you for your help Sherzod !
  10. in the Form, I added 10 UniEdit (UniEdit1, UniEdit2, UniEdit3,... UniEdit10). I select 10 words with the mouse and each word must be copied into a UniEdit: example: - I select the first word, then it will be copied into UniEdit1. - I select the second word, then it will be copied into UniEdit2. - I select the third word, then it will be copied into UniEdit3. ... - I select the tenth word, then it will be copied into UniEdit10. thanks
  11. it works fine, thank you ! But, when I launch the application I get this error: Permission Denied to access property "document" on cross-origin object : O25.getDoc().addEventListener("mouseup", function(){if (O25.getDoc().getSelection()){O70.setValue(O25.getDoc().getSelection().getRangeAt(0).toString())}}); Is it possible to do this with several UniEdit: I have 10 UniEdit. I want to copy 10 words in each UniEdit please ? Thank you
  12. Error : Permission Denied to access property "document" on cross-origin object : O25.getDoc().addEventListener("mouseup", function(){if (O25.getDoc().getSelection()){O70.setValue(O25.getDoc().getSelection().getRangeAt(0).toString())}});
  13. Hi Sherzod, Thank you for reply. I want to copy the word selected with the mouse (after releasing the left mouse button) into a UniEdit. It's like you select a word with the mouse, then you do Ctrl + C and then you do Ctrl + V. its like : http://forums.unigui.com/index.php?/topic/6116-copy-paste-selected-text-in-tunimemo/ I want to get several words from the UniURLFrame and paste them directly to UniEdits Thank you
×
×
  • Create New...