Roberto Nicchi
-
Posts
226 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Posts posted by Roberto Nicchi
-
-
On 8/22/2023 at 1:49 AM, Skyp said:
Hi.
How to close the process of loading the main form with a mask (for some time 1-4 seconds (from client communication..) there may be a white screen between the authorization form and the MainForm.
How to call a mask on the body?
Is there even a way to manage the application body without resorting to js?
Hello,
in the login form probably you have a button to confirm. In this button enable the ScreenMask property.
Roberto
-
1 hour ago, Sherzod said:
Hello,
Yes...
thanks
-
Hello,
i'm trying to make work SSL with a test unigui application (standalone)
I have generated a certificate as explaing in this link: Developer's Guide > Deployment > SSL Configuration > Generate a Self-Signed Certificate (unigui.com)
I have created the certificate with a password and have inserted the password in the SSLPassword property in my application. I suppose i have done it right. Of course i have enabled ssl (ssl.enabled=true)
The application is correctly executed using https://127.0.0.1:8077 but the browser tell me the the connection is not safe. Does it happens because i'm using a self-generated certificate ?
Below you can see the properties of the servermodule.
thanks
Roberto
object UniServerModule: TUniServerModule
OldCreateOrder = False
TempFolder = 'temp\'
Title = 'New Application'
SuppressErrors = []
Bindings = <>
SSL.Enabled = True
SSL.SSLOptions.RootCertFile = 'root.pem'
SSL.SSLOptions.CertFile = 'cert.pem'
SSL.SSLOptions.KeyFile = 'key.pem'
SSL.SSLOptions.Method = sslvTLSv1_2
SSL.SSLOptions.SSLVersions = [sslvTLSv1_2]
SSL.SSLOptions.Mode = sslmUnassigned
SSL.SSLOptions.VerifyMode = []
SSL.SSLOptions.VerifyDepth = 0
SSL.SSLPassword = '050302'
ConnectionFailureRecovery.ErrorMessage = 'Connection Error'
ConnectionFailureRecovery.RetryMessage = 'Retrying...'
Height = 150
Width = 215
end -
On 10/9/2022 at 6:08 PM, Herwan Alhadi said:
To all members of the forum
I am trying to use the keypress event to disallow some keys in a TUniEdit
procedure TForm1.Edit2KeyPress(Sender: TObject; var Key: Char); begin if not (key in[‘0’..’9′,#8]) then key:=#0; end;
still not work, how can do it
thaks
you could use the inputmask property to limit the valid input characters ...
- 1
-
The button is connected to a TuniNativeImageList (svg image)
If i use the following CSS the icon is not centered horizzontally. It's aligned to the left.
.okIcon24 {
height: 24px !important;
width: 24px !important;
background-size: 24px auto;
background-image: url("files/icone/okIcon.svg");
}
If the line
width: 24px !important;
is changed to
width: 24px;
the icon is centered (correctly) horizzontally.
I'm wondering why the "!important" option in CSS is causing the icon not to be centered horizzontally.
thanks
Roberto
-
19 hours ago, Sherzod said:
Try this approach:
procedure TMainForm.UniFormReady(Sender: TObject); begin UniDBGrid1.JSInterface.JSCall('getSelectionModel().setSelectionMode', ['SIMPLE']); end;
It works perfectly, thanks!
-
2 hours ago, irigsoft said:
Hello, try to create procedure like Example :
GridMultiSelect
to check checkbox when user click on DBGrid Row (Work on uniDBGridClick, uniDBGridDBlClick,OnCellClick)
var
selActControl : TControl;
begin
if Column <> nil then beginif not Column.ActionColumn.Enabled then
// procedure to check selected row from example//TUniDBGrid (TUniDBGridColumn (Column).Grid).;
end;
I can't understand how to change the selection of the current record by code. I i had this information it would be easy...
-
37 minutes ago, Sherzod said:
Hello,
"Use Ctrl/Shift to select multiple records (Ctrl-A to select all)"
\FMSoft\Framework\uniGUI\Demos\Desktop\GridMultiSelect
The application will be used in a touch monitor. The user click (touch) the record and it should be selected.
thanks
Roberto
-
Hello,
i'm using a TuniDBgrid component to allow selection of multiple records.
Options = [dgEditing, dgTitles, dgIndicator, dgColumnResize, dgColLines, dgRowLines, dgRowSelect, dgCheckSelect, dgAlwaysShowSelection, dgConfirmDelete, dgMultiSelect, dgAutoRefreshRow]
My problem is that the record selection is possible only clicking in the checkbox only. I would like to select/unselect the record clicking in any column of the grid. Possible in some way ?
thanks
-
the application will be used in a touch screen PC so i would like to have larger buttons in the standard messagedlg dialog box. Possible ?
If not i'll write my own confirmation form.
thanks
Roberto
-
I have created my own numeric touch keypad in Delphi code, as suggested by Ron
thanks
-
-
18 hours ago, Sherzod said:
Hello,
You also try another library:
Right, the problem is that my knoledge in JS is too low to make that lib works with Unigui...
-
Hello,
i have an Unigui application that will be used in a Windows PC with a touch monitor.
The user have to insert a numberic value into a TuniNumberEdit. I would like to have a button (next to the number edit) that will open a form with a virtual numeric keypad. The user type the number (the keypad must have large keys) and press enter. The number is inserted into the TuniNumberEdit.
Is there something like this ?
For the moment i need only a numeric keyboard but would be nice also to have an alphanumeric keyboard.
I have found the following thread but the keyboard is very small.
thanks
Roberto
P.S. My knoledge of JS is zero
-
It works
Thanks a lot.
- 1
-
Hello @Sherzod
i'm still having problems with the TUniButtonWidget.
If the image is squared, it's rendered correctly. But if the image is rounded it's cut in the left and in the right.
See the attached example.
How to fix it ?
Thanks
-
-
Seems to me that if tabstop is false at designtime the html tabindex attribute is missing in html. I guess this is the problem...
-
2 hours ago, Sherzod said:
Hello,
Workaround:
procedure TMainForm.UniFormCreate(Sender: TObject); begin UniHTMLMemo1.JSInterface.JSAddListener('boxready', 'function(me){Ext.defer(function(){me.iframeEl.dom.contentDocument.body.addEventListener("keydown", function(e) {if (e.key=="F5") {e.preventDefault(); '+ Self.WebForm.JSForm.JSName +'.fireEvent("keydown", '+ Self.WebForm.JSForm.JSName +', e.keyCode, 0)}})}, 1000)}'); end;
Thanks!
-
Hello,
look at the attached demo app. Seems that the monitored key is ignored if the focused control is a TuniHTMLMemo. The default browser action is executed instead of the code in the onkeydown event of the form.
Roberto
-
1 minute ago, Roberto Nicchi said:
I think @Sherzodis suggesting to not change the tabstop property at design time (leave it with the default true value) and change it only at designtime.
Roberto
... only at runtime
-
2 hours ago, Frederick said:
Sherzod,
I do know that I can set the TabStop to True at designtime. I can even set this property at runtime in VCL and it will work.
However, I am looking for a solution in UniGUI on how to set it during runtime and work.
If you have a solution now or if it will be fixed in the next build, please let me know.
I think @Sherzodis suggesting to not change the tabstop property at design time (leave it with the default true value) and change it only at designtime.
Roberto
- 1
-
10 hours ago, FFREDIANELLI said:
Hi Sherzod,
problably by my english. My application create an email , in the body of the email , the application create a hyperlink, to my site with an unigui application. In the link i have parameters (crypted) to explain what to the application.
The guy that receive the email click on hyperlink and the site open, for some milliseconts ( i can see the gif of unigui running...) but closes. If the guy copy the hyperlink to the browser, it open and do the expected things... I do not know if is the site that do not have ssl certificate, because if i put in the same application a link to a commercial site... it open.
Could be the Antivirus software ?
-
On 10/29/2019 at 7:37 AM, donlego said:
please add this fitur to hyper server remote deploy
not just exe , coz sometime when update my new app version not just single exe,
it can be other file or folder
I think this could be very usefull. In the HyperServer's "Upload New Version" dialog you could add the possibility to upload also a zip file. The zip file will be unzipped in the main exe folder.
Roberto
apertura form
in General
Posted
Personalmente ti consiglio sempre di creare un piccolo programma di esempio quando hai una problematica come questa.
Roberto