Jump to content
uniGUI Discussion Forums

cristian

uniGUI Subscriber
  • Content Count

    53
  • Joined

  • Last visited

Community Reputation

0 Neutral

About cristian

  • Rank
    Member

Recent Profile Visitors

226 profile views
  1. cristian

    Changing (Unidbgrid) LayoutConfig (Width) run time

    Perfect!!!! Tnk u :-)
  2. cristian

    Changing (Unidbgrid) LayoutConfig (Width) run time

    I need to enlarge tunidbgrid. I'm not able to recustomize code posted in previous message. If possible i would like a link to sencha documentation for understand how to get this kind of information by my self, please. Test case attached Tnks UniDbGridLayout.7z
  3. cristian

    Changing (Unidbgrid) LayoutConfig (Width) run time

    Hi I'm using versione 1.70.0.1486. I cant update the versione because i already have sereral system working to final customer.
  4. Hi I need to apply run time unidbgrid1.LayoutConfig.Width:='100%'. I searched a few in web, and I find something similar to wich I'm thinking, but I'm not able to recustomize the code, I only produce ajax error. UniPanel2.layoutconfig.Flex:=1; UniPanel2.JSInterface.JSAssign('flex', [1]); UniPanel1.JSInterface.JSCall('doLayout', []); Can someone help me? Is the right way? If possible i would like to have a link to sencha documentation to understand where i can find usefull information for this tipical situation. Tnks a lot
  5. cristian

    add tunibarserie run time

    yes i wold like to add new series to a chart run time tnks
  6. cristian

    add tunibarserie run time

    hi I tried this but not work nserie := 2; SetLength(Serie, nserie); Serie[0] := TUniBarSeries.Create(self); Serie[0].Name := 'serie0'; Serie[0].Parent := UniChart1; Serie[1] := TUniBarSeries.Create(self); Serie[1].Name := 'serie1'; Serie[1].Parent := UniChart1; SetLength(dummy, 10); for i := 0 to 10 do begin dummy[i] := Random(100); end; for i := 0 to 10 do begin Serie[0].Add(dummy[i], IntToStr(i)) end; Can anyone help me? I need to change on run time the number of bar chart in a chart tnks
  7. cristian

    connection error, communication failure: 0

    Hi I think that I had find part of the reason of session blocking (probably). I noticed that i had to much connection opened from my application to firebird db: every time I open a new session now I verify that the number of connection is under 70. In this way I had removed the main part of the problem (old session keep connection till destruction). Too much connection block service so block my application. Pretty nice.. Second, and here I need you mr Farshad, i still see some blocked session. Logging i could see that every time my program stop working last log is between the aftershow and UniFormScreenResize, the problem is that i have no code between this 2 point. So i pass to the end of UniFormBeforeShow but never reach the begin of UniFormScreenResize. Any suggestion?
  8. cristian

    connection error, communication failure: 0

    Is there a way to monitor a responsivity from a session in server module? Maybe if i kill the session all other session dont stop.
  9. cristian

    connection error, communication failure: 0

    No, I have already spent 3 days trying to debug without result. Tomorrow i will try to move the firedac component in a separated datamodule but I'm not confident. My problem at the moment is that I have no idea who is the cause of the block nor tools to look for the origin of this. Only way is to delete block of code till remove bug i think..
  10. cristian

    connection error, communication failure: 0

    Is for simulate log off. I use this command also in other situation like when user change lenguage. Is a problem if I use uniapplication.restart?
  11. cristian

    connection error, communication failure: 0

    I was thinking, that probably the most interesting aspect in this situation is that the session could reboot two thousand times without memory leak (checked via MadExcept). So probably is a concurrency bug: the point is that i have not servermodule variable. Is possible that the lock of resources reside in JS level? Using Cndebugger i noticed that sometimes a query was called without exception but i did not recieved confirmation from tunidbgrid on after load method. Otherwise i have a dead lock in DB side but i have checked: the query from anothe vcl demo work fine. The test are performed with 4 pc i7 8th gen, 8GB ram and so on: for each pc I open more than 12 separated pages: in this way I could check the status in all pages simultaneously.
  12. cristian

    connection error, communication failure: 0

    Hi 5 second. Uniapplication.restart
  13. cristian

    connection error, communication failure: 0

    Hi already changed in visual component: behaviour is the same. Tnks for your attention
  14. cristian

    connection error, communication failure: 0

    I was thinking that i dont know why and how session lock. I have this feeling whatching the screen. Is the a way to reboot session locked?
×