Ario.Paxaz Posted June 4, 2025 Posted June 4, 2025 Hello. Is it possible to use this scientific calculator in unigui-mobile? Regards.
Ario.Paxaz Posted June 4, 2025 Author Posted June 4, 2025 this scientific calculator. https://www.mindstick.com/articles/12256/scientific-calculator-layout-code-in-sencha-extjs
Sherzod Posted June 4, 2025 Posted June 4, 2025 So, were you able to get it working the way you wanted?
Ario.Paxaz Posted June 4, 2025 Author Posted June 4, 2025 20 minutes ago, Sherzod said: So, were you able to get it working the way you wanted? Unfortunately no. I made a calculator form, I posted a video of it in the previous post, the keystrokes are delayed. https://forums.unigui.com/index.php?/topic/40632-unimedit-triggerevent/#findComment-177717
Ario.Paxaz Posted June 4, 2025 Author Posted June 4, 2025 Hello Calculator buttons on mobile are delayed. I activated the mask for all the buttons to make them clearly displayed in the movie. CalcMobile.rar
Ario.Paxaz Posted June 5, 2025 Author Posted June 5, 2025 Hello To see the result in the calculator, I put an unimedit1. I used this post to use the thousands separator in the unimedit1. https://forums.unigui.com/index.php?/topic/38001-thousands-separator-in-unimedit/page/2/#findComment-172777 In Tap Button (1), I wrote this command function tap(sender, e, eOpts) { ajaxRequest(sender, "numericValue", {val of unimedit1}) } My question is, How to pass the unimedit1 value instead of {val of unimedit1} Regards.
Ario.Paxaz Posted June 6, 2025 Author Posted June 6, 2025 I wrote the following code, but the thousands separator doesn't work. procedure TfrmCalc.UnimFormCreate(Sender: TObject); var btnScript: string; begin btnScript := 'tap=function tap(sender, e, eOpts)' + '{ ' + 'ajaxRequest(sender, "numericValue",{' + 'val: "' + lblresult.Text + '"})'+ '} '; btn1.ClientEvents.ExtEvents.Add(btnScript); end; Regards.
Ario.Paxaz Posted June 6, 2025 Author Posted June 6, 2025 What should I do to activate the unimEdit paint event when pressing the keys (1, 2, 3, 4) in the program? Screen Recording 2025-06-06 162811.mp4 ThosandSeperatorInUnimEdit.rar
Ario.Paxaz Posted June 6, 2025 Author Posted June 6, 2025 Hello @Sherzod May you help for this problem.
Ario.Paxaz Posted June 7, 2025 Author Posted June 7, 2025 To execute the painted code related to `UnimEdit` when the button (`UnimButton1`) is touched, I used the button's OnClick event and wrote the following code, UnimEdit1.JSInterface.JSCall('painted', [UnimEdit1.JSInterface.JSObject(''), Null]); but it gives an error O1C.painted is not a function. How to solve the problem? Thanks very much.
Recommended Posts