Arthur Silvestre Posted August 30, 2013 Report Share Posted August 30, 2013 Bom dia, gostaria de carregar uma string que esteja contida no meu aquivo res ( tanto faz ser no html, string table, etc.). Existe essa possibilidade ? desde já muito agradecido. Quote Link to comment Share on other sites More sharing options...
joaosolution Posted August 30, 2013 Report Share Posted August 30, 2013 Arhur Usando String Table cCampo := LoadString( GetResources(), 07 ) Onde 07 é o ID da string Att João Bosco Quote Link to comment Share on other sites More sharing options...
Arthur Silvestre Posted August 30, 2013 Author Report Share Posted August 30, 2013 João, funcionou, valeu mesmo, porém percebi que existe um certo limite de caracteres certo ? tem como 'não limata-los' ? Quote Link to comment Share on other sites More sharing options...
joaosolution Posted August 30, 2013 Report Share Posted August 30, 2013 Arthur Não vi este limite, utilizando o Pelles o campo do texto é memo. Efetuei um teste com um texto grande e leu sem problemas. Qual o texto vc está utilizando? Att João Bosco Quote Link to comment Share on other sites More sharing options...
Arthur Silvestre Posted August 30, 2013 Author Report Share Posted August 30, 2013 <?xml version="1.0" encoding="utf-8"?> <TfrxReport Version="4.8.46" DotMatrixReport="False" IniFile="\Software\Fast Reports" PreviewOptions.Buttons="3577" PreviewOptions.Zoom="1" PrintOptions.Printer="Padrão" PrintOptions.PrintOnSheet="0" ReportOptions.CreateDate="41516,4572667361" ReportOptions.Description.Text="" ReportOptions.LastChange="41516,6679239005" ScriptLanguage="PascalScript" ScriptText.Text="begin end." ShowProgress="False" StoreInDFM="False" > <TfrxDataPage Name="Data" Height="1000" Left="0" Top="0" Width="1000"/> <TfrxReportPage Name="Page1" PaperWidth="210" PaperHeight="297" PaperSize="9" LeftMargin="10" RightMargin="10" TopMargin="10" BottomMargin="10" ColumnWidth="0" ColumnPositions.Text="" HGuides.Text="" VGuides.Text=""> <TfrxPageHeader Name="PageHeader1" Height="313,70099" Left="0" Top="18,89765" Width="718,1107"> <TfrxMemoView Name="Memo2" Left="0" Top="291,02381" Width="60,47248" Height="22,67718" ShowHint="False" DataSet="oDM." DataSetName="IVE" Font.Charset="1" Font.Color="-16777208" Font.Height="-16" Font.Name="Arial" Font.Style="1" Frame.Typ="13" HAlign="haCenter" ParentFont="False" VAlign="vaCenter" Text="Código"/> <TfrxMemoView Name="Memo4" Left="60,47248" Top="291,02381" Width="257,00804" Height="22,67718" ShowHint="False" DataSet="oDM." DataSetName="IVE" Font.Charset="1" Font.Color="-16777208" Font.Height="-16" Font.Name="Arial" Font.Style="1" Frame.Typ="13" ParentFont="False" VAlign="vaCenter" Text="Descrição do Produto"/> <TfrxMemoView Name="Memo3" Left="317,48052" Top="291,02381" Width="102,04731" Height="22,67718" ShowHint="False" DataSet="oDM." DataSetName="IVE" Font.Charset="1" Font.Color="-16777208" Font.Height="-16" Font.Name="Arial" Font.Style="1" Frame.Typ="13" ParentFont="False" VAlign="vaCenter" Text="Marca"/> <TfrxMemoView Name="Memo5" Left="419,52783" Top="291,02381" Width="37,7953" Height="22,67718" ShowHint="False" DataSet="oDM." DataSetName="IVE" Font.Charset="1" Font.Color="-16777208" Font.Height="-13" Font.Name="Arial" Font.Style="1" Frame.Typ="13" HAlign="haCenter" ParentFont="False" VAlign="vaCenter" Text="Unid."/> <TfrxMemoView Name="Memo6" Left="457,32313" Top="291,02381" Width="56,69295" Height="22,67718" ShowHint="False" DataSet="oDM." DataSetName="IVE" Font.Charset="1" Font.Color="-16777208" Font.Height="-16" Font.Name="Arial" Font.Style="1" Frame.Typ="13" HAlign="haCenter" ParentFont="False" VAlign="vaCenter" Text="Quant."/> <TfrxMemoView Name="Memo7" Left="514,01608" Top="291,02381" Width="102,04731" Height="22,67718" ShowHint="False" DataSet="oDM." DataSetName="IVE" Font.Charset="1" Font.Color="-16777208" Font.Height="-15" Font.Name="Arial" Font.Style="1" Frame.Typ="13" HAlign="haCenter" ParentFont="False" VAlign="vaCenter" Text="Valor Unitário"/> <TfrxMemoView Name="Memo8" Left="616,06339" Top="291,02381" Width="102,04731" Height="22,67718" ShowHint="False" DataSet="oDM." DataSetName="IVE" Font.Charset="1" Font.Color="-16777208" Font.Height="-17" Font.Name="Arial" Font.Style="1" Frame.Typ="15" HAlign="haCenter" ParentFont="False" VAlign="vaCenter" Text="Total"/> <TfrxMemoView Name="ENDERECO" Left="166,29932" Top="30,23624" Width="389,29159" Height="15,11812" ShowHint="False" Font.Charset="1" Font.Color="-16777208" Font.Height="-12" Font.Name="Arial" Font.Style="0" ParentFont="False" VAlign="vaCenter" Text="AV. CAMILO DE HOLANDA, 579 "/> <TfrxMemoView Name="EMPCIDA_DE" Left="166,29932" Top="45,35436" Width="389,29159" Height="15,11812" ShowHint="False" DataSet="oDM." DataSetName="EMP" Font.Charset="1" Font.Color="-16777208" Font.Height="-12" Font.Name="Arial" Font.Style="0" ParentFont="False" VAlign="vaCenter" Text="JOAO PESSOA - PB - CEP: 58013360"/> <TfrxMemoView Name="EMPNUMECEP" Left="166,29932" Top="60,47248" Width="388,66141" Height="15,11812" ShowHint="False" DataSet="oDM." DataSetName="EMP" Font.Charset="1" Font.Color="-16777208" Font.Height="-12" Font.Name="Arial" Font.Style="0" ParentFont="False" VAlign="vaCenter" Text="Telefone: 3222-8017 Fax: 3222-8017"/> <TfrxMemoView Name="EMPCORREIO" Left="166,29932" Top="75,5906" Width="389,29159" Height="15,11812" ShowHint="False" DataSet="oDM." DataSetName="EMP" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Arial" Font.Style="0" ParentFont="False" VAlign="vaCenter" Text="E-mail: marcio@inteligence.com.br "/> <TfrxMemoView Name="sRasoEmp" Left="143,62214" Top="0" Width="411,96877" Height="30,23624" ShowHint="False" Font.Charset="1" Font.Color="-16777208" Font.Height="-19" Font.Name="Courier New" Font.Style="1" HAlign="haCenter" ParentFont="False" VAlign="vaCenter" Text="Inteligence Informatica"/> <TfrxMemoView Name="Memo24" Left="166,29932" Top="90,70872" Width="389,29159" Height="15,11812" ShowHint="False" DataSet="oDM." DataSetName="EMP" Font.Charset="1" Font.Color="-16777208" Font.Height="-12" Font.Name="Arial" Font.Style="0" ParentFont="False" VAlign="vaCenter" Text="www.inteligence.com.br "/> <TfrxMemoView Name="Memo1" Left="3,77953" Top="113,3859" Width="718,1107" Height="18,89765" ShowHint="False" Font.Charset="1" Font.Color="-16777208" Font.Height="-17" Font.Name="Arial" Font.Style="0" Frame.Typ="4" ParentFont="False" Text=""/> <TfrxMemoView Name="IVEDTVENDA" Left="517,79561" Top="60,47248" Width="200,31509" Height="16,37796333" ShowHint="False" DataSet="oDM." DataSetName="IVE" DisplayFormat.FormatStr="ddmmyyyy" DisplayFormat.Kind="fkDateTime" Font.Charset="1" Font.Color="-16777208" Font.Height="-13" Font.Name="Courier New" Font.Style="0" HAlign="haRight" ParentFont="False" Text="Data Emissão: 21/01/2013"/> <TfrxMemoView Name="Memo9" Left="517,79561" Top="76,85044333" Width="200,31509" Height="16,37796333" ShowHint="False" DataSet="oDM." DataSetName="IVE" DisplayFormat.FormatStr="ddmmyyyy" DisplayFormat.Kind="fkDateTime" Font.Charset="1" Font.Color="-16777208" Font.Height="-13" Font.Name="Courier New" Font.Style="0" HAlign="haRight" ParentFont="False" Text="Data Saida : 21/01/2013"/> <TfrxMemoView Name="IVENUMNVEN" Left="517,79561" Top="93,22840667" Width="166,99647352" Height="16,37796333" ShowHint="False" DataSet="oDM." DataSetName="IVE" Font.Charset="1" Font.Color="-16777208" Font.Height="-13" Font.Name="Courier New" Font.Style="0" HAlign="haRight" ParentFont="False" Text="Pedido Nº : 001670"/> <TfrxMemoView Name="Memo10" Left="0" Top="124,72449" Width="170,07885" Height="15,11812" ShowHint="False" Font.Charset="1" Font.Color="-16777208" Font.Height="-13" Font.Name="Courier New" Font.Style="1" ParentFont="False" VAlign="vaCenter" Text="Razão Socal/Nome :"/> <TfrxMemoView Name="Memo11" Left="0" Top="139,84261" Width="170,07885" Height="15,11812" ShowHint="False" Font.Charset="1" Font.Color="-16777208" Font.Height="-13" Font.Name="Courier New" Font.Style="1" ParentFont="False" VAlign="vaCenter" Text="Endereço : "/> <TfrxMemoView Name="Memo12" Left="0" Top="154,96073" Width="170,07885" Height="15,11812" ShowHint="False" Font.Charset="1" Font.Color="-16777208" Font.Height="-13" Font.Name="Courier New" Font.Style="1" ParentFont="False" VAlign="vaCenter" Text="Endereço Cobrança : "/> <TfrxMemoView Name="Memo13" Left="0" Top="170,07885" Width="170,07885" Height="15,11812" ShowHint="False" Font.Charset="1" Font.Color="-16777208" Font.Height="-13" Font.Name="Courier New" Font.Style="1" ParentFont="False" VAlign="vaCenter" Text="Bairro : "/> <TfrxMemoView Name="Memo14" Left="0" Top="185,19697" Width="170,07885" Height="15,11812" ShowHint="False" Font.Charset="1" Font.Color="-16777208" Font.Height="-13" Font.Name="Courier New" Font.Style="1" ParentFont="False" VAlign="vaCenter" Text="Cidade :"/> <TfrxMemoView Name="Memo15" Left="0" Top="200,31509" Width="170,07885" Height="15,11812" ShowHint="False" Font.Charset="1" Font.Color="-16777208" Font.Height="-13" Font.Name="Courier New" Font.Style="1" ParentFont="False" VAlign="vaCenter" Text="Telefone(s) : "/> <TfrxMemoView Name="Memo16" Left="0" Top="215,43321" Width="170,07885" Height="15,11812" ShowHint="False" Font.Charset="1" Font.Color="-16777208" Font.Height="-13" Font.Name="Courier New" Font.Style="1" ParentFont="False" VAlign="vaCenter" Text="CNPJ(MF)/C.P.F. : "/> <TfrxMemoView Name="Memo17" Left="0" Top="230,55133" Width="170,07885" Height="15,11812" ShowHint="False" Font.Charset="1" Font.Color="-16777208" Font.Height="-13" Font.Name="Courier New" Font.Style="1" ParentFont="False" VAlign="vaCenter" Text="Ponto de Referência: "/> <TfrxMemoView Name="Memo18" Left="0" Top="245,66945" Width="170,07885" Height="15,11812" ShowHint="False" Font.Charset="1" Font.Color="-16777208" Font.Height="-13" Font.Name="Courier New" Font.Style="1" ParentFont="False" VAlign="vaCenter" Text="Ponto de Referência: "/> <TfrxMemoView Name="Memo19" Left="0" Top="260,78757" Width="170,07885" Height="15,11812" ShowHint="False" Font.Charset="1" Font.Color="-16777208" Font.Height="-13" Font.Name="Courier New" Font.Style="1" ParentFont="False" VAlign="vaCenter" Text="Ponto de Referência: "/> <TfrxMemoView Name="vnomecli" Left="170,07885" Top="124,72449" Width="423,30736" Height="15,11812" ShowHint="False" Font.Charset="1" Font.Color="-16777208" Font.Height="-13" Font.Name="Arial" Font.Style="0" ParentFont="False" VAlign="vaCenter" Text="[vnomecli] - [CLI."CODICLI"]"/> <TfrxMemoView Name="CLIENDEREC" Left="170,07885" Top="139,84261" Width="423,30736" Height="15,11812" ShowHint="False" DataSet="oDM." DataSetName="CLI" Font.Charset="1" Font.Color="-16777208" Font.Height="-13" Font.Name="Arial" Font.Style="0" ParentFont="False" VAlign="vaCenter" Text="[CLI."ENDEREC"], [CLI."NUMEROS"]"/> <TfrxMemoView Name="CLIENDECOB" Left="170,07885" Top="154,96073" Width="423,30736" Height="15,11812" ShowHint="False" DataSet="oDM." DataSetName="CLI" Font.Charset="1" Font.Color="-16777208" Font.Height="-13" Font.Name="Arial" Font.Style="0" ParentFont="False" VAlign="vaCenter" Text="[CLI."ENDECOB"] - [CLI."PRACAPG"] - CEP: [CLI."CEPCOBR"]"/> <TfrxMemoView Name="CLIBAIR_RO" Left="170,07885" Top="170,07885" Width="423,30736" Height="15,11812" ShowHint="False" DataSet="oDM." DataSetName="CLI" Font.Charset="1" Font.Color="-16777208" Font.Height="-13" Font.Name="Arial" Font.Style="0" ParentFont="False" VAlign="vaCenter" Text="[CLI."BAIR_RO"] - CEP: [CLI."NUMECEP"]"/> <TfrxMemoView Name="CLICIDA_DE" Left="170,07885" Top="185,19697" Width="423,30736" Height="15,11812" ShowHint="False" DataSet="oDM." DataSetName="CLI" Font.Charset="1" Font.Color="-16777208" Font.Height="-13" Font.Name="Arial" Font.Style="0" ParentFont="False" VAlign="vaCenter" Text="[CLI."CIDA_DE"] - [CLI."ESTA_DO"]"/> <TfrxMemoView Name="CLICODIREG" Left="170,07885" Top="200,31509" Width="423,30736" Height="15,11812" ShowHint="False" DataSet="oDM." DataSetName="CLI" Font.Charset="1" Font.Color="-16777208" Font.Height="-13" Font.Name="Arial" Font.Style="0" ParentFont="False" VAlign="vaCenter" Text="([CLI."CODIREG"]) [CLI."TELE_FO"] - Contato: [CLI."CONTATO"]"/> <TfrxMemoView Name="CLINUMECGC" Left="170,07885" Top="215,43321" Width="347,71676" Height="15,11812" ShowHint="False" DataField="NUMECGC" DataSet="oDM." DataSetName="CLI" Font.Charset="1" Font.Color="-16777208" Font.Height="-13" Font.Name="Arial" Font.Style="0" ParentFont="False" VAlign="vaCenter" Text="[CLI."NUMECGC"]"/> <TfrxMemoView Name="IVEPONTOR1" Left="170,07885" Top="230,55133" Width="548,03185" Height="15,11812" ShowHint="False" DataField="PONTOR1" DataSet="oDM." DataSetName="IVE" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Arial" Font.Style="0" ParentFont="False" VAlign="vaCenter" Text="[IVE."PONTOR1"]"/> <TfrxMemoView Name="Memo20" Left="170,07885" Top="245,66945" Width="548,03185" Height="15,11812" ShowHint="False" DataSet="oDM." DataSetName="IVE" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Arial" Font.Style="0" ParentFont="False" VAlign="vaCenter" Text="[IVE."PONTOR2"]"/> <TfrxMemoView Name="Memo21" Left="170,07885" Top="260,78757" Width="548,03185" Height="15,11812" ShowHint="False" DataSet="oDM." DataSetName="IVE" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Arial" Font.Style="0" ParentFont="False" VAlign="vaCenter" Text="[IVE."PONTOR3"]"/> </TfrxPageHeader> <TfrxMasterData Name="MasterData1" Height="18,89765" Left="0" Top="393,07112" Width="718,1107" ColumnWidth="0" ColumnGap="0" DataSet="oDM." DataSetName="PRO" RowCount="0"> <TfrxMemoView Name="PROCODIPRO" Left="0" Top="0" Width="60,47248" Height="18,89765" ShowHint="False" DataField="CODIPRO" DataSet="oDM." DataSetName="PRO" Font.Charset="1" Font.Color="-16777208" Font.Height="-13" Font.Name="Arial" Font.Style="0" Frame.Typ="1" HAlign="haCenter" ParentFont="False" VAlign="vaCenter" Text="[PRO."CODIPRO"]"/> <TfrxMemoView Name="PRONOMEPRO" Left="60,47248" Top="0" Width="257,00804" Height="18,89765" ShowHint="False" DataField="NOMEPRO" DataSet="oDM." DataSetName="PRO" Font.Charset="1" Font.Color="-16777208" Font.Height="-13" Font.Name="Arial" Font.Style="0" ParentFont="False" Text="[PRO."NOMEPRO"]"/> <TfrxMemoView Name="PROMARCAPD" Left="317,48052" Top="0" Width="102,04731" Height="18,89765" ShowHint="False" DataField="MARCAPD" DataSet="oDM." DataSetName="PRO" Font.Charset="1" Font.Color="-16777208" Font.Height="-13" Font.Name="Arial" Font.Style="0" ParentFont="False" Text="[PRO."MARCAPD"]"/> <TfrxMemoView Name="PROUNIDADE" Left="419,52783" Top="0" Width="37,7953" Height="18,89765" ShowHint="False" DataField="UNIDADE" DataSet="oDM." DataSetName="PRO" Font.Charset="1" Font.Color="-16777208" Font.Height="-13" Font.Name="Arial" Font.Style="0" HAlign="haCenter" ParentFont="False" Text="[PRO."UNIDADE"]"/> <TfrxMemoView Name="PROQUANTID" Left="457,32313" Top="0" Width="56,69295" Height="18,89765" ShowHint="False" DataField="QUANTID" DataSet="oDM." DataSetName="PRO" Font.Charset="1" Font.Color="-16777208" Font.Height="-13" Font.Name="Arial" Font.Style="0" HAlign="haRight" ParentFont="False" Text="[PRO."QUANTID"]"/> <TfrxMemoView Name="PROPRVENDA" Left="514,01608" Top="0" Width="102,04731" Height="18,89765" ShowHint="False" DataField="PRVENDA" DataSet="oDM." DataSetName="PRO" Font.Charset="1" Font.Color="-16777208" Font.Height="-13" Font.Name="Arial" Font.Style="0" HAlign="haRight" ParentFont="False" Text="[PRO."PRVENDA"]"/> <TfrxMemoView Name="PROPRECOTO" Left="616,06339" Top="0" Width="102,04731" Height="18,89765" ShowHint="False" DataField="PRECOTO" DataSet="oDM." DataSetName="PRO" Font.Charset="1" Font.Color="-16777208" Font.Height="-13" Font.Name="Arial" Font.Style="0" Frame.Typ="2" HAlign="haRight" ParentFont="False" Text="[PRO."PRECOTO"]"/> </TfrxMasterData> <TfrxFooter Name="Footer1" Height="234,33086" Left="0" Top="434,64595" Width="718,1107"> <TfrxMemoView Name="Memo22" Left="0" Top="0" Width="718,1107" Height="18,89765" ShowHint="False" Font.Charset="1" Font.Color="-16777208" Font.Height="-17" Font.Name="Arial" Font.Style="0" Frame.Typ="4" ParentFont="False" Text=""/> <TfrxMemoView Name="Memo23" Left="612,28386" Top="7,55906" Width="102,04731" Height="22,67718" ShowHint="False" DisplayFormat.FormatStr="%2.2n" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="-16777208" Font.Height="-15" Font.Name="Arial" Font.Style="0" Frame.Typ="15" HAlign="haRight" ParentFont="False" VAlign="vaCenter" Text="[IVE."TOTALBR"]"/> <TfrxMemoView Name="Memo25" Left="510,23655" Top="7,55906" Width="102,04731" Height="22,67718" ShowHint="False" Font.Charset="1" Font.Color="-16777208" Font.Height="-15" Font.Name="Arial" Font.Style="1" Frame.Typ="15" HAlign="haCenter" ParentFont="False" VAlign="vaCenter" Text="Sub-Total:"/> <TfrxMemoView Name="Memo26" Left="612,28386" Top="41,57483" Width="102,04731" Height="18,89765" ShowHint="False" DisplayFormat.FormatStr="%2.2n" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Arial" Font.Style="0" Frame.Typ="15" HAlign="haRight" ParentFont="False" VAlign="vaCenter" Text="[IVE."SERVICO"]"/> <TfrxMemoView Name="Memo27" Left="510,23655" Top="41,57483" Width="102,04731" Height="18,89765" ShowHint="False" Font.Charset="1" Font.Color="-16777208" Font.Height="-13" Font.Name="Arial" Font.Style="1" Frame.Typ="15" HAlign="haRight" ParentFont="False" VAlign="vaCenter" Text="Serviços:"/> <TfrxMemoView Name="Memo28" Left="468,66172" Top="188,9765" Width="245,66945" Height="37,7953" ShowHint="False" Color="-16777211" DisplayFormat.FormatStr="%2.2n" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="-16777208" Font.Height="-21" Font.Name="Arial" Font.Style="1" Frame.DropShadow="True" Frame.Typ="15" HAlign="haRight" ParentFont="False" VAlign="vaCenter" Text="Total: [IVE."TOTALVE"]"/> <TfrxMemoView Name="Memo29" Left="612,28386" Top="60,47248" Width="102,04731" Height="18,89765" ShowHint="False" DisplayFormat.FormatStr="%2.2n" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Arial" Font.Style="0" Frame.Typ="15" HAlign="haRight" ParentFont="False" VAlign="vaCenter" Text="[IVE."DESCONT"]"/> <TfrxMemoView Name="Memo30" Left="510,23655" Top="60,47248" Width="102,04731" Height="18,89765" ShowHint="False" Font.Charset="1" Font.Color="-16777208" Font.Height="-13" Font.Name="Arial" Font.Style="1" Frame.Typ="15" HAlign="haRight" ParentFont="False" VAlign="vaCenter" Text="Desconto( - ):"/> <TfrxMemoView Name="Memo31" Left="612,28386" Top="98,26778" Width="102,04731" Height="18,89765" ShowHint="False" DisplayFormat.FormatStr="%2.2f" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Arial" Font.Style="0" Frame.Typ="15" HAlign="haRight" ParentFont="False" VAlign="vaCenter" Text="[vaplic]"/> <TfrxMemoView Name="Memo32" Left="510,23655" Top="98,26778" Width="102,04731" Height="18,89765" ShowHint="False" Font.Charset="1" Font.Color="-16777208" Font.Height="-13" Font.Name="Arial" Font.Style="1" Frame.Typ="15" HAlign="haRight" ParentFont="False" VAlign="vaCenter" Text="Perc(%):"/> <TfrxMemoView Name="Memo33" Left="0" Top="102,04731" Width="408,18924" Height="90,70872" ShowHint="False" Font.Charset="1" Font.Color="-16777208" Font.Height="-13" Font.Name="Arial" Font.Style="0" Frame.Typ="15" ParentFont="False" Text=" [IVE."OBSERVA"]"/> <TfrxMemoView Name="Memo34" Left="3,77953" Top="90,70872" Width="83,14966" Height="18,89765" ShowHint="False" Color="-16777211" Font.Charset="1" Font.Color="-16777208" Font.Height="-12" Font.Name="Arial" Font.Style="1" HAlign="haCenter" ParentFont="False" VAlign="vaCenter" Text="Observações:"/> <TfrxMemoView Name="Memo35" Left="0" Top="18,89765" Width="302,3624" Height="26,45671" ShowHint="False" Font.Charset="1" Font.Color="-16777208" Font.Height="-13" Font.Name="Arial" Font.Style="0" Frame.Typ="15" ParentFont="False" VAlign="vaCenter" Text=" [IVE."CODIPLA"] - [PLA."NOMEPLA"]"/> <TfrxMemoView Name="Memo36" Left="3,77953" Top="7,55906" Width="98,26778" Height="18,89765" ShowHint="False" Color="-16777211" Font.Charset="1" Font.Color="-16777208" Font.Height="-12" Font.Name="Arial" Font.Style="1" HAlign="haCenter" ParentFont="False" VAlign="vaCenter" Text="Plano de Venda:"/> <TfrxMemoView Name="Memo37" Left="0" Top="60,47248" Width="302,3624" Height="26,45671" ShowHint="False" Font.Charset="1" Font.Color="-16777208" Font.Height="-13" Font.Name="Arial" Font.Style="0" Frame.Typ="15" ParentFont="False" Text=""/> <TfrxMemoView Name="Memo38" Left="3,77953" Top="49,13389" Width="132,28355" Height="18,89765" ShowHint="False" Color="-16777211" Font.Charset="1" Font.Color="-16777208" Font.Height="-12" Font.Name="Arial" Font.Style="1" HAlign="haCenter" ParentFont="False" VAlign="vaCenter" Text="Forma de Pagamento:"/> <TfrxMemoView Name="Memo40" Left="612,28386" Top="117,16543" Width="102,04731" Height="18,89765" ShowHint="False" DisplayFormat.FormatStr="%2.2n" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Arial" Font.Style="0" Frame.Typ="15" HAlign="haRight" ParentFont="False" VAlign="vaCenter" Text="[IVE."ICMSSUB"]"/> <TfrxMemoView Name="Memo41" Left="510,23655" Top="117,16543" Width="102,04731" Height="18,89765" ShowHint="False" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Arial" Font.Style="1" Frame.Typ="15" HAlign="haRight" ParentFont="False" VAlign="vaCenter" Text="Icms Substituicao:"/> <TfrxMemoView Name="Memo42" Left="612,28386" Top="136,06308" Width="102,04731" Height="18,89765" ShowHint="False" DisplayFormat.FormatStr="%2.2n" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Arial" Font.Style="0" Frame.Typ="15" HAlign="haRight" ParentFont="False" VAlign="vaCenter" Text="[IVE."TOTAIPI"]"/> <TfrxMemoView Name="Memo43" Left="510,23655" Top="136,06308" Width="102,04731" Height="18,89765" ShowHint="False" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Arial" Font.Style="1" Frame.Typ="15" HAlign="haRight" ParentFont="False" VAlign="vaCenter" Text="Valor do Ipi:"/> <TfrxMemoView Name="Memo44" Left="612,28386" Top="154,96073" Width="102,04731" Height="18,89765" ShowHint="False" DisplayFormat.FormatStr="%2.2f" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Arial" Font.Style="0" Frame.Typ="15" HAlign="haRight" ParentFont="False" VAlign="vaCenter" Text="[IVE."TOTAEMB"]"/> <TfrxMemoView Name="Memo45" Left="510,23655" Top="154,96073" Width="102,04731" Height="18,89765" ShowHint="False" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Arial" Font.Style="1" Frame.Typ="15" HAlign="haRight" ParentFont="False" VAlign="vaCenter" Text="Valor Embalagem:"/> <TfrxMemoView Name="Memo46" Left="612,28386" Top="79,37013" Width="102,04731" Height="18,89765" ShowHint="False" DisplayFormat.FormatStr="%2.2f" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Arial" Font.Style="0" Frame.Typ="15" HAlign="haRight" ParentFont="False" VAlign="vaCenter" Text="[IVE."PERDAVR"]"/> <TfrxMemoView Name="Memo47" Left="510,23655" Top="79,37013" Width="102,04731" Height="18,89765" ShowHint="False" Font.Charset="1" Font.Color="-16777208" Font.Height="-13" Font.Name="Arial" Font.Style="1" Frame.Typ="15" HAlign="haRight" ParentFont="False" VAlign="vaCenter" Text="Perda( - ):"/> </TfrxFooter> <TfrxPageFooter Name="PageFooter1" Height="18,89765" Left="0" Top="729,44929" Width="718,1107"> <TfrxMemoView Name="Memo39" Left="0" Top="0" Width="718,1107" Height="18,89765" ShowHint="False" Font.Charset="1" Font.Color="-16777208" Font.Height="-17" Font.Name="Arial" Font.Style="0" Frame.Typ="4" ParentFont="False" Text=""/> </TfrxPageFooter> </TfrxReportPage> </TfrxReport> Para resumir a minha situação, eu quero gravar um xml dentro do Res e poder carrega-lo em uma variável. Isso é possível ? Quote Link to comment Share on other sites More sharing options...
SAOliveira Posted August 30, 2013 Report Share Posted August 30, 2013 Se entendi direto você quer anexar o .FR3 num .RES do Pelles, para não mandar com arquivo. Se for isto, basta importar e setar com RCDATA. De o mesmo nome do .FR3 e chame no seu sistema na hora se imprimir. oFrPrn:LoadFromResource(nome do seu resource) Quote Link to comment Share on other sites More sharing options...
Theotokos Posted September 2, 2013 Report Share Posted September 2, 2013 Se entendi direto você quer anexar o .FR3 num .RES do Pelles, para não mandar com arquivo. Se for isto, basta importar e setar com RCDATA. De o mesmo nome do .FR3 e chame no seu sistema na hora se imprimir. oFrPrn:LoadFromResource(nome do seu resource) gostei da ideia mas não consegui importar e setar o .Fr3 no PellesC... Qdo peço para importar não acontece nada, não aparece em lugar nenhum... pode me ajudar como fazer? Quote Link to comment Share on other sites More sharing options...
Ale SB Posted September 2, 2013 Report Share Posted September 2, 2013 Veja esta dica amigo; http://forums.fivetechsupport.com/viewtopic.php?f=3&t=17526&p=91203&hilit=rcdata#p91203 @braços Ale Theotokos 1 Quote Link to comment Share on other sites More sharing options...
Theotokos Posted September 2, 2013 Report Share Posted September 2, 2013 Veja esta dica amigo; http://forums.fivetechsupport.com/viewtopic.php?f=3&t=17526&p=91203&hilit=rcdata#p91203 @braços Ale Vlw Ale, funcionou... Quote Link to comment Share on other sites More sharing options...
Arthur Silvestre Posted September 2, 2013 Author Report Share Posted September 2, 2013 Deu certo pessoal, importa e dps só chama o nome. 100% OBG Quote Link to comment Share on other sites More sharing options...
alex2002 Posted September 2, 2013 Report Share Posted September 2, 2013 Galera, Pessoalmente eu acho um "saco" colocar o FR3 dentro do RES. Basta ter que alterar o relatório que vocês verão o que estou dizendo. Sugiro, colocar uma criptografia/descriptografia no arquivo antes de abrir como FR3. Você mexe no relatório e quando enviar para o cliente, manda criptografado. Mas isso é opinião minha, o Evandro por exemplo adora o tal do .RES Casa um na sua. rsrsrsrsrs Luiz Fernando 1 Quote Link to comment Share on other sites More sharing options...
joaosolution Posted September 2, 2013 Report Share Posted September 2, 2013 Alexandre Boa tarde No caso eu anexo direto no RC com linha de código, ex: RELATORIO RCDATA "FR3\\RELATORIO.fr3" Att João Bosco Quote Link to comment Share on other sites More sharing options...
Luiz Fernando Posted September 2, 2013 Report Share Posted September 2, 2013 Galera, Pessoalmente eu acho um "saco" colocar o FR3 dentro do RES. Basta ter que alterar o relatório que vocês verão o que estou dizendo. Sugiro, colocar uma criptografia/descriptografia no arquivo antes de abrir como FR3. Você mexe no relatório e quando enviar para o cliente, manda criptografado. Mas isso é opinião minha, o Evandro por exemplo adora o tal do .RES Casa um na sua. rsrsrsrsrs Colega só uma duvida na hora que eu tiver que utilizar este fr3 dentro do sistema preciso mandar descriptografar, ou ira funcionar mesmo criptografado... Obrigado Luiz Fernando Quote Link to comment Share on other sites More sharing options...
alex2002 Posted September 3, 2013 Report Share Posted September 3, 2013 Colega só uma duvida na hora que eu tiver que utilizar este fr3 dentro do sistema preciso mandar descriptografar, ou ira funcionar mesmo criptografado... Obrigado Luiz Fernando Então Luiz, Você só precisa dele como FR3 no método "LoadFromFile". Sendo assim, vc envia para o cliente criptografado, na hora de usar este método vc descriptografa numa pasta temporária do windows, utiliza o método e mata o arquivo descriptografado, preservando sempre o criptografado. Assim, não tem o problema de várias pessoas utilizarem e abrirem, etc. Alexandre Boa tarde No caso eu anexo direto no RC com linha de código, ex: RELATORIO RCDATA "FR3\\RELATORIO.fr3" Att João Bosco Olá João, Bacana utilizando assim. Quote Link to comment Share on other sites More sharing options...
sambomb Posted September 3, 2013 Report Share Posted September 3, 2013 Aqui eu prefiro usar direto por dentro do RES que é uma coisa a menos que o cliente precisa pra rodar o programa e um item a menos pra dar dor de cabeça... Quote Link to comment Share on other sites More sharing options...
Arthur Silvestre Posted September 3, 2013 Author Report Share Posted September 3, 2013 Tenho o mesmo pensamento que o Sambomb, seria perfeito se fosse apenas o exe kkkkkkkkkkkkkkkk. Os usuários ainda achariam problemas, mas em fim..... Quanto a o quesito de editar realmente é um problema, mas acredito que seja mais vantajoso usar o res. PS: poderia-se pegar o a string salvar em um fr3 numa pasta 'temp' e dar um LoadFromFile correto ? e se caso encontrasse alguma diferença teria como salvar essa diferença no res ? por que se tiver seria uma boa ideia, o que acham ? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.