ana.rodrigues
-
Posts
21 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Posts posted by ana.rodrigues
-
-
Hi,
In my webapplication, i use the UniSession.BrowserWindow(lURL 0, 0, '', [bwStatus]), and later on, i want to close it.
Is it possible to close a Browser Window called with UniSession? If so, how can i do it?
Thanks.
Best Regards,
Ana Rodrigues
-
Hi,
I have the same message appearing.
The line of code that seems to trigger this is:
FDMemTable1.CopyDataSet(FDStoredProc1, [coStructure, coRestart, coAppend]);
I have a UniDBGrid associated with FDMemTable1.
I cleared the cache under \cache directory and still not solved.
My version of unigui is uni-1.90.0.1563, and my version of RADStudio is Delphi 11 Version 28.0.45591.0253 .
Please help, this error did not show up before.
Can i at least, hide the ajax errors that appear?
Thanks in advance
-
Oh ok. I'll check there.
Thank you.
-
Hi Farshad,
It is a Standalone Server!
-
Hi,
I have unigui version:1.90.0 build 1555 and windows 10. It never happened on win 7.0.
My unigui web application, sometimes, shutdown abnormally. The error does not appear in the logs. The application is running, and when I use a session of the application, it freezes at some point and the unigui server itself shutdowns. Have you been aware of this bug? Is there any way to know why the application shuts down? Even if i place code in the UniServerModule.OnException or UniServerModule.Destroy events, i can't catch any of this.
If anyone has had this problem or know how to solve please, help me.
Thanks in advance,
Ana
-
Hi,
I just want to know if there is a way to sort a unitreeview, but only the parent nodes, that is, the level 0 of a treenode.
I am populating dynamically the items of a treeview, but i need them to be sorted alphabetically, after adding.
Can someone ever had this need of sorting a unitreeview and know how to do it?
Thanks in advance.
Ana
- 1
-
32 minutes ago, Sherzod said:
Hello,
Can you please clarify your question?
I have 10 items on my treemenu on the left side of my page window, and when i resize the browser, turnning it smaller in width and height, after that,
only shows the first 7 items .
Since other elements of my page resize against the browser width/height why this component don't resize as well? That is, after resizing, i would like to see all the elements in my treemenu vertically....
-
Hi,
I want my treemenu, which have a list of items, to resize, after i resize the browser which contains the page. What happens is, my last items disappear when i turn the browser window smaller. Is there a way to resize treemenu automatically? Any property i should set?
If anyone could help, please.
Thanks in advance.
-
11 minutes ago, Sherzod said:
Sorry, didn't understood at first. It is working!
Many Thanks!
Best Regards
- 1
-
-
16 hours ago, Sherzod said:
Hello,
Try this approach for now (UniTreeView):
procedure TMainForm.UniFormCreate(Sender: TObject); begin UniTreeView1.JSInterface.JSAddListener('afterlayout', 'function(){this.getEl().down(".x-tree-view").setStyle("overflowX", "auto")}'); end;
Thank you so much. It worked!!!
Is there a similar way for TUniListboxes also?
Best Regards
-
Hi,
I have this problem. I want to have a horizontal scrollbox to appear in a UniListBox and UniTreeView. I only have Vertically.
When my items have a caption longer than the width of the UniListBox or UniTreeView it doesn't show it tottally.
Thanks in advance
-
On 9/26/2020 at 12:48 PM, Pep said:
Can you try to use this approach?
In UniServerModule.CustomCSS property
.txtPassword { -webkit-text-security:disc; }
for more information about this: https://stackoverflow.com/questions/13822548/degrading-webkit-text-security
In Login Form:
edtPassword.ClietnEvents.UniEvents -> beforeInit:
function beforeInit(sender, config) { config.cls = 'txtPassword'; config.readOnly = true; config.listeners={ focus: function(edt) { edt.setReadOnly(false); } } }
UniLoginFormCreate Event
procedure TfrmLogin.UniLoginFormCreate(Sender: TObject); begin // Set edtPassword as Input Type = "password" edtPassword.PasswordChar := '*'; UserAgent.Caption := 'User Agent: ' + UniSession.UserAgent; if UniSession.UserAgent <> EmptyStr then begin if (Pos('chrome', LowerCase(UniSession.UserAgent))> 0) then begin // Browser is chrome and it's comptaible with css property -webkit-text-security:disc; // so you can set edtPassword Input Type = "text" edtPassword.PasswordChar := #0; end; end; end;
See demo app:
Thank you. It worked!
-
19 hours ago, Pep said:
See this video (minute 33.10) to remove autofill.
Hi, thanks but i saw this video and does not explain how to remove the autofill. The author says that explanation is in another video, but he doesn't say which video has the explanation. Also, the rar file is damaged, don´t know if it has the source code or not.
-
13 minutes ago, alfr said:
Perhaps this way (from another forum post)?
I tried that, didn't do anything at all, unfortunatelly...
-
Hi,
I am developing an unigui application, and i would like not show saved passwords or users from google chrome.
I tried some solutions i read on forumns but none worked, such as
UniSession.AddJS('$("input").attr("autocomplete", "off");
or
function afterrender(sender, eOpts)
{
var me=sender.inputEl;
me.set({
readonly: "readonly"
});
sender.addListener(
'focus',
function(sender, e, eOpts) {
me.el.dom.removeAttribute('readonly');
}
);
}How can i disable, saved passwords from appear, everytime i use an edit?
Thanks in advance.
- 1
- 1
-
Hi,
I want my webapplication to restart. Aparently, It seems it does with UniApplication.Restart or ModalResult := mrOk, but then it shows the LoginForm, and when i try to hit the button again it doesn't do anything as if it has no event at all. That is, there wasn't really a restart, because something seems to get stuck.
I have the lastet unigui Version:1.90.0 build 1531.
How do i force an application to end? Because i want to re-enter my application in another session, and i can't without kill the application with taskmanager and run again.
Thanks in advance.
Ana
Is it possible to close a BrowserWindow called with UniSession.BrowserWindow ?
in General
Posted
Thank you,
It works!