Jump to content

Rav

Members
  • Posts

    89
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by Rav

  1. Thanks! I tested TUniMainModule and TMainForm on the subject of cookies: 1) In TUniMainModule: UniSession.Cookie - works, but not recommended UniSession.UniApplication.Cookies.Values - works UniApplication.Cookies.Values - doesn't work 2) In TMainForm: UniSession.Cookie - works, but not recommended UniSession.UniApplication.Cookies.Values - works UniApplication.Cookies.Values - works So the UniSession.UniApplication.Cookies.Values is a universal method for getting cookies, right?
  2. Hello, While testing cookies I found that during the UniMainModule creation setting cookie works fine: UniSession.UniApplication.Cookies.SetCookie('test_cookie','temp') but reading it raises an exception: UniSession.Cookie['test_cookie']; During the MainForm creation both code lines works fine. Is this normal behavior? Is it possible to read cookies in UniMainModule?
  3. Filter doesn't work yet, does it?
  4. Hello, I often use TButtonedEdit component with a TLabel placed above it in VCL but couldn't find a similar component in UniGui. So I decided to compose it myself using layouts. The result is uploaded here: https://yadi.sk/d/S1FzGCblraotK It consists of 5 components. Can it be done easier with less number of components or with more advanced layout technics?
  5. I have checked your example and it looks as before - first cells at the top (1-1,1-2, 2-1) are filled with UniEdits no matter the Tab order as on the picture: https://yadi.sk/i/bE7J9-x-raT8r The UniGui is the latest (1298) and doesn't look to be broken As per the tips regarding UniSpinEdit, thanks, that works.
  6. Thanks for you answers! 1) That doesn't work 2) Ok, got it. 3) That's nice! I found a small issue though - it doesn't work properly if FielLabelAlign is laTop but it really matters nothing. 5) That's too radical solution for me, but I will try.
  7. Hello, I tried to use table layout and found difficult to do it. Here is the modified sample: https://yadi.sk/d/hUYtg2CFrZ3Qd 1)UniGui doesn't pay attention to controls tab order or creation order and align them according to its own rules: first cells are for TUniEdits, then for TUniLabel and at last for TUniDateTimePickers. Is there a way to manually set the order? 2)TUnidateTimePickers do not extend to 100% width. Is this normal? Also some small questions that don't relate to layouts directly 3)TUniSpinEdit doesn't have FieldLabel property. Is there a particular reason for that? 4)What font is used for FieldLabel? Why does it differ from its owner - TUniEdit? On the sample it certainly differs from the font used for TUniLabel though the default fonts are the same. 5)Is it possible to use images in the TUniCombobox items? 6)TUniDBGrid has two(!) event handlers for placing images on the grid items: OnFieldImage and OnFieldImageURL but cannot use TUniImageList items for them. That's not the question, just weird.
  8. Thanks, that helped a little but I am not good at JS and ExtJs, so cannot understand how to extract rows numbers from SelectedRows to pass them to JS function? Is it possible to pass field values?
  9. Hello, Is it possible to keep the selected rows of TUniDBGrid after dataset refreshing? Or even totally unlink the connection between TUniDBGrid selection and TDataSet cursor position?
  10. Yes that would be great! But first it would be nice just to get a text explanation of all layout properties. TUniServerModule properties description also would come in handy.
  11. Hello, I have a small problem with layouts and don't know how to resolve it. If you change the button's layout properties of the "Clientside Alignment - Layout VBox" example from (Flex=1 and Height='') to (Flex=0 and Height=30) so it doesn't change its height after form resizing and assign an image to it then both image and text are shown at the top of the button. With "Flex=1" they appear at the button's center as expected. Can it be corrected? Here is the example's screenshot: https://yadi.sk/i/O5vEz5lyrQRrB This is the example's code: https://yadi.sk/d/FDmav8_WrQR5r
  12. Hello, I want to give the user an option to log on automatically without showing TUniLoginForm. Is there a way to enable/disable TUniLoginForm?
  13. Hello, Is there an event that is triggered when the user sets columns visibility from TUniDBGrid header?
  14. Hello, As recommended I have checked ExtJs examples regarding layouts and found that there is no "card (wizard)" in the "layout" property values of UniGui. This feature is interesting for me, is it not implemented yet or is it already implemented by other means?
  15. Rav

    Autoresize panels

    Hello, I have one container panel which is the parent of three panels with two splitters between them (image is attached). I want that width of all the internal panels to be the same whenever the container panel is resized. How to do it properly? First I thought that it should be handled in the main form's "onresize" event, but it is called before its width is changed ("onresizing" is more appropriate name for this event). Also the container panel can change its width without the main form is resized but it doesn't have the "onresize" event. And the last question: can this autoresizing be done without server intervention, on the client side only? Ravil
  16. Hello, I cannot understand two things: 1)Allfeaturesdemo always starts as maximized but I couldn't find in the code how it was done 2)The popup menu in Allfeaturesdemo works fine, but the same menu in my code always pops up with the Firefox context menu (as in the attached image). But I wasn't able to find where and how it is done in Allfeaturesdemo either. Ravil
  17. Rav

    Two different clients

    You gave me even a simpler idea - to use TUniPageControl hiding all its pages except the one that corresponds to the current client. Thanks!
  18. Rav

    Two different clients

    Yes, one database, one server, but two different clients with different main windows. No it's not an option, server should be only single. I know there can be only one port per server, so I added the "First" and the "Second" parts in URL to distinguish the clients. Yes, exactly, I need such mechanism but don't know how to create it cause the main Unigui form is created automatically.
  19. Hello, I need that the server can handle two different clients: The first can be accessed via http://localhost/First:8077 The other can be accessed via http://localhost/Second:8077 Two questions 1)How to properly organize it? 2)Is there a brief description of all specific TUniServerModule properties? Rav
  20. I looked through your long polling application, very informative, thank you! I think that's a little bit complicated scheme, does it have flaws? Are you planning to add WebSockets example to it?
  21. The TUniTimer works fine, thank you. But I got another question. As far as I understand the TUniTimer being placed on the main form is instantiated in every session, so with the 100 open sessions we'll have 100 timers on the server side. Is this the right way of constructing the application?
×
×
  • Create New...