Jump to content


  • Content Count

  • Joined

  • Last visited

Community Reputation

0 Neutral

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Hi All, I need to create a forms application, in a generic way, that needs to send messages(SMS). I browsed on the internet for this and I found that different SMS sending providers require different parameters. Could you please let me know if we can create a generic forms application, which consists of a few configurations such as username, password, URL, and number, to send messages? Thanks and Regards, Ramu
  2. Thanks @Uwe Raabe @timfrost I have tried to analyze the cause of not scaling in Delphi 10.3. In Delphi 10.3, they have added one more parameter called FCurrentPPI in the TControl class in VCL.Controls and are assigning default value as "Winapi.Windows.USER_DEFAULT_SCREEN_DPI" at the time of creating each control. Winapi.Windows.USER_DEFAULT_SCREEN_DPI is returning 96 in my machine(96PPI). At the time of scaling, they are comparing FCurrentPPI with new PPI(current screen PPI). Since both are coming equal, they are not scaling the controls. They have added one more function GetDesignDPI and are calling only if FcurrentPPI is equal to 0. But at the time of creating controls, they are assigning Winapi.Windows.USER_DEFAULT_SCREEN_DPI as default value. I wonder when this function will be used? I think, Winapi.Windows.USER_DEFAULT_SCREEN_DPI in 120 PPI machine returns 120 and new PPI is also 120. I wonder how scaling happens in 120 PPI machine. In 120 PPI machine, scaling will happen only if Winapi.Windows.USER_DEFAULT_SCREEN_DPI returns 96. Thanks and Regards
  3. As far as my understanding, DPI options in the manifest are used, if we move the application opened in one monitor to another monitor. I may also be wrong as I am new to these concepts. Please correct me if I am wrong. But in our case, we have an application(EXE) and that EXE can be opened in different screens independently, not moving from one monitor to another. Suppose if the EXE was designed in 96 PPI machine, gave that EXE to customers and customers are trying to open that EXE in 120PPI screen, will the controls be scaled according to 120 PPI? Thanks and Regards
  4. Thank you, Uwe Raabe. Though it is hard to believe that Scaling is not happening in Delphi 10.3 if the forms designed at 120 PPI, at least we now know what to do next. This means we need to make sure that all the forms to be designed and changes to existing forms to be done at PPI 96? If we design the forms in 96 PPI and open the application in 120 PPI screen, will the controls get scaled? Regards,
  5. @Uwe Raabe, I have tried with the fresh project and followed the steps mentioned in my first post. In this project also, values are not getting scaled. Please find my sample project in the attachment. TestProject.zip Thanks and Regards
  6. Thanks, Turan The setting is not adjusting any values. I have tried with system aware, per-monitor, and per-monitor v2. Nothing is working for me.
  7. Hi All, In previous Delphi versions, when I change the pixels per inch value in a DFM file and run the application, all the controls got adjusted to the current screen PPI. But in 10.3, when I change the PixelPerInch value, controls are not getting adjusted to the screen PPI. This is causing the problem to our application. We have recently moved our project from Delphi 2007 to Delphi 10.3. Few forms are developed at PPI 120. These forms when opened in the screen, whose PPI is 96, controls are getting scaled in Delphi 2007. But in 10.3, it is not happening. Steps to reproduce : 1. Create a forms application with a simple label in Delphi 10.3 at PPI 96. 2. Manually open the form in an editor. Change PPI to 120, and label height and width (value*120/96) 3. Open the form in 10.3 IDE. You will see that the values are not scaled. Even at run time, the values are not getting scaled. But if you open this project in Delphi 2007, values are getting scaled to 96. I wonder how the scaling happens in Delphi 10.3. Thanks and Regards
  8. Hi All, I am unable to create a WebBroker project after installing Delphi 10.3.3. It is showing DataSnap plus WebBroker in File > New > Other >Delphi. I am unable to create a WebBroker project alone. Can anyone suggest on this? Thanks in Advance!!
  9. Thanks, Sherlock I figured it out that Intraweb is not present in Delphi versions 10.3.1 and later. Even in my local after installing 10.3.3, I did not get IntraWeb Package. Unfortunately, because of security reasons, we can not use other packages that are not provided by Delphi. Could you please provide any other alternatives other than IntraWeb?
  10. Thanks, Deve Is IntraWeb part of Delphi 10.3.3?
  11. Hello All, We have recently upgraded our project from Delphi 2007 to Delphi 10.3. In our project, we have used WebModu inbuilt class. It seems in Delphi 10.3 that class does not exist anymore. Can someone tell me which class in Delphi 10.3 is similar to the WebModu class in D2007? Thanks and Regards
  12. Hi Uwe Raabe, If I do that, will it work in different pixels per inch machines properly? Few of my team developers work on laptops and few work on monitors(bigger screens). If we open the form in bigger screens, all the form values change accordingly. If anyone makes any changes in that DFM file and check-in that file, all the DFM values will be changed. Now if we open that same file in pixel per inch 96 machine, it will get adjusted to Delphi 10.3 functionality, This will be a problem again. Is there any way to change my machine to a higher pixel per inch and test this?
  13. Hi Uwe Raabe It seems like that only. I have increased those controls values still more. I have kept labels' height as 20, button height as 40, and edit boxes' height as 30. When I opened the file in 10.3 Ide, all the changed controls' values are adjusted to 17 for labels', 25 for edit boxes'. But button height remains the same. I think both versions' are adjusting differently. Recently we have upgraded our project from Delphi 2007 version to 10.3. We have a lot of DFM files in our project. Changing them manually will be a huge work for us. If we leave like this, forms are not looking good. Is there any setting to make 10.3 IDE adjust in the same way as 2007 IDE.
  14. Hi David Heffernan Thanks for looking into my issue. I have created a sample Pas/Form file in Delphi 2007 and changed values manually in DFM values. I have changed the height to 17 for labels, 25 for edit boxes and 30 for the button. When I am opening the file in Delphi 2007, all the changed height values are becoming to the original(13-labels, 21 for edit boxes, and 25-button) and pixels per inch value is also becoming 96. But when I am opening the same file in 10.3, all the values are not changed. Attaching the sample Submit Pas/Form file. Display settings : (Windows 10) Display resolution : 1366 X 768 Orientation: Landscape Change the size of text, apps, and other forms 100 % recommended Submit.dfm Submit.pas
  15. Hi All, I opened the same form in Delphi 2007 and Delphi 10.3. The control values are adjusted to the screen in Delphi ide 2007. But it is not happening in the Delphi 10.3 version. In the DFM file, for one label, I have kept height as 17. When opened in Delphi 2007 ide, the height became 13, which is not happening in 10.3 version. Can you explain to me what is happening back end and what changes I need to make in 10.3 version so that it works in the same way as Delphi 2007 IDE? Thanks in Advance !!