Jump to content

mika

uniGUI Subscriber
  • Posts

    142
  • Joined

  • Last visited

  • Days Won

    6

Everything posted by mika

  1. mika

    Sorting menu items

    I managed to solve this by my own so this thread can be deleted. Sorry about my hasty post. // Mika
  2. How can I sort certain top-level menu item defined in TUniMainMenu? We have few menus that contain quite a few items and we must sort them alphabetically. I can't do this in design-time because we support multiple languages in user interface and obviously those menu entires will be sorted differently depending which language is selected. For example: "MENU-2" needs to be sorted. MENU-1 MENU-2 MENU-3 A C A B F B D C B A E Thank you in advance. // Mika
  3. No, actually he is not avoiding the issue. Grids main purpose is to display data, not to export, print or convert that data. Building everything directly into grid (or in any component for that matter) will make it bulky and often more difficult to use. In my opinion, it's far more efficient and easier to use another component or class to export data. I personally dislike components that try to do everything without excelling in anything.
  4. I don't understand your problem? Can you clarify? If you use UniSession.SendFile(...) to send file from server to client, whether client can open file you sent, depends on software installed on clients machine. That's not something that can be controlled on server side.
  5. You can send file to client by using UniSession.SendFile(...); However, you *cannot* execute anything on the client side automatically. That would destroy the whole internet and quite possibly cause a rip in space time continuum.
  6. Thank you for your answer Farshad. I do understand that you have to have some kind of protection against piracy but usually pirates will find a way to pirate software illegally, unfortunately. I'm sure we can live with this situation and as you said, development is possible in the future too even if uniGUI is not in active development. However, I would be very pleased to know if there were some sort of agreement that would release source code in full if something unexpecting happens. Anyway, I understand your position in this matter. Thank you for your hard work and dedication. // Mika
  7. Thank you all for your advices. I will go through our software and try to find places to improve based on your suggestions. @Farshad, I didn't find any "Memory Overflow" entries in logs. @DavidIzadaR, I know that SQL server should not affect our software like this but the fact is that our software crashes only when SQL server is using maximum amount of memory (4096Mb). Computer where all software is installed on, has 16Gb of memory. Memory usage of our software doesn't seem to correlate with crashes at all and faily normal memory usage is around 500-1000Mb.
  8. I have very interesting problem with SQL server and it has probably nothing to do with uniGUI. Actually, I am sure it has nothing to do with uniGUI whatsoever. I just hope someone here can shed some light into this. Our software is fairly large and both uniGUI standalone application and SQL server consume quite a lot of memory. When SQL server uses 4096Mb memory, which is most it can use, our software crashes. Only thing that is certain at this point is that when SQL Server uses maximum amount of memory, soon after our application will crash. As SQL server memory usage inevitably increases in time, application crash at some point is certain. I'm pretty sure SQL server isn't behaving badly in anyway. It has something to do with my code, FireDAC and uniGUI in combination. We currently still use SQL Server 2014 Express edition which is not ideal but that's what we got now. Also, upgrading database software would not be a real solution anyway even if it could alleviate this problem in short term because SQL server is most likely not the source of this problem. Software we are using: Delphi XE5 Architect uniGUI Pro Plus 1.0.0.1410 SQL server 2014 Express edition If anyone here has even a clue where to start looking, I'd be very greatful. // Mika
  9. I know that if FMSOFT ceases to exist, we can continue developing software using uniGUI and even fix minor bugs in some cases. However, there are many extremely important files that are not shipped with source code. While I understand that there are some reasons not to ship complete source code, I also think that it's a risk for us if FMSOFT halts all uniGUI development. Truth is, that if this happens, it would be devastating blow to many and not being able to continue developing uniGUI and fix potential bugs in it would be disastrous. Question is, what could be viable solution to this? Would it be possible ship complete source code in case FMSOFT decides to halt uniGUI development or if it is finishing its activities. In any case, I think there should be some kind of mechanism to protect us from these kind of things. This thing has bothered us a bit and I'm sure there have been some discussion about it at some point but I don't remember reading definitive answer to that. I don't want to seem negative, but this is something that we must prepare for. I'm sure FMSOFT is not going anywhere in near future but things can change at some point.
  10. mika

    Sverige/Norden

    Hienoa nähdä muitakin täältä päin Great to see other people from around here
  11. mika

    Sverige/Norden

    Eastern neighbor here
  12. Yes. I totally agree. It shouldn't be possible. I'm pretty sure I must be overlooking something. I'll keep investigating. // Mika
  13. When user is waiting fairly time consuming SQL query to finish and application crashes (halts without a trace but that's a another problem) for some reason, database connection might leave table(s) locked. This will cause said table to be unreadable (without dirty read) until database server is restarted. I thought that any and all database connections will be disconnected and any possible locks will be released when application crashes but that doesn't seem to be case. Do any of you have any suggestions how to track down and solve this problem? Database backend is Microsoft SQL Server 2014 Express and I use FireDAC access it. uniGUI version is 1.0.0.1406 (Complete). // Mika
  14. I've already implemented mechanism to detect slow connection and possible connection problems but I would like to get some information from uniGUI itself. Is it possible? There's uniGUI logging of course, but I don't want to parse log in runtime. Is there a way to get information like possible sequence errors, lost transmissions and so forth from uniGUI? Reason for all of this is that I would like to warn user about bad connection before the connection drops all together. This is not always possible of course, but in this instance, I suspect that they are having problems with their office LAN as it is confirmed that their connection lag is constantly all over the place ranging from tens of milliseconds to even few seconds. // Mika
  15. We have few customers who has pretty bad connection thus having some problems with uniGUI quite regularly. This is by no means uniGUIs fault but it often means that customer is asking us what is the problem with software and this translates more work for us because we must investigate all problems that come to our attention. Is there a way to determine connection quality? I would be interested about response times, number of retries uniGUI has to make before successfull data transfer and event time stamps. This information would allow us to forge algorithm to calculate some value for connection quality. If said value crosses certain threshold, user would be notified that their connection seems to be shaky and it might cause trouble. This would help us to point user to the right direction and to troubleshoot his side and not automatically contacting us to let us now that we have a problem as the problem he is experiencing is on his end. Also, one user with shaky connection claims that sometimes when he is working as usual, software just logs him out without any errors or problems beforehand. This kind of behaviour is not coded in our software and it should never log out user without user actually requesting to log out. Is there something I'm missing out on this? // Mika
  16. mika

    require.js errors

    Thank you so much. Everything works now as expected. I had one form that had uniSyntaxEditorEx defined in uses clause. // Mika
  17. mika

    require.js errors

    Okay. Thanks. I tried that component (TUniSyntaxEditEx) and of course, uses clause was altered accordingly. I try to remove everything related to TUniSyntaxEditEx and get back to you.
  18. mika

    require.js errors

    I've loaded same custom javascript files since forever and now suddenly qtip & handsontable (JavaScript files) do not work. I'm pretty sure I haven't changed anything regarding these files themselves or other parts of software which could lead to this kind of problems. require.js throws anonymous module mismatch errors when these files are loaded. This is huge problem for us because we have to update our software asap but now we can't do that because of these errors. Do anyone know what's going on here? Any help would be greatly appreciated as this is very urgent matter for us. Thank you all for advance. // Mika
  19. No it doesn't because there's a typo. It's setTimeout, not setTimeOut.
  20. No I haven't. I didn't realise that there is another control to use. I tried it but i get an error: Mismatched anonymous define() module: [object Object] http://requirejs.org/docs/errors.html#mismatch I haven't updated uniGUI for the past month or two so it might be something that would correct itself by updating. I'll try to solve this tomorrow morning.
  21. I'm using pascal as script language. Consider this example: begin ShowMessage('Test'); // When pressing enter here, caret will go... |...here |...instead of here end. I hope you understand what i'm trying to say here. I'm not very good at explaining this :P Sorry.
  22. Is it possible to enable auto indentation in TUniSyntaxEdit? Out software relies heavily on scripts and writing scripts is more difficult and time consuming because user has to manually indent code. We don't need any "smart" features but basic identation so that caret will be positioned at same column as previous line when user presses enter.
  23. Why are you not using uniGUI datamodule?
  24. @jon rios, you really have to learn about RAD Studio (Delphi) and uniGUI. After that it's obvious why this combination is as powerful as it is. Yes it is pretty expensive but if you're going to sell products you build, it shouldn't be too big of a problem.
  25. UniGUI version is 1.0.0.1399 complete. Row count seems to be okay but data is not shown as seen in screenshots AndesonSOS:s screenshots. This behaviour is easy to recreate. Create new UniGUI mobile connection, fetch data from some database table and try to display it in grid.
×
×
  • Create New...