-
Posts
19654 -
Joined
-
Last visited
-
Days Won
634
Content Type
Profiles
Forums
Events
Everything posted by Sherzod
-
Hi, Immediately run the code or warn the user: UniMainModule -> BackButtonAction = bbaWarnUser
-
Hello, Maybe you can try something like this... // 'FIRST', 'PRIOR', 'NEXT', // 'LAST', 'INSERT', 'DELETE', 'EDIT', 'POST', 'CANCEL', 'REFRESH', 'APPLYUPDATES', 'CANCELUPDATES' procedure TMainForm.UniFormReady(Sender: TObject); var btnName: string; btnHint: string; begin btnName := 'FIRST'; //uni_dbn_xxx btnHint := 'First'; UniSession.AddJS('Ext.ComponentQuery.query("[uname=uni_dbn_'+ btnName +']").forEach(function(el){el.setTooltip("'+ btnHint +'")});'); btnName := 'PRIOR'; //uni_dbn_xxx btnHint := 'Prior'; UniSession.AddJS('Ext.ComponentQuery.query("[uname=uni_dbn_'+ btnName +']").forEach(function(el){el.setTooltip("'+ btnHint +'")});'); //... end;
-
Hello, By default the FireDAC application works in auto-commit mode, where a transaction is automatically started by FireDAC when it is required, and is committed on the successful command execution or rolled back on a failure.... http://docwiki.embarcadero.com/RADStudio/Rio/en/Managing_Transactions_(FireDAC)
-
How to avoid that the collapse icon be under scroll bar ?
Sherzod replied to FFREDIANELLI's topic in General
Also you can try to use only this config, without CSS: with TUniPanel.Create(Self) do begin ... JSInterface.JSConfig('titlePosition', [1]); ... end; -
Hi, What code is not executed, can you clarify?
-
How to avoid that the collapse icon be under scroll bar ?
Sherzod replied to FFREDIANELLI's topic in General
... ClientEvents.ExtEvents.Clear; ClientEvents.ExtEvents.Add ('afterrender=function afterrender(sender, eOpts){this.addCls("my-panel");}'); ... -
How to avoid that the collapse icon be under scroll bar ?
Sherzod replied to FFREDIANELLI's topic in General
Hello, Which error do you get? Did you assign a name to the component? -
UniHTMLMemo -> ShowToolbar = False (BorderStyle = ubsNone)
-
Hello, JSCode for example: MainForm.UniHTMLMemo1.iframeEl.dom.contentDocument.documentElement.scrollHeight
-
UniEdit ClientEvents UniEvents call procedure in custom component
Sherzod replied to FabioMorcillo's topic in General
Sorry not yet... -
adjust width dropdown TuniCombobox delphi
Sherzod replied to Uelson Cavalcante's topic in Portuguese
Hello, Which edition and build of UniGUI are you using?! -
UniEdit ClientEvents UniEvents call procedure in custom component
Sherzod replied to FabioMorcillo's topic in General
Hello, Sorry, can you please clarify your question?! -
Ok I will check
-
OK
-
Hi, First of all, can you please open a ticket in support portal as feature request? http://jira.fmsoft.net/servicedesk/customer/portal/4 And, can you tell me how do you add nodes to the treeview, designtime or runtime? Can you provide part of your code or a simple testcase?!
-
Hi Erich, Sorry, what type of app? Can you explain in more details? Can you make a simple testcase for reproduce?!
-
-
JSCall
- 9 replies
-
- type=password
- passwordchar
-
(and 1 more)
Tagged with:
-
private { Private declarations } FInputType: string; procedure TMainForm.UniComboBox1TriggerEvent(Sender: TUniCustomComboBox; AButtonId: Integer); begin if AButtonId = 0 then begin // Вам нужна переменная, которая будет хранить пред.значение if FInputType = 'password' then begin Sender.JSInterface.JSCall('inputEl.el.dom.setAttribute', ['type', 'text']); FInputType := 'text'; end else begin Sender.JSInterface.JSCall('inputEl.el.dom.setAttribute', ['type', 'password']); FInputType := 'password' end; end; end; procedure TMainForm.UniFormCreate(Sender: TObject); begin UniComboBox1.JSInterface.JSConfig('inputType', ['password']); FInputType := 'password' end; Может как-то так...
- 9 replies
-
- type=password
- passwordchar
-
(and 1 more)
Tagged with:
-
Пожалуйста, можете уточнить?
- 9 replies
-
- type=password
- passwordchar
-
(and 1 more)
Tagged with:
-
http://jira.fmsoft.net/servicedesk/customer/portal/4
-
Добрый день, procedure TMainForm.UniFormCreate(Sender: TObject); begin UniComboBox1.JSInterface.JSConfig('inputType', ['password']); end; ?
- 9 replies
-
- type=password
- passwordchar
-
(and 1 more)
Tagged with:
-
Hello, Are you using frames?
-
Can you make a simple testcase (VCL)?!
-
Tunichart LineSeries adapted (instead of straight lines)
Sherzod replied to SergioFeitoza's topic in General
Hello, You can try this approach... UniChart -> ClientEvents -> ExtEvents -> function beforerender: function beforerender(sender, eOpts) { //for the first series for example sender.chart.series[0].setCurve({ type: 'cardinal', tension: 1 }); }