Jump to content

M.Ammar

uniGUI Subscriber
  • Posts

    191
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by M.Ammar

  1. hi I was searching for the same thing I found this post, I didn't try it yet but I kept it to test later
  2. hi i use this, procedure TfraEntr.UniFrameReady(Sender: TObject); begin UniDBEdit.JSInterface.JSCall('focus', []); end; regards
  3. hi I am using FDEventAlerter to detect any changes made to a query by another user in order to refresh the other users' Query, No 1: Everything is working fine except if I try to access any information from the uniMainMidule (Query, Record.. anything ) from within the OnAlert Event procedure TfraListView.FDEventAlerter1Alert(ASender: TFDCustomEventAlerter; const AEventName: string; const AArgument: Variant); var i : Integer; sArgs : string; begin {other code} // working Example sArgs := 'test'; FDQuery1.refresh; // refresh on form Query Wroking // Error Examples UniMainModule.UserRecord.UserID := 1; // access validation UniMainModule.FDQuery1.refresh; // access validation end; if I try to access the same information in UniMainModule from any other procedure no Access Validation Erro, I can work around the error by using local variables and queries but it is strange No 2: after refreshing the local query via this procedure, the uniDBGrid attached is not refreshed unless scrolling by mouse or keyboard, this doesn't happen on the VCL test I made. best regards
  4. I have found a workaround to both points. 1- must add a component to the table layout in order if not in order cut to another panel and move in order to the table layout panel or - View form in text mode and search for components and make sure they are in order from top to bottom. 2- I added an empty tunilable to skip a table cell if there is an easier way to do it, it will be great best regards
  5. hi 1- how can I control the order in table layout, i have tried tab order or creation order, but no luck, Is there a way to manually set the order? I searched for an answer but all I have found is an old post but the reply is not correct or not working anymore, 2- can I skip an empty "table Cell" in the table layout, or all cells are occupied in order. best regards
  6. hi thank you Mr. farshad for replying, I will take this chance to thank you for your awesome work, the application is used by 4 branches and about 20 users and it is very stable I have eset endpoint security installed, but I did disable firewall while testing because I thought it might be the reason. my problem is that I need to figure this out before deployment on cloud servers next week, I will try this on another server today, any tip will be useful, thanks and best regards
  7. but still giving me blank page I have tried with 2 different projects one of them is a new project with ubibutton on the main form
  8. do I have to run Myapplication.exe with hyper-server.exe ? or only hyper-server.exe alone? because what I understood was to run only hyper-server.exe. regards
  9. hi thanks for reply I have followed these instructions to test it with my application on standalone exe mode but instead of my application, I get a blank page,
  10. hi I am trying to test hyper- server.exe with test application as in this document http://www.unigui.com/doc/online_help/index.html?hyperserver.htm but I get a blank page how can i fix this best regards
  11. thank you very much for the fast reply this worked for me fine the default value for this is #0, so it is still not working for me, but the first method is enough for me thanks again
  12. Hi all i need to make delayed UniDBGrid Filtering like the one in Demo GridFilter2 example the one working with the Enter Button, I have compared the two projects (GridFilter1, GridFilter2) but I have failed to find any differences that make this option work sorry if I missed an obvious setting but I can't seem to find it I have also found that the option ( uniDbGrid1.Columns[1].Filtering.changedelay := 40000), do not have any effect no matter the number I use. best regards
  13. thank you for reply, I understand it is worst practice if users are to access the data, but this case no one is accessing the query, it will run automatically at a certain time to add some records, I am new at this but as I understand the mainmodule is opened in user sessions and may not be opened by any user at the time that I want to run this code, please read my question again. how can I run code at a certain time say 12 am every day even if all users are not using the application.
  14. Thank you Sherzod for your quick reply, I have read this document, but I am still not sure if it is safe to use the server module as I described, knowing that no user will be using this query or accessing this data, will that make it ok to do it like that? thanks again
  15. Hi all, I Want to know if it is a best practice to add and run a Firedac query on the UniServerModule, that Query calculate and adds some records to some tables in MSSQl Database, at a certain time of the day, this needs to be done even if no User is using the application that's why I can't think of another way to do it, and if Not then what is the best way to do that. I also want to send a notification to freeze or close client sessions during that operation, all users will be familiar with the daily time of this operation, any help or information will be appreciated. Thanks and Best Regards
  16. Hi when I try to append ( On frame/form create) to a dataset that is connected to unidbGrid the operation is canceled somehow, knowing that appending after the form is created is working fine, as a workaround, I have to do it like that, procedure Tfra.UniFrameCreate(Sender: TObject); Begin UniDBGrid1.DataSource := Nil; FDQuery1.Append; End; and then re-attach the uniDbgrid after post, but it has to be a better way to do this thanks
  17. I strongly agree to this request Direct Entry is Very important to my project as well,
  18. Thanks for the reply, I have added the email as you said but it says (blank if same) and when I open again it is empty, I registered this forum account with the same email address Edit: now it is working thanks again, PS do I have to repost this in the active bug forum?
  19. Hi All, This is my first post, I have tried to post this in Active Bug Section but it is disabled for me I use gniGui Professional V 1.50.0.1483 now installed, but this bug since 1481, if you USE a filter in all UniDBGrid columns, what happens is the Grid Header get 2X time larger at runtime overlapping the first Grid raw , it only happened with me in some frames although, they all inherited from the same parent frame but not all have this issue, as a workaround this issue, I have to add at least one column without enabling the filter on it, Best Regards Screenshot
×
×
  • Create New...