-
Posts
565 -
Joined
-
Last visited
-
Days Won
12
Content Type
Profiles
Forums
Events
Posts posted by herculanojs
-
-
Just now, herculanojs said:
Added name and it works
-
-
On 1/14/2020 at 12:59 AM, Sherzod said:
Like this for example:
function afterrender(sender, eOpts) { var me=sender; me.triggerButtonEl = me.bodyEl.createChild({ tag: 'button', html: '<i class="fa fa-search fa" style="position:relative; color:grey;"></i>' }); me.triggerButtonEl.setStyle('position', 'absolute'); me.triggerButtonEl.setStyle('top', '0px'); me.triggerButtonEl.setStyle('right', '0px'); me.triggerButtonEl.setStyle('left', 'auto'); me.triggerButtonEl.setStyle('height', '100%'); me.triggerButtonEl.addListener('click', function(){ //ajaxRequest(me, 'clicked', []); }); me.inputEl.setStyle('padding-right', me.triggerButtonEl.getWidth()+1); }
how can i pass this code at runtime.
I can't make it work with dynamic component creation -
-
Would it be possible to place UniCalendarDialog in an area instead of in the middle of the desktop?
Determining Your Top and Left
-
The Click to Close param does not seem to behave as expected. Even checked the message is closed after a while.
The same situation with the Wait for mouse move and autoclose after param. -
Sorted out. I just left the client-aligned Panel, and the server-aligned main form
-
The accordion layout apparently only works with AlignmentControl = uniAlignmentClient
However when I switch to this form instead of uniAlignmentServer, the Main form gets weird.Attached are two images for comparison.
How to resolve to make background color and anchored controls look similar to uniAlignmentServer -
I don't know anything that can be compared to Unigui. Until there is something really that can be compared to what there is today, the advances that Unigui will have already made will be difficult to achieve.
Everything we need we can do it one way or another at Unigui.
The support of the Unigui team is without comparison.
Certainly having responsive layout and not having to create a mobile form and a web form will be fantastic. Looking forward to it.
Não conheço nada que possa ser comparado ao Unigui. Até que exista algo realmente que possa ser comparado ao que hoje existe, os avanços que a Unigui já terá sofrido serão difícies de serem alcançados.
Tudo que necessitamos podemos de um jeito ou de outro conseguir no Unigui.
O suporte da equipe Unigui é sem comparação.
Com certeza termos leiaute responsivo e não ter que criar um form para mobile e outro para web será fantástico. Aguardando ansioso
- 4
-
5 hours ago, Sherzod said:
Also you can use this approach I think.
1. UniContainerPanel
---> UniMemo (align = AlClient)
2.
procedure TMainForm.UniFormCreate(Sender: TObject); begin with UniMemo1.JSInterface do JSAddListener('afterrender', 'function(){this.setStyle("width", "100%");this.setStyle("height", "100%")}'); with UniContainerPanel1.JSInterface do JSAddListener('afterrender', 'function(){this.initResizable({'+ 'dynamic: true,'+ 'pinned: true,'+ 'handles: "s e se",'+ 'heightIncrement: 20,'+ 'widthIncrement: 20'+ '})}'); end;
It couldn't be this way, because I need to resize UniEdit, UniMemo, UniNumberEdit, etc ...
-
1 minute ago, Sherzod said:
Hello,
Sorry, what do you mean?
Is it possible to resize UniMemo runtime?
I tried this approach but couldn't get result
-
On 5/23/2019 at 2:19 PM, Sherzod said:
For Resizable:
function added(sender, container, pos, eOpts) { sender.resizable= true; //sender.draggable= true; }
Stop:
UniPanel1.JSInterface.JSCall('resizer.destroy', []);
Resume:
UniPanel1.JSInterface.JSCall('initResizable', []);
Is it possible to resize too many components, such as a UniMemo?
-
Estão me enviando mensagens no privado, para inclusão no grupo de WhatsApp. Eu não sou o administrador do grupo.
-
On 9/14/2018 at 1:19 PM, perjanbr said:
Tudo bem,
olha ai,
www.uniscript.com.br:8077/?app=samples
www.uniscript.com.br:8077/?app=dashboard1
www.uniscript.com.br:8077/?app=dashboard2
www.uniscript.com.br:8077/?app=jquery
tudo script .pas e .dfm, um único executavel vai rodar vários projetos.
Show de bola
-
On 12/1/2017 at 3:33 PM, perjanbr said:
Tudo bem Herculano,
Consigui mapear quase todos os componentes do Unigui, o negócio ficou louco, estou fazendo uma aplicação que não vai precisar nem do Delphi, o problema e fazer todas as telas na mão, estou criando um Form Design, esta em 70%, consigo gerar DFM e Pas e ler em tempo de execução com o Script. Pra você ter ideia consigui mapear ate as classes de conexão de banco de dados. Quando estivar funcional aviso.
Até..
Boa tarde meu nobre
Conseguiu avanço ?
-
Good Morning!!!
I'm creating a Filter option in uniDbGrid in runtime ...
All component connections ...
The visual display is perfect, but the filter code does not work.
When I type the letter no, the event is triggered but the value of the second letter on, the event is not even triggered !!!
I have a project ready but I do not know how to attach in the forum !!!
Could you guide me ???
Unigui Version 1.10.0 Build 1469
Code Customer...
procedure TMainForm.UniFormCreate(Sender: TObject);varoHidePanel : TUniHiddenPanel;oEdit : array of TUniEdit;i : integer;beginTUniHiddenPanel(oHidePanel) := TUniHiddenPanel.Create(Self);for I := 0 to Pred(UniDBGrid1.Columns.Count) dobeginSetLength(oEdit,Length(oEdit)+1);TUniEdit(oEdit) := TUniEdit.Create(Self);TUniEdit(oEdit).Parent := TUniHiddenPanel(oHidePanel).Parent;TUniEdit(oEdit).Width := UniDBGrid1.Columns.Items.Width - 10;TUniEdit(oEdit).Name := 'Edit_'+IntToStr(i);UniDBGrid1.Columns.Items.Filtering.Enabled := True;UniDBGrid1.Columns.Items.Filtering.Editor := TUniEdit(oEdit);end;UniMainModule.ADOQuery1.Open;UniMainModule.ADOQuery2.Open;end;tente assim:
procedure TMainForm.UniFormCreate(Sender: TObject);varoHidePanel : TUniHiddenPanel;oEdit : array of TUniEdit;i : integer;beginoHidePanel := TUniHiddenPanel.Create(Self);oHidePanel.Parent := self;self.InsertControl(oHidePanel);for I := 0 to Pred(UniDBGrid1.Columns.Count) dobeginSetLength(oEdit,Length(oEdit)+1);TUniEdit(oEdit) := TUniEdit.Create(Self);TUniEdit(oEdit).Parent := oHidePanel;TUniEdit(oEdit).Width := UniDBGrid1.Columns.Items.Width - 10;TUniEdit(oEdit).Name := 'Edit_'+IntToStr(i);UniDBGrid1.Columns.Items.Filtering.Enabled := True;UniDBGrid1.Columns.Items.Filtering.Editor := TUniEdit(oEdit);UniDBGrid1.Columns.Filtering.ChangeDelay := 250;end;UniMainModule.ADOQuery1.Open;UniMainModule.ADOQuery2.Open;end; -
Leveraging the subject
Is it possible in a hybrid application, when it is accessed from a particular device, for example tablet, it uses the desktop instead of mobile? For example: I would like to access via tablet the desktop application and only by mobile, the mobile application. Is it possible to get around something like that?
- 1
-
-
as far as I know, it is not possible change the parent
What are you needing to do?
-
I think it will take a few years until they get close to the unigui. And when they reach the current stage, unigui will be much more ahead.
The embarcadero continues as always with problem of focus.
They shoot everywhere and can not close something ripe and easy.
Firemonkey is a great misfortune, the infinity of bugs made the product unusable.
For demonstrations as they are made, and small applications you even get some results.
For real-world cases leaves to be desired.
- 1
-
Once again the support of Fmsoft is unsurpassed.
Forgive us Farsha for the hot head, too much pressure from customers and we go crazy.
You as always are the savior of the motherland.
- 1
-
Together with Farshad we solved the problem.
An old verification code if it was running on the mobile platform, was failing and moving on to creating a desktop application form.
result := UniSession.isMobile;
// result := false;
//
// uPlat := UniApplication.UniPlatform;
//
// if (upMobile in uPlat) then
// result := True;
-
-
UniCalendarDialog Top + Left
in General
Posted
yes