Jump to content
uniGUI Discussion Forums

CristianPeta

uniGUI Subscriber
  • Content Count

    16
  • Joined

  • Last visited

Community Reputation

1 Neutral

About CristianPeta

  • Rank
    Newbie

Recent Profile Visitors

133 profile views
  1. CristianPeta

    UniSession.SendResponse() will disable interface updates

    In this case HTML5 Audio demo should better use UniSession.AddJS instead of UniSession.SendResponse?
  2. CristianPeta

    UniSession.SendResponse() will disable interface updates

    Nice to know it's not UniGUI's fault.
  3. CristianPeta

    UniSession.SendResponse() will disable interface updates

    I know about GroupIndex and as I said before all is working if I exclude SendResponse()
  4. CristianPeta

    UniSession.SendResponse() will disable interface updates

    With SendResponse I want to play a sound: UniSession.SendResponse('audioOK.load();audioOK.play();'); I solved it with a timer 100ms and activate the timer to do this job at the client side. And because TUniTimer.RunOnce will run only once per session I've done it myself. //Timer function function(sender) { audioOK.load(); audioOK.play(); try{MainForm.UniTimerAudioOK.stopAll()}catch(e){}; } procedure TMainForm.UniButton1Click(Sender: TObject); begin UniSpeedButton1.Down := True; UniTimerAudioOK.Enabled := False;//because stopAll() is called at client side UniTimerAudioOK.Enabled := True; end; P.S. maybe there is a better solution but my javascript knowledge is poor.
  5. If I have two TUniSpeedButton trying to set UniSpeedButton1.Down isn't working if I use UniSession.SendResponse() in the same call. procedure TMainForm.UniButton1Click(Sender: TObject); begin UniSpeedButton1.Down := True; UniSession.SendResponse('');//if this line is present then then previous change to Down doesn't work end;
  6. UniGUI 1.90.0.1535, Delphi 10.4.1 I need the UniEdit1 value in javascript and MainForm.UniEdit1.getValue returns a strange and not usable value. I tried the demo unit UniClientEventsEditClientEvents where is a UniEdit1.ClientEvents.change() function that does not exists if I place a new TUniEdit component on the form. What is the explanation? It is obsolete and better not to use it? I ask because reading from javascript MainForm.UniEdit1.getValue returns something like this in is not the edit value: "function(){var b=this.callParent(arguments);if(b&&this.uniCase){var a=document.documentElement.lang;if(!a){a=""}if(this.uniCase=="up"&&b.toLocaleUpperCase){b=b.toLocaleUpperCase(a)}else{if(this.uniCase=="low"&&b.toLocaleLowerCase){b=b.toLocaleLowerCase(a)}}}return b}"
  7. CristianPeta

    Store with of containerpanel

    Thank you. I just found this and also I need to put a uniDBGrid into a panel because uniDBGrid doesn't have OnResize event (or is not exposed?). The values I will save into the cookies.
  8. CristianPeta

    Store with of containerpanel

    I have the same question. Has someone found a solution for this? I've found a solution: the width of the left child is coming in child's OnResize event in Sender.Width
  9. CristianPeta

    open pdf

    I just tested "PDF Viewer" in FireFox 48.0.2 and it's working without any questions. But in the settings I have "Use Adobe Acrobat (in FireFox)" and not "Always ask". But I think this was default.
  10. CristianPeta

    Numbers use unigui

    I don't use exactly MVC but I put all the logic in other units (full of ClientDatasets). It's helps very much to have two interfaces (one for desktop and one for mobile) because the interface units are very light. And if I need to change the interface it's much easier. And for reports, FastReport scripts helps a lot.
  11. CristianPeta

    Convert Delphi App to UniApp

    There is also Mida Converter. uniGUI is not supported now but you can build your list of conversion rules. http://www.midaconverter.com/vcl_to_intraweb.html
  12. CristianPeta

    Buttons disappear from Confirm Dialog

    It looks it is not so easy. EXT JS 5.x was released in 2014, more than two years ago. But don't understand me wrong. I think it's OK to be two years behind.
  13. CristianPeta

    Buttons disappear from Confirm Dialog

    Thank you, good to know. I hope the moving to a new EXT JS version will not be too late.
  14. CristianPeta

    Buttons disappear from Confirm Dialog

    I'm off topic again but this is worrying for me. EXT JS 4.x Standard support ends this year on 12/31/2016: https://www.sencha.com/support/ And extended support I think it's not an option for uniGUI.
  15. CristianPeta

    Buttons disappear from Confirm Dialog

    I also fill all web programing so fragile. I wonder what will happen if EXT JS 4.2 will not be supported any more, uniGUI is still in 4.2 and something breaks. How fast can uniGUI be migrated to EXT JS 6? We think to develop a web interface to our app but it looks that uniGUI is moving to slow. BTW, I'm new here and wonder how fast a new Delphi version is supported by uniGUI?
×