C:\Users\Public\Documents\Embarcadero\Studio\19.0\Samples\Object Pascal\Multi-Device Samples\User Interface\PlatformScrollBox 這個範例 run android 在東京版似乎有問題 ,柏林版是正常的
Demo PlatformScrollBox 在東京版似乎有問題
TForm Repaint speed Android (Delphi 10.2 vs 10.1)
I'm programming a game and recently switched to Delphi 10.2. FPS dropped. After searching for some time I think it is becasue of TForm paint speed.
Here is my test:
1 Created a new Multi-Device application.
2 Put a TTimer on it.
3 Timer interval set to 1
4 Timer OnTimer event calls Form.Invalidate
5 Deploy on an Android Device (Samsung Note 10.1 2014 Edition)
6 Open Intel GPA System Analyzer and run the application.
If these steps are done using Delphi 10.2 CPU usage and GPU calls are seems normal but FPS is capped 48-50 (Vsync is on or off)
if these steps are done using Delphi 10.1 FPS is 230-240 (When VSync is deactivated)
(I also checked Timer speed without invalidate it seems to run @~1000Hz so timer is not the problem)
So why is that? Is this a bug?
Delphi 10 Seattle - IDE bug when using REPEAT in Parallel functions
Hi
(I hope this is the right place to inform)
I have just started to do parallel functions and found a problem when using REPEAT.
The problem shows when using REPEAT UNTIL loop inside a parallel function. When pressing ENTER, it will always gives an extra UNTIL after the ENTER-code, showing that the REPEAT is not closed, but it is.
I simply had to change REPEAT to WHILE to get it to work :
I have REM'd the code to the right which is giving error.
(Sorry for bad english)
Regards Peter Franking
Implied ADO connection
If I connect to the mysql Database I see instead of MSDASQL.1(xxconnection) this :
> implied ADO Connection.
What is to do?
ListView item anchored?
Hi,
Is there a way to have the ListView item positions adjust depending on the form size, or portrait/landscape presentation?
I have a ListView with all my items set correctly using the "Toggle Design Mode" option. But how to tell each item to stick to the right or left of the list when the view width increases?
I have columns with totals, but they remain in the same position when flipping to landscape mode on mobile devices?
In Portrait they're on the right of the screen, in Landscape, they stay in the middle of the screen instead of moving to the right.
Thanks for any clue.
Steve
Code Completion -- 10.2
While I can build and deploy to Android, code completion is broken.
All the System and FMX units indicate as being unknown.
Have to manually type everything.
Anyway to fix this without doing another re-install etc ?
Have a tight deadline and really need to get the code out to the customer.
Would use 10.1 but it won't run on Android without using up a high percent of the CPU cycles.
Worked out that 10.2 used a tenth of what 10.1 did for the sensors I am using.
FYI for comparison 10.1 used ~50% and 10.2 ~5% running the same code.
TComboBox Horizontal Scroll
Hi All,
Does anyone know how to enable/add horizontal scroll bar in TComboBox??
Thanks in advance.
Reinstalação
Bom dia!
Instalei o Delphi Start Edition Berlim e quando fui abrir a IDE deu um erro e ficou tentando reinstalar, então desinstalei e agora não consigo mais instalar. Gostaria de saber como posso instalar novamente.
Desde já agradeço à atenção!
José Roberto
Print Spooler spoolsv.exe
Hi
I have a customer who is having issues with spoolsv.exe and when our application loads it just hangs and goes no further. Is there a way, if there is not a timely response from the service, that we can skip over this and allow the application to launch?
Many Thanks
Philip L Jackson
Fatal error on first Mac OS X compiling
Hello,
I am running a trial version of 10.1 Berlin that I just installed.
Delphi for win32 is working fine.
However, if I try to compile ANY project for OS X (using my mac as a target), I get the following error : [dccosx Fatal Error] F2084 Internal Error: AV0DF5E0D7-R00000014-0
I get the same error even if I try to compile a blank/basic project.
First time I try to dev/compile cross-platform.
Any Ideas ?
Thanks,
Thibaud
Delphi Debugger not working
I installed Delphi 10.1 Berlin over a month ago and the debugger doesn't work. I have now installed Delphi 10.2 Tokio and have the same problem. I wrote a simple program by dropping a label on a form and in the form create event placed a single line of code: Label1.caption:='Hello'. I placed a breakpoint on the line of code (a red circle appears) but when I run the application the breakpoint is ignored. Run to cursor also doesn't work. I made sure the program was in debug mode and tried clean and build and still it doesn't work. I have Windows 10 operating system and now have three versions of Delphi on my computer: 7, 10.1 & 10.2 and only Delphi 7 works perfectly. Any ideas why debug is not working? and both 10.1 & 10.2?
FDQuery updates to DB with multiple tables?
Hi,
Just a question regarding automatic update of databases using SQL Queries.
As a simple example, I have a Contact DB with two tables, Address and Persons
If I build a small app with a Grid linked to an FDConnection and an FDQuery hooked to a TDataSerProvider and run the app, it's fine, I can edit the data in the grid, click ApplyUpdates and have the modified values pushed back to the database. IF and only IF the SQLQuery is relatively simple and accesses only 1 table.
For example, if the SQL query is "SELECT * FROM Address;" this works fine.
But now if I start combining multiple tables, it doesn't work anymore. Say:
SELECT P.LastName, P.FirstName, A.Street, A.City FROM Address AS A, Persons AS P
ORDER BY P.LastName, P.FirstName ;
Now, no matter what I change, the database doesn't update.
Is there a way to have new values pushed back to multiple tables using FDQuery components?
For now, what I do is update manually using an UPDATE SQL statement, but if it could be handled for me, why bother?
Thanks for any light.
I'm using RadStudio Tokyo (Delphi) and SQLite
Steve
Getit -- LifeTrak Move -- Berlin 10.1
I tried to run the LifeTrakPas demo and it won't discover the LifeTrak Move device.
Yet the LifeTrak is paired to the development PC show up when scanned by the BTLE component.
I can't test with Berlin 10.2 since Getit is empty and I have not seen a fix yet.
Has anyone been able to run the LifeTrak demo successfully yet ?
Clark
Why is TEffectAnimator.DefaultApplyTriggerEffect checking for HitTest=False in Delphi ?
Hi!
After ages of searching for the reason why my custom controls can not trigger effects / animations in my style files, I found out that the ApplyTriggerEffect method checks for HitTest = false.
I'm sure there is a reason for this. But I can not get it.
greetings
(Using Delphi pro. 10.2 Tokyo)
How to access/submit IBM Mainframe jobs from Delphi windows application
Hi,
We need to submit jobs to IBM Mainframe from Delphi windows application. Please let us know is there is any way to do it.
Currently on a other application we are uploading text files to mainframe using FTP. but we couldn't find a way to submit jobs to mainframe using FTP commands. Please help us.
Thanks,
Uma
FMX Android apps do not draw some forms after Tokyo update
I have a number of FMX based programs that do not draw there forms correctly when built for the Android platform under Tokyo. The programs work fine on Berlin update 1 and 2. The same programs complied for Win64 or Win32 under Tokyo seam to work fine.
I have only had time to test the android apps on a Samsung S5 (6.01), S6 (6.01) and a Samsung TabS (6.01).
Each of the programs has 8 to 10 forms. When a form is shown it does not always display but the controls on the form are active.
The programs use a local SQLite database using FireDac and live bindings to display data. All of the forms which use live bindings from the FireDac database to one or more ListViews in a MultiView will not draw at all. While you can not see the form all of the forms controls are active.
I have one application form that uses live bindings but has no MultiView. The form has a hidden panel (visible=false). When the panel is made visible the form does not update to show the panel but the controls on the panel are active.
In the IDE I can not show the contents of a MultiView when the "Master" form layout is selected. If I select the "Windows" or "Android" layouts the show command displays the MultiView.
Using .NET assembly via COM throw Floating point invalid operation exception in Delphi.
Hello, I have some problem upon using .NET assembly via COM in Delphi.
How to reproduce:
Please, create simple .NET Class Library, with some test method, inside the method set Double test = Double.Nan
using System; namespace DoubleNan { public class TestClass { public TestClass() {} public void TestMethod() { Console.WriteLine("Start1"); double test = Double.NaN; Console.WriteLine("End1"); } } }
Make assembly COM visible, sing it and register in GAC.
Then try to use this assembly inside Delphi, like this:
var testClass: OleVariant; CoInitialize(nil); testClass := CreateOleObject('DoubleNan.TestClass'); testClass.TestMethod; CoUninitialize;
Please let me know if you need more details.
Waiting for your response.
Best regards, Andrey.
10.2 Debugger not showing values of variables
By hovering over a variable in a breakpoint the debugger shows me the same as in design-time.
What I'd like to see is the value of the variable as in preceding versions. Is this a bug or a setting I have to configure?
(by explicitly asking for it with Ctrl F7 I get the value)
Fed up with spending large gas bills? Buy Roti device India
Chapati making device is truly some help when it comes to get ready Chapati in large. With the help of this device, you can reduce your gas expenses and make the chapatis easily. These devices are developed spending attention to all the needs of individuals. If you are concerned about the functions about this device, then no need to fear. The technicians who have developed this device have recognized every simple part of Roti creating in order to fulfill up with the needs of clients that is sure to elate taste buds of the customer.
These devices are advancement that is motivated by the improving price of energy in Indian. With the improving costs of gas tubes and many other types of energy for both household and professional reasons, these devices are true haven. The Roti Making Machine Price is quite great and these devices can provide the Roti need of huge amount of individuals effectively. These high-speed devices not just preserve the energy absorbed but also preserve the man energy needed.
For any organization that consumes in action of offering food to huge viewers should get these devices. Roti is an critical facet of the regular food choice of Indian and for these organizations to fulfill the requirements of huge amount of individuals, both great quality and rate is needed. With the Roti Machine Indian you can fulfill all the needs of your client by offering them delicious chapatis. With these devices, you can preserve a lot and before you know it, the preserving that you have made would combination the overall cost that you invest for the device.
With the help of the website of Automated Chapati Making Machine Producers, you can know about the various factors of such devices and Chapati Making Machine Price In India . These sites have all the information that you need before purchasing these devices. They will let you know about the various part of device like requirements, about Partial Automated Chapati Making Machine operating, the benefits and operating and Automatic Chapati Making Machine Price In India etc.
They understand the significance of these types of devices for hostels, problems, dining places etc and always try to fulfill the anticipations of their clients with the best Roti creating device. There are many satisfied clients that such companies have and by studying their recommendations you can know about the effectiveness and the great company's devices. Choose the best producer to buy the best automatic Chapati creating device and provide delicious Roti.
To know more about Chapati Making Machine Cost in Native Indian, you can check out the globally web where you can find various websites that provides finish information appropriate to this revolutionary product. At the globally web, you can also look for the official websites of various manufacturers of Chapati maker device who are looking to provide their useful gadgets for both expert as well as personal uses. You can easily purchase a roti maker device for your business developing at very cost-effective expenses. So, do not invest your time and attempt and attempt, just buy an computerized chapati maker device to preserve your resources.
Demo Samples no working on 10.2 -- Map, Gyroscope
The Gyroscope demo runs and I can check that the timer code is running but nothing is displayed.
On the Map_Object demo I now get ---------------------------
Error
---------------------------
Unable to install C:\Users\Public\Documents\Embarcadero\Studio\19.0\Samples\Object Pascal\Multi-Device Samples\Device Sensors and Services\Map Type Selector\Android\Debug\Map_ObjectPascal\bin\Map_ObjectPascal.apk.
Failure [INSTALL_PARSE_FAILED_MANIFEST_MALFORMED].
---------------------------
OK
---------------------------
Will try on another PC later today. Do these samples work for anyone else using 10.2 ?
Clark