Posts by Junior Moreira • 7,299 points
217 posts
-
1
votes1
answer41
viewsA: Is it possible to remove the bearing from a Twebbrowser?
Disabling is a little tricky, there’s no property for that in the component! But I can help you by hiding the bars... Add these 2 lines of code to Twebbrowser’s Ondocumentcomplete:…
delphianswered Junior Moreira 7,299 -
0
votes1
answer203
viewsA: How to convert Delphi reports?
Just add in your project’s uses to unit ConverterQR2FR and use this: conv := TConverterQr2Fr.Create; conv.Source := QuickRep1; conv.Target := FReport; conv.Convert;…
delphi-xe5answered Junior Moreira 7,299 -
0
votes1
answer326
viewsA: Error sending email function
Click after the end. and simultaneously press CRTL+SHIT+T and press DELETE. Hold CTRL and press 9 and see if you have anything! \win32\Debug\unit1.DCU Remove this Unit unit1 project (Project ->…
delphianswered Junior Moreira 7,299 -
3
votes3
answers766
viewsA: How to convert a String to Tnotifyevent in Delphi?
You should send a Procedure to Ontimer, not a String. If your intention with String 'Close' is to close the Form is simple, create a Procedure with type (Sender: Tobject) with the Close command:…
-
2
votes3
answers3400
viewsA: Field value related to another field of another table?
A database is composed of several tables, such as: Customers, Products, Orders, Order Details, etc. Although the information is separate in each of the Tables, in practice there must be…
-
2
votes1
answer1212
viewsA: Check if There is a Service
Well, I’m using it in separate parts, I don’t like to pile it all up, I found this function on the net out there long ago. I believe that its result being always zero is in the way that it is…
-
0
votes2
answers1849
viewsA: Add a line at the end of the query in MS-SQL
Yes, I already use this, see an example: Case: I have 2 employees and need their salary summed and presented as you described: SELECT CODIGO, SALARIO_TRABALHO FROM CLIENTES WHERE CODIGO in (55685,…
-
1
votes1
answer316
viewsA: activate mobile keyboard, just when the page is loaded
Try: <input type="email" name="email"> Here is more explanation: http://www.caelum.com.br/apostila-html-css-javascript/bootstrap-e-formularios-html5/…
-
0
votes3
answers1472
viewsA: Problem using if Elif Else (Else error)
Well, I believe the mistake is in the way you’re using Else, look what we’re doing! If you were 6 : do it; If it is not greater than 6 and greater than 4 : do this; If not less than 3 : .... (here…
-
0
votes3
answers173
viewsA: Function =VLOOKUP(MAX($B$5:$B$11);$A$5:$A$11;1;0) Excel 2010
Hello, exchange all ";" for '," to see if it works properly! Friend, making a correction, try to use the PROCV function instead of the one you are using, I believe it is a matter of language!…
-
4
votes3
answers1195
viewsA: PHP + Delphi(Pascal), issue real-time warnings
Currently I use this in a system in the interior where I lived, works basically as you intend. The web application is responsible for receiving orders or orders made by the customer, and the…
-
2
votes4
answers802
viewsA: Incompatible types: Pwidechar and Tcaption
Enjoy and test this: libw := LoadLibrary(StringToOleStr(Edit1.Text + 'Project1.dll'));
delphianswered Junior Moreira 7,299 -
5
votes1
answer1262
viewsA: How to change filename for download?
If it is possible to edit the toolbar test this: <a href="download/document.pdf" download="nome_desejado">Download PDF</a> Based on your comment I decided to edit the reply! After…
-
3
votes1
answer138
viewsA: Is it possible to display a form through a Messagedialog?
Yes it is possible, follow example: procedure TForm1.Button1Click(Sender: TObject); var i: Integer; f: Tform; clicado : Integer; begin f:= createmessagedialog('Deseja Abrir outro Formulário?',…
delphianswered Junior Moreira 7,299 -
1
votes3
answers113
viewsA: Query in Sqlserver
You can also create parameters instead of adding edit1.text inside SQL, thus: SQL.Add('Select * from controle where ribbons = '+QuotedStr(edit1.text.Text)+'');
delphianswered Junior Moreira 7,299 -
1
votes1
answer3287
viewsA: Colorize Listview Line Delphi Android
Add a component TListView. In our example we will popular the Listview at the event FormCreate: var i, j : Integer; begin for i := 1 to 10 do with Listview1.Items.Add do begin Caption := 'Item '+…
-
1
votes3
answers7876
viewsA: Read XML with Xmldocument in Delphi
Hello, I suggest using a Clientdataset. To load the data try: ClientDataSet1.Close; ClientDataSet1.LoadFromFile(´data.xml´); ClientDataSet1.Open; To save the data is quite similar:…