Ray Konopka

Forum Replies Created

Viewing 15 posts - 271 through 285 (of 343 total)
  • Author
    Posts
  • in reply to: TRZLauncher fails to open documents #1644
    Ray Konopka
    Keymaster

      Hi,

      I am also running the latest version of Windows 10 and I just created a quick test app where I dropped a button and a TRzLauncher component on the form. I then wrote the following event handler for the button’s OnClick event:

      procedure TForm32.RzButton1Click(Sender: TObject);
      begin
        RzLauncher1.FileName := 'C:\Users\rkonopka\Pictures\sample.jpg';
        RzLauncher1.Launch;
      end;

      I then ran the program and clicked the button. The Windows Photo Viewer (my default app for JPG files) was launched correctly. Do you have any other property changes from the defaults in the TRzLauncher?

      Ray

      in reply to: ChangeScale not called in Delphi 10.3 #1613
      Ray Konopka
      Keymaster

        Hi David,

        Unfortunately, not really. Technically, they did modify the installation such that the components could be installed via GetIt without running a custom installer. Unfortunately, there were some issues with what they did. As for the components, themselves, no. Unfortunate, indeed.

        Ray

        in reply to: Version Info #1612
        Ray Konopka
        Keymaster

          It certainly sounds like the locale ID not being saved is definitely having something to do with the behavior you are seeing. The only thing that I can think of is that one or more files are marked as read only and when you go to change it, they are not changing.

          Have you tried running Delphi as an administrator and then try to change the locale?

          Ray

          in reply to: Version Info #1595
          Ray Konopka
          Keymaster

            Hi Barry,

            A couple things to check/try.

            1. Drop a new button on your app and add the following in the event handler. The code essentially performs the same steps that the TRzVersionInfo component provides. As such, I am expecting that you will be getting the Version Info Not Available message when you run it.

            procedure TForm24.RzButton1Click(Sender: TObject);
            var
              InfoSize, Temp: DWord;
              FilePath: string;
              PathStz: array[ 0..MAX_PATH ] of Char;
            begin
              GetModuleFileName( HInstance, PathStz, SizeOf( PathStz ) );
              FilePath := PathStz;
            
              InfoSize := GetFileVersionInfoSize( PChar( FilePath ), Temp );
              if InfoSize > 0 then
                ShowMessage( 'Version Info Available' )
              else
                ShowMessage( 'Version Info Not Available' );
            end;

            2. If you were to look in the source for the TRzVersionInfo component, you would see that the above code actually checks the FilePath property first. So, my next question, have you assigned anything to the TRzVersionInfo.FilePath property either at design-time or runtime?

            And finally, I’ll look into how we can allow images to be added to forum posts.

            Ray

            in reply to: ChangeScale not called in Delphi 10.3 #1594
            Ray Konopka
            Keymaster

              Hi Martijn,

              While the google results may not show it, other users are indeed running into these sort of HighDPI related issues with the components. Embarcadero has done quite a bit of work in the VCL to provide better support for HighDPI, and I keep asking when the same work will be applied to KSVC (Embarcadero acquired KSVC in 2015), but as of yet no work has been done. It is very disappointing. As such, I would strongly suggest that you submit your bug report to Embarcadero.

              Ray

              in reply to: Version Info #1590
              Ray Konopka
              Keymaster

                Hi Barry,

                Sorry for the delay. I missed your response. Anyway, I created a brand new VCL app in 10.3.3 to try out the version info and everything worked as expected. Specifically, I just created a new VCL Forms app. Dropped a TRzVersionInfo component and a few TRzVersionInfoStatus controls on the form. I hooked them all up and then went into the Project Options (Version Info was already turned on). I then changed the Version fields (which updated the FileVersion property). I also changed the Product Version field to be something different so that I could test both status fields. All the data was displayed correctly.

                I then went and changed the Locale ID on the VersionInfo page to be English(United Kingdom) and rebuilt and ran the app, and the version info was displayed correctly.

                I’d be curious to know if you repeat the above steps does everything work, or do you get the same issue.

                Ray

                in reply to: RaizeComponentsVcl.a Missing from 10.3.3 Rio Installation #1589
                Ray Konopka
                Keymaster

                  Hi,

                  Thank you for reporting this. There is definitely an issue with the new KSVC GetIt package that Embarcadero created for 10.3. You are correct, the RaizeComponentsVcl.a file is missing from the Lib\RX10.3\Win64 directory.

                  I would strongly recommend that you report this to Embarcadero so that they can fix it for the next release (or in an update).

                  In the meantime, you can rebuild the component packages (including the RaizeComponentsVcl.a file) using the !Build_RC6.cmd file located in the Source subdirectory. Unfortunately, the version of the !Build_RC6.cmd file that was included in the latest version of KSVC is not up to date. You can download an updated version from the following link. https://raize.com/wp-content/uploads/Build_RC6.zip

                  After downloading, unzip the contents and replace the !Build_RC6.cmd file in the C:\Users\Public\Documents\Embarcadero\Studio\20.0\CatalogRepository\KonopkaControls-260-6.2.3\Source directory with this new version. You will need to edit the command file to make sure that the path to the 10.3 compiler is correct for your machine. The command file will only display a message until you edit the file and uncomment a particular line to allow the build process to continue.

                  Once you follow the instructions for editing the file, open a Command Prompt (we recommend opening it As an Administrator). Then you MUST navigate to the C:\Users\Public\Documents\Embarcadero\Studio\20.0\CatalogRepository\KonopkaControls-260-6.2.3\Source directory, and then you can execute the !Build_RC6.cmd file. This will rebuild the components and packages and when it is complete, you will find the RaizeComponentsVcl.a file located in the Lib\RX10.3\Win64 directory.

                  Ray

                  in reply to: Version Info #1581
                  Ray Konopka
                  Keymaster

                    Hi

                    There are actually two version numbers available in the VersionInfo block: ProductVersion and FileVersion. I suspect that you have the ProductVersion set but are querying the FileVersion.

                    Ray

                    in reply to: TRzSpinEdit always readonly? #1560
                    Ray Konopka
                    Keymaster

                      Hi Matthias,

                      That behavior is by design. To allow editing of the value with the keyboard, you need to set the AllowKeyEdit property to True.

                      Ray

                      in reply to: Calendar Colors. #1559
                      Ray Konopka
                      Keymaster

                        The TRzCalendar component does allow you to customize the colors when the control’s ThemeAware property is set to False. However, that property is not accessible in the TRzDateTimeEdit control (it probably should be).

                        As for changing the size of the dropdown, you can do that by change the PopupWidth and PopupHeight property values. Please note that both property values must be changed in order for the resize to occur.

                        Ray

                        in reply to: Cannot get flat TRzCombobox #1556
                        Ray Konopka
                        Keymaster

                          Unfortunately, the appearance of the combo box is controlled by the visual style of the control via Windows. The control does change its appearance if VCL Styles are used because the VCL Style defines a new style for the elements of the combo box. So, if you are using VCL Styles, then you could get a custom looking combo box. It would be nice if you could apply a VCL Style to jus a single control, but that is not possible.

                          Ray

                          in reply to: Initial Installation on Delphi 10.3.3 #1547
                          Ray Konopka
                          Keymaster

                            Hi Barry,

                            I apologize for not replying to your messages when you originally posted them, but thank you for sharing your results. I’m glad you got it working.

                            Ray

                            in reply to: Cannot get flat TRzCombobox #1546
                            Ray Konopka
                            Keymaster

                              The button appearance is thanks to Microsoft and the way csDropDownList combo boxes are displayed on Windows 7. Thankfully, they changed the appearance for Windows 8 and 10, but that does not help you. (Although you probably should upgrade Windows soon).

                              Anyway, setting the Style to csDropDown and setting the AllowEdit property to True is the recommended alternative. The AllowEdit property does NOT prevent the user from typing into the control, but it does prevent the user from entering in text that does not appear in the drop down list. This way, the incremental searching functionality still works in the control, but the user cannot enter in a new value that is not in the drop down list.

                              Ray

                              Ray Konopka
                              Keymaster

                                Hi,
                                I am unable to duplicate the behavior you are describing. Can you describe the exact steps that you are taking to reproduce the issue?

                                Ray

                                Ray Konopka
                                Keymaster

                                  Hi,

                                  In general the CodeSite Tools installer should not require a restart. However, a couple things come to mind. First, does the restart prompt occur for all users, or just some users? Also, is your main installer being executed with Administrator rights? The CS4 Tools installer does try to update keys in the Registry in the HKEY_LOCAL_MACHINE hive. Also, was CodeSite previously installed on the machines causing the issue? It’s possible that Dispatcher may have already been installed on the machine. The current CodeSite Tools installer does check if any of the tools are currently running and shuts them down. However, the current version is CS5, not CS4. I believe this functionality was added to CS4, but I don’t recall the exact version. Is there are particular reason you are using CodeSite 4 instead of CodeSite 5?

                                  Ray

                                Viewing 15 posts - 271 through 285 (of 343 total)