Jump to content

Fábio Matte

uniGUI Subscriber
  • Posts

    159
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by Fábio Matte

  1. It was 1.0.0.1399 and last week I bought 1.0.0.1425 and I migrated to it, and until then everything worked, this morning, I upgraded to a beta version and it was where the error occurred.
  2. I updated my UniGui to version 1451 (Beta), and it presents the following error when starting some Forms. TUniContainerPanel.addDocked (): Capability not implemented. Use TUniPanel or TUniSimplePanel instead. Is this a bug in the beta version, or something that has to be modified?
  3. Fiz conforme você me indicou, colocando 100% ou 100 Porem o resultado ainda é assim: Já retirei, coloquei no UnimPanel, TabPanel, TabSheet, e nada
  4. Estou com a versão 1425 instalada, e o problema continua, eu ja compilei nessa versao, porém ainda continuo com o mesmo problema da targeta. E o botao se desloca para cima
  5. Tank you function beforeInit(sender, config) { config.maxLength=3; } Thank you very much, it worked out here with your help.
  6. Você consegue fazer isso através do CustomCSS, e isso serve para Mobile quanto para Desktop. 1. UnimDBGrid1 -> ClientEvents -> UniEvents ... beforeInit fn: function beforeInit(sender, config) { config.cls="mGridCliente"; config.itemHeight = 30; config.headerContainer = {height: 30}; } 2. UniServerModule -> CustomCSS ... add .mGridCliente .x-grid-column { border-style: solid; border-width: 1px 1px 0; height: 30px; line-height: 30px; padding: 0 8px; vertical-align: middle; font-family: 'Trebuchet MS', Arial, Helvetica, sans-serif; font-size: 9pt; font-weight: bold; width: 100%; text-align: center; background-color: #4CAF50; color: white; } .mGridCliente .x-grid-cell { height: 40px !important; line-height: 30px !important; font-family: 'Trebuchet MS', Arial, Helvetica, sans-serif; font-size: 18pt; font-weight: bold; color: black; border-collapse: collapse; width: 100%; background-color: #99ccff; }
  7. How to put maxlength in TUnimEdit (Mobile), since this property only has in TUniEdit (Desktop), how to do...
  8. Hello, Do you have any code that tells me if the running APP is Mobile or Web? For example: If it is mobile, it creates a UnimLabel1 at runtime, if Web creates a UniLabel1 at runtime. Something like this, but to differentiate Mobile from Web: {$ IFDEF RELEASE} {$ define UNIGUI_DLL} // Generates DLL directive // {$ define UNIGUI_SERVICE} // Service Policy {$ ENDIF} {$IFDEF DEBUG} {$define UNIGUI_VCL} // {$ENDIF} {$IFDEF UNIGUI_VCL} program {$E exe} {$ENDIF} {$IFDEF UNIGUI_DLL} library {$E dll} {$ENDIF} {$IFDEF UNIGUI_SERVICE} program {$ENDIF}
  9. É possivel usar o Uniframe dentro de um projeto mobile? Se sim, alguém tem um exemplo de como chamar um uniframe dentro de um mobile. Pois eu tentei chamar um uniFrame da mesma forma que chamo em Aplicação Web e deu a seguinte mensagem: "OC4.setTitle is not a function" Código usando para Chamar o uniFrame Criei no Private o seguinte: private { Private declarations } FFrameName: string; FCurrentFrame: TUniFrame; procedure InsertFrame(AName, ATitle: string; MeuIDFrame : Integer; IDIcone: Integer); E criei a procedure assim: procedure TfrmLoginM.InsertFrame(AName, ATitle: string; MeuIDFrame : Integer; IDIcone:Integer); var Path: string; begin try if FFrameName = AName then Begin Exit; End else Begin FFrameName := AName; End; Path := UniServerModule.StartPath + 'Versao\'; pgGERAL.TabIndex := MeuIDFrame; FreeAndNil(FCurrentFrame); except on E : Exception do begin sa.Info('ERRO NO ID FRAME...: '+MeuIDFrame.ToString); Abort; end; end; Try if AName <> 'TfrmLogimM' then begin FCurrentFrame := TUniFrameClass(FindClass('T' + AName)).Create(Self); FCurrentFrame.Align := alClient; FCurrentFrame.Parent := tsAbastecimento; tsAbastecimento.Caption := ATitle; tsAbastecimento.ImageIndex := IDIcone; end; except on E : Exception do begin sa.Warning('Atenção de Exceção! 002',E.Message+' - Classe: '+e.ClassName, procedure(const ButtonClicked: TAButton) begin end); Abort; end; end; end; Chamei o uniFrame: InsertFrame('frmTesteM' , 'ABASTECIMENTO', 2,0); Mas está apresentando o erro em destaque acima
  10. This code is for when you want to apply CSS in a single UnimDBGrid1 , which in this case we should give a nickname to the CSS that goes to the UnimDBGrid1: 1. UnimDBGrid1 -> ClientEvents -> UniEvents ... beforeInit fn: function beforeInit(sender, config) { config.cls="mGridCliente"; config.itemHeight = 30; config.headerContainer = {height: 30}; } 2. UniServerModule -> CustomCSS ... add .mGridCliente .x-grid-column { border-style: solid; border-width: 1px 1px 0; height: 30px; line-height: 30px; padding: 0 8px; vertical-align: middle; font-family: 'Trebuchet MS', Arial, Helvetica, sans-serif; font-size: 9pt; font-weight: bold; width: 100%; text-align: center; background-color: #4CAF50; color: white; } .mGridCliente .x-grid-cell { height: 40px !important; line-height: 30px !important; font-family: 'Trebuchet MS', Arial, Helvetica, sans-serif; font-size: 18pt; font-weight: bold; color: black; border-collapse: collapse; width: 100%; background-color: #99ccff; }
  11. I would like to purchase Unigui, but I can not pay the full amount, since I am starting the company now and I still do not have clients, so I would like to know if there is any way to buy uniGUI Complete - Professional Edition in installments on credit card ?
  12. Boa Noite, eu ocultei minha TabPanel para não aparecer os Captions delas com o seguinte código: procedure TfrmLoginM.UnimLoginFormBeforeShow(Sender: TObject); begin tsLOGIN.TabVisible := False; tsInicio.TabVisible := False; end; Porém na exibição fica uma targeta em branco ao final da pagina e não consigo remover. Unigui 1397 Imagem:
  13. Boa Noite! Já testei várias alternativas para poder capturar o IP do Cliente, porém só estou conseguindo retornar o IP de onde o APP Unigui está instalado. Mas o que eu preciso é saber o IP em que o Cliente Conectou. Podendo pegar o IP da Conexao do Cliente e também o IP Local do PC do Cliente. Alguém conhece alguma forma com que eu possa retornar esses dados em minha aplicação? Este comando só retorna o IP onde está Hospedado o APP UniApplication.RemoteAddress;
  14. Good afternoon. I have a situation. When declaring form1 within form2 in uses and then referencing an Edit or other component, the system instead of picking up information, it opens form1 instead of just picking up information from the field. Example: 1. Form1 is already open and inside it has a Button that calls form2; 2. Inside form2 I need to load form1 Edits information, so I do so: Edit2.text: = Form1.Edit1.text; And instead of loading the data from Edit1, it opens a new instance of Form1. In pure Delphi this works normally, but with Unigui, it opens a new instance.
  15. The company where I work uses 1397.
  16. Obrigado Andriws Luna, sua dica me ajudou, pois realmente ele tava retorna ao lugar do w3p.exe, e o que eu fiz foi, mudar a forma com que ele interpretava o lugar onde o arquivo era salvo. isso : PDFExport.DefaultPath := UniServerModule.LocalCachePath; por isso PDFExport.FileName := UniServerModule.NewCacheFileUrl(False, ".pdf", '', '', AUrl, True); Obrigado, Resolvido
  17. Good Morning! I put the code below, which you indicated in the Custom CSS of the ServerModule (UniServerModule), however the application continues showing the standard GIF of Unigui. Code Full do Custom CSS: .x-panel2 { border-radius: 10px; } .mycss { color:#91b4cd !important; -webkit-text-fill-color:#91b4cd !important; font: 60px Tahoma, Helvetica, sans-serif !important; font-weight:bold; } .x-mask-msg{ background:none; border-width:0px; } .x-mask-msg-inner{ border-width:0px; color:none; padding:50px; background: rgba(0, 0, 0, 0); background-image:url(files/carregando.gif); background-repeat:no-repeat; background-size: contain; } .x-mask-msg-text{ display:none; background-image:none; } In addition to putting this code in Custom CSS should I add anything else or activate some other property somewhere?
  18. Is it possible to change the GIF and customize the message when MyApp.dll is loading?
  19. Boa tarde, eu estou desenvolvendo uma aplicação com hospedagem no IIS, e neste como todos, gero relatorios em PDF usando o FastReports. Uso esse código para gerar o PDF. NomeRPT.PrepareReport(True); ArqPDF := NomeRelPDF+'_'+FormatDateTime('ddmmyyyy_hhmmss.zzz',Now)+'.pdf'; PDFExport.FileName := ArqPDF; PDFExport.DefaultPath := UniServerModule.LocalCachePath; PDFExport.ShowDialog := false; PDFExport.ShowProgress := False; NomeRPT.Export(Self.PDFExport); NomeRPT.PreviewPages.SaveToFile(ArqPDF); frmRelatorios_Movimento.UniPDFFrame1.PdfURL := UniServerModule.LocalCacheURL + ArqPDF; // Displayed on UniURLFrame frmRelatorios_Movimento.ShowModal; Ele está gerando normalmente o arquivo na Cache do Servidor (pasta criada pelo Unigui na raíz da aplicação), porém, ele cria o mesmo arquivo dentro da C:\Windows\SysWOW64, só que isso vai enchendo a pasta de sistemas com arquivos PDF e eu não consigo encontrar onde é o problema que o mesmo salva uma copia do arquivo na pasta de sistema. Alguém já viu algo parecido com isso?
  20. Me Adiciona aí 69981259544 [ FABIO ]
  21. Alguém passa por essa situação? http://forums.unigui.com/index.php?/topic/3992-hideremove-the-form-border/?p=50952
×
×
  • Create New...