Jump to content


uniGUI Subscriber
  • Content Count

  • Joined

  • Last visited

  • Days Won


arilotta last won the day on March 10 2020

arilotta had the most liked content!

Community Reputation

9 Neutral

About arilotta

  • Rank
    Active Member

Profile Information

  • Gender
  • Location
    Trieste, Italy

Recent Profile Visitors

740 profile views
  1. I'va managed to obtain the plain version in the following way, I'm sharing my solution because I thin it could be used also in other scenarions, when there is the need to obtain something from JS: FText: string; procedure TMyForm.UniFormAjaxEvent(Sender: TComponent; EventName: string; Params: TUniStrings); begin if EventName='getHTMLtext' then FText:=Params.Values['t1']; end; ... ... UniSession.SendResponse('var t1='+HTMLData.JSName+'.getEditorBody().outerText; '+ ' ajaxRequest('+self.Name+', "getHTMLtext", ["t1="+t1]);'); UniSession.Synchronize; //
  2. I need to have both the HTML version and the plain text version; the plain version will be used to compose a report and possibly to send an email. Thank you
  3. Thank, but I think that accessing "getEditorBody().outerText" is the safest/quickest way. How can I achieve it ? This works: unisession.addjs('alert('+HtmlMemo.jsname+'.getEditorBody().outerText);'); I need to pass the getEditorBody().outerText value back to the UniGUI/Delphi environment. In general, I've learned that it is easy to call a JS procedure via JSCall. But how can I call a JS function and obtain a result from UniGUI ? Obviously, in a synchronous/blocking way, that is the Delphi statement should wait for the response and not proceed with the
  4. Thank you andyhill, but accessing "getEditorBody().outerText" gives me back automatically CRLF characters. With the following HTML: <div><span style="color:black;font-family:'Arial';font-size:11.00pt;">line1</span></div> <div><span style="color:black;font-family:'Arial';font-size:11.00pt;">line2</span></div> your function does not return a CRLF between line1 and line2. Which is the correct way to access a ExtJS function/property from Delphi and obtain the result ?
  5. Hi all, I need to get the plain text from a UniHtmlMemo, without HTML tags. Using HtmlMemo.Text property returns text with HTML tags. The following works: unisession.addjs('alert('+HtmlMemo.jsname+'.getEditorBody().outerText);'); But I don't know if it is the best option. Also, how can I get the outerText value from Delphi (server side) code ? Thanks in advance
  6. Hi,

    I read about your new tunichecklistbox component.

    I'm new one here but I need something like that for one edit form. Is it possible to get it somewere?


    Best regards,

    Patryk Wozniak

    1. Show previous comments  1 more
    2. Patryk


      Yes, I know. Thank you.

      But even if I'm logged, I see there that this zip file is "Unavailable".

      If I click on the zip file name I see message:

      This attachment is not available. It may have been removed or the person who shared it may not have permission to share it to this location.


      Do you know maybe why?

    3. arilotta


      I don.t know why, it'UniGUI.zips available for me. I've reattachd it to current post...

    4. Patryk
  7. Hi all, what is the method ProcessEvents of UniSession used for ?
  8. Sherzod you're my last chance... Think about it, it is not just a trivial problem. Given the demo you mentioned: \FMSoft\Framework\uniGUI\Demos\Desktop\DBLookupComboBox - Custom Remote Query (CDS) in which you can search 300K records (employees) with a TDBLookupComboBox using remote query. Let's say that this combo is placed in a dialog used to input orders; in this dialog you can enter the Order ID, Saled Date, Ship Date and the Customer (similar to the demo). When a new order is created, the dialog opens with all fields empty, and the user should select ther Orde
  9. Thanks x11. Your solution does not work, because if you set ForceSelection to TRUE, the component does not allow you to set the Text directly (the Text you specify is not present in the item list, that is empty as long as you manually enter some text in the combo and the event OnRemoteQuery is called and you populate the Result TStrings) You should populate the item list in advance in some manner, I think that some EXTJS trick is necessary,.
  10. Thanks Sherzoed and x11. I've already implemented the dblookup with remote query, and it works fine. What I'm non able to achieve is to initialize the combo with a value, for example when the form is created. Sherzod, given the demo: \FMSoft\Framework\uniGUI\Demos\Desktop\DBLookupComboBox - Custom Remote Query (CDS) Is it possible to open the form and have UniDBLookupComboBox1 already initialized with an given item without have the user to open the combo and sarch for it ? Please have a look at the screen shot for an example. Keep in mind that I've set ForceSelectio
  11. Me too I'm having the same problem. Please someone provide us with a solution. Thanks
  12. Hi Sherzod, thank you; by setting the DisplayMemo property the row height adapts to the content which is similar to the behaviour I'm trying to achieve. I will work on it, it is a good starting point.
  13. Hi all, I know there is the property RowHeight in TUniDbGrid to set the row height in pixels. In this way, all rows share the same height. What I would like to achieve is to have rows in dbgrids with different heights, based let's say on a field value. Thanks for all the suggestions Andrea
  14. Hi Arilotta, would you share with me your TUniCheckListBox component, because foro isn't posible.


  • Create New...