Posts by Douglas Benitez • 189 points
12 posts
-
3
votes2
answers75
viewsA: beginner with doubt in code
parsenInt() is working correctly. When you pass a floating point value ex. " 39.9" or 39.9 it is converted to an integer value 39, parseFloat() in turn converts to a floating point value ex. " 39.9"…
-
1
votes1
answer60
viewsQ: Change Property in Run Time
How can I change the property TRectangle.Align in Runtime Delphi 10.2 using Firemonkey for multi-platform application?
-
2
votes1
answer147
viewsA: Populated sqlite when install apk
Problem solved by adding option android:allowBackup="false" in the Androidmanifest.template.xml file in the project folder.
-
0
votes1
answer147
viewsQ: Populated sqlite when install apk
When I compile the app directly on mobile Sqlite comes empty (exactly as is the file in the path specified for DB) but when I use . apk generated in the same compilation he populates the DB…
-
0
votes2
answers207
viewsA: Initial questions about the Electron framework
For each database you must install a mysql library for example can be installed by npm npm install mysql as simple as that, I’ll leave a link with a simple example of the implementation Link This…
-
0
votes3
answers2637
viewsA: Check if value is string or number
Try this valor = "Joao" if type(valor) is str: print("é string")
-
3
votes1
answer1028
viewsA: How to display/hide text using an image as a button?
An Example that Can Help //array de objetos que armazena o link das imagens e o texto de cada imagem, //pode ser um arquivo JSON externo var imgTexto = […
htmlanswered Douglas Benitez 189 -
0
votes2
answers574
viewsA: Installing and configuring Composer on my localhost
If you are using windows and have done the installation by the installer it is very likely that Composer is Global and therefore you can use in any directory of your machine, simply having the file…
-
3
votes1
answer428
viewsA: file_exists does not find file
You Can Use the Magic Constant __DIR__ (Return the path to the php file in which it is inserted) and walk to the path of the requested file. Example: file_exists(__DIR__.'/caminho/para/o/arquivo');…
phpanswered Douglas Benitez 189 -
0
votes2
answers863
viewsA: Swap image by clicking it (JS, jquery)
Complementing the above Answer, the ideal would be instead of using Document.querySelector to use Document.getElementById as the selector because there are definitely more than 1 image and more than…
-
0
votes2
answers574
viewsA: Installing and configuring Composer on my localhost
The Next Tutorial (Click here to access) Answers your installation questions. Each project will have its own Composer.json with all the libraries you use for the project. (Following the example of…
-
3
votes1
answer517
viewsQ: Database for messaging system with comments and responses
This is my first question. and I don’t know if I’m doing it right. So I apologize in advance if I’m wrong. the doubt I have at the moment does not concern code. but on how to organize the database…
sqlasked Douglas Benitez 189