Tokay
-
Posts
839 -
Joined
-
Last visited
-
Days Won
19
Content Type
Profiles
Forums
Events
Posts posted by Tokay
-
-
13 hours ago, picyka said:
Is there a way to know if a given form is open?
if UniMainModule.GetFormInstance(TUniFormVisualizarTarefa, false) then
I tried this rule but it didn't work.I think it could possible do additional check:
Form := UniMainModule.GetFormInstance(TUniFormVisualizarTarefa, False);
if (not Assigned(Form)) and (not Form.Visible) then
..... form closed
-
You could use any web client to get data from any website, for example:
https://docwiki.embarcadero.com/Libraries/Sydney/en/System.Net.HttpClientComponent.TNetHTTPClient
-
Obviously unigui prort is open in other app. Change unigui port or close app wich has open port.
-
31 minutes ago, andyhill said:
Sherzod, this is really important for me, have I missed something ?
Can you please show me how to use a single grid with two datasources (Master / Detail) using expanding / collapsing nodes.
I think that you can post a screenshot what are you looking for.
-
Is it possible to control which Calendar Id is allowed to put one to another or not. For example, to allow putting Calendar Id 2 on Calendar Id 1 but Calendar Id 3 - not.
-
Ok, I understood. One more question. Does it posiible to restrict time events overlaing?
-
Up. See many questions about time slot changing. We need 15 minutes time slot. Does it possible in actual versions?
-
Not full. uniTools are still closed
-
-
Plese fix issues! Very annoying.
-
-
Looks better, thank you!
- 1
-
On 11/23/2022 at 9:54 AM, Sherzod said:
Try this, just did it again.
1. UniHiddenPanel1 -> UniMenuButton1
2. Form OnReady ->
procedure TMainForm.UniFormReady(Sender: TObject); begin with UniPageControl1.JSInterface do begin JSCall('tabPanel.tabBar.add', [JSObject('xtype: "tbfill"')]); JSCall('tabPanel.tabBar.add', [UniMenuButton1.JSControl]); end; end;
Hi, this is great soultion for my purpose. It's do about ideal what's needed:
I put a label to the UniPageControl1. But how to center label vertically on the corner? And a bit push label to left from right border?
-
Condolences from Belarus and hope that with Farshad all is ok.
- 1
-
-
-
Moreover. I have same issue on different theme.
Classic:
Carbon (BTW pay attention to the button, it has no picture):
Delphi 10.4.2, Ubuntu 18, FireFox, 1562 UniGui
-
We've found solution:
span.x-btn-inner-default-toolbar-large {
font-size: 11px;
}11px on default theme. I've set 10px in the project.
-
Кидай тестовый проект, может саппорт посмотрит и будут идеи что тут придумать.
-
Вот примерный код того что тебе нужно:
procedure TMainForm.UniButton1Click(Sender: TObject); var lMainForm: TMainForm; lUniButton: TUniButton; MainModule: TUniMainModule; Session: TUniGUISession; begin Session := UniServerModule.GetSession('id второй сессии'); if Assigned(Session) then begin MainModule := TUniMainModule(Session.UniApplication.UniMainModule); lMainForm := TMainForm(MainModule.GetFormInstance(TMainForm, False)); lUniButton := TUniButton.Create(lMainForm); lUniButton.Parent := lMainForm; end; end;
Единственное тебе нужно как-то найти ID сессии в которую надо пристроить кнопку.
-
You could try soime kind of the profiler to find what exatly your process does to take all CPU core time.
-
About the same as on Windows: put certificates + key, install OpenSSL lib.
- 1
-
On the default theme:
-
Could you please help me find CSS style at least for toolbutton labels? They are huge:
Equivalent Of VCL's ShowMainForm:=False
in General
Posted
You could at this stage (optionally, in OnShow event) hide form, and later another will show.