Jump to content
uniGUI Discussion Forums

arilotta

uniGUI Subscriber
  • Content Count

    170
  • Joined

  • Last visited

  • Days Won

    3

arilotta last won the day on March 10

arilotta had the most liked content!

Community Reputation

9 Neutral

About arilotta

  • Rank
    Active Member

Profile Information

  • Gender
    Male
  • Location
    Trieste, Italy

Recent Profile Visitors

475 profile views
  1. arilotta

    UniSession.ProcessEvents

    Hi all, what is the method ProcessEvents of UniSession used for ?
  2. 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 Order ID, the dates and the customer. But when an order is edited, I expect the fields populated with the current order values: Order ID, Sales Date, Ship Date and also the Customer. And here is where the problem arises: how to initialize the combo with the current customer for the order ? Hope there is a solution, because tdblookupcombos with remote search are very powerful as long as there is the possibility to initialize the current value by code. Hope also to have clearly explained the problem I'm facing Thanks Andrea
  3. 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,.
  4. 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 ForceSelection to TRUE.
  5. Me too I'm having the same problem. Please someone provide us with a solution. Thanks
  6. arilotta

    UniDbGrid with variable row height

    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.
  7. arilotta

    UniDbGrid with variable row height

    Anybody has a suggestion ?
  8. arilotta

    UniDbGrid with variable row height

    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
  9. Hi Arilotta, would you share with me your TUniCheckListBox component, because foro isn't posible.

     

  10. arilotta

    soWipeShadowSessions what's for ?

    Hi all, according to the documentation, soWipeShadowSessions for UniServerModule is used for: "If not in debug mode, the session will timeout in 30 seconds" But applications compiled in release mode will last according to SessionTimeout nevertheless. So, what's the point of this flag ? Thanks Andrea
  11. arilotta

    Client alignment and runtime object creation

    Thank you Sherzod, it works very well !
  12. Hi all, I'm populating a panel with some components created at runtime, and I can't figure out how their placement on the panel using client side alignment. Let's say I have a panel with Layout HBOX, and I want to populate it with and edit on the left and a label on the right. At design time, it is sufficient to have set the Left property value on the Edit lower than the Left property value on the Label; but at runtime it doesn't work... I've tried setting CreationOrder property too, but nothing changes. This is an example: procedure TvFrame18200.UniButton1Click(Sender: TObject); var e: tuniedit; l:tunilabel; begin l:=tunilabel.Create(self); with l do begin left:=100; createorder:=10; caption:='ciao'; parent:=UniPanel4; end; e:=tuniedit.Create(self); with e do begin left:=0; createorder:=0; parent:=UniPanel4; end; end; The only way to accomplish the desired behaviour is to invert the component creation, but it would complicate coding my application; it is a limitation to create components in the order they will be placed in a panel. Anybody could help me ? Thanks Andrea
  13. arilotta

    MessageDlg supported buttons

    Thank you, with the suggested solution it works. Would it be possible to include all the buttons in the next releases ? Andrea
  14. arilotta

    MessageDlg supported buttons

    Hi all, it seems that MessageDlg function only supports a few different buttons: - mbOk - mbYes - mbNo - mbCancel I am unable to see mbAll, mbNotToAll, mbRetry, ... Is that something that I could fix ? I really need the All button in addition to Yes and No. Thanks Andrea
  15. arilotta

    UniDbGrid scroll with dgEditing

    Yes I did...
×