Ray Konopka

Forum Replies Created

Viewing 15 posts - 16 through 30 (of 347 total)
  • Author
    Posts
  • in reply to: Search. #4255
    Ray Konopka
    Keymaster

      Hi Steve,
      I believe the DynamicFilter property will give you the desired behavior. For example, consider a form that has a TIxObjectInspector and a TRzEdit, and the OnChange event handler for the edit looks like the following:

      procedure TForm10.RzEdit1Change(Sender: TObject);
      begin
        IxObjectInspector1.DynamicFilter := RzEdit1.Text;
      end;

      When you type into the edit box, the properties displayed in the ObjectInspector are filtered to just show the properties that match the filter.

      Ray

      in reply to: codesite into a DLL #4252
      Ray Konopka
      Keymaster

        Hi Ricardo,

        I’m really sorry about that. I have no idea why the file was not included in the message. And apparently, my notifications of new replies to posts got turned off.

        That line should have been,

        #include

        Again, I apologize for the confusion and delay.

        Ray

        in reply to: Delphi 13: Konopka Signature VCL Controls #4251
        Ray Konopka
        Keymaster

          Hi Steve,

          Yes, KSVC 8.0.1 will be available soon on GetIt with support for RAD Studio 13.

          And yes, I will be releasing a new version of the Palette Menu for RAD Studio 13 soon as well. Just finishing up the release of the other products first.

          Ray

          in reply to: codesite into a DLL #4160
          Ray Konopka
          Keymaster

            Hi Ricardo,
            We’ve received a couple reports of issues with the IDIOHANDLER object file. The odd thing about this is that the IdIOHandler unit is part of the Indy components that come with Delphi and C++Builder. CodeSite uses the Indy components to send CodeSite messages via TCP.
            One thing to try is to add the following to your DLL project:
            #include
            Ray

            in reply to: TRzPagePanel Pages: No Transparency Property. #4159
            Ray Konopka
            Keymaster

              Hi Steve,
              Do you mean the TRzTabSheet controls used in the TRzPageControl? What are you trying to accomplish with your interface?
              There is no Transparent property of the TRzTabSheet because frankly, transparency in the VCL is pretty much a hack or a simulation at best. And the structure of a page control (with embedded) tab sheets makes that even more complicated.
              You may be able to get the effect you are wanting by handling the painting events of the TRzPageControl. I did this for a project I worked on years ago. I can try to dig up the code, if it is similar to what you are trying to accomplish.
              Ray

              in reply to: KSVC6: Override VCL Styles for TRzPanel. #4158
              Ray Konopka
              Keymaster

                Hi Steve,
                I’m sorry, but I missed your follow-up message. You can send your screenshot to support@raize.com and I’ll take a look. Also, what version of Delphi are you using and which version of KSVC? I just noticed that that your subject references KSVC6. Is that correct?
                Ray

                in reply to: KSVC6: Override VCL Styles for TRzPanel. #4144
                Ray Konopka
                Keymaster

                  Hi Steve,

                  There are a couple of ways you can override the current VCL Style in a TRzPanel. The first is to change the VisualStyle property from vsWinXP to vsClassic or vsGradient. vsWinXP means that the panel is drawn using the current Style, which was first introduced in Windows XP (hence the enum name). When you change VisualStyle to vsClassic or vsGradient, the various Color properties in the TRzPanel take effect.

                  Another option is to remove the seClient element from the StyleElements set. This has the same effect as switching the VisualStyle property. StyleElements is a base VCL property that was added many years after the VisualStyle property was added to the TRzPanel, which is why both properties are available in the control.

                  Ray

                  in reply to: KSVC 8.0 GroupColor in RzListBox #4134
                  Ray Konopka
                  Keymaster

                    Hi Peter,
                    I apologize for the delay in responding. Please remove the seClient value from the StyleElements property of the list box. One significant area of focus for KSVC 8 was to provide better support for the StyleElements property. This is one of those cases.

                    Ray

                    in reply to: Konopka VCL Controls for 64bit IDE #4128
                    Ray Konopka
                    Keymaster

                      Thanks for jumping in Ian!
                      Ray

                      in reply to: TRzRadioBtn default Glyph corners are not transparent #4127
                      Ray Konopka
                      Keymaster

                        Hi,
                        Please download the latest version of KSVC (i.e. version 8) and see if you still have issues.

                        Ray

                        in reply to: Dispatcher: Out of Memory – Too high rate of messages? #4111
                        Ray Konopka
                        Keymaster

                          160 messages per second is a bit high. For short bursts, that should not cause any issues, but if this rate was over a longer time period, it could certainly put an extra strain on the dispatcher.

                          You mention that the Out of Memory error is happening on your client’s machine. I’m curious if you have seen this same behavior on your machine? I’m curious as to the memory capacity of the client machine.

                          Ray

                          in reply to: Dispatcher: Out of Memory – Too high rate of messages? #4109
                          Ray Konopka
                          Keymaster

                            Hi Hans,
                            I’m not sure what happened to your message content. I received the message content in the notification message (now that I have them turned back on). I’ve included it below.

                            Are you able to send me some of the log files? If so, please zip them up and send them to support@raize.com.

                            Also, are you using the MaxSize and MaxParts properties to control the size of the log files? Or, are you doing that yourself?

                            The Dispatcher does have an internal queue that new messages are put into when they arrive. The load on the Dispatcher is reflected in the tray icon for the Dispatcher, if you have that visible. The interior of the icon shows varying shades of yellow to indicate load. There is no way to programmatically acquire the Dispatcher load.

                            What types of data are you capturing in CodeSite? Simple data types, or objects, images, etc. I can also get this from the sample log files, if you are able to send them to me.

                            Ray

                            >>>>
                            Hi Ray,

                            My client experienced a few ‘Out of Memory’ Pop-ups from the Dispatcher.

                            Today I received the *.csl files to have a look at and I did notice something.

                            The logging files are restricted to 10Mbytes, if larger then I start a new file.
                            Usually, the last entry in the file has the same timestamp as the file itself, which makes sense.
                            But now I noticed that gradually the timestamp of the last message is earlier than the timestamp of the file.

                            So I suspect that the Dispatcher is not keeping up with the rate of messages that it receives.
                            And this increasing backlog of messages probably is eating up the memory?

                            Is there a way that I can detect that this is happening?
                            So maybe I can tune the amount of messages that I am sending?

                            Kind regards,
                            Hans
                            <<<<

                            in reply to: Retrieve version of the CodeSite Tool #4107
                            Ray Konopka
                            Keymaster

                              Hi Hans,

                              I’m sorry for the long delay. Somehow my notifications got turned off. CodeSite Studio 5 is sold as a traditional license and not an annual subscription. There is no charge for updates to the same major version.

                              Ray

                              in reply to: Retrieve version of the CodeSite Tool #4099
                              Ray Konopka
                              Keymaster

                                Hi Hans,

                                Interesting question. There is no built-in way to get that information, but we can leverage the SendFileVersionInfo method in the TCodeSiteLogger. For example, the following code shows how to get the file path to the CSDispatcher.exe from the Registry and then use the SendFileVersionInfo method to send the version info the CodeSite destination. The version number is listed in the details. Perhaps this will help until I can put something a little more elegant into the product.

                                Ray

                                uses
                                  System.Win.Registry,
                                  CodeSiteLogging,
                                  CodeSitePlatform;
                                
                                procedure TForm45.RzButton1Click(Sender: TObject);
                                var
                                  R: TRegistry;
                                  DispatcherFileName: string;
                                begin
                                  R := TRegistry.Create;
                                  try
                                    R.RootKey := HKEY_LOCAL_MACHINE;
                                    if R.OpenKeyReadOnly( CodeSiteRegKey ) then
                                      DispatcherFileName := R.ReadString( 'Dispatcher' )
                                    else if R.OpenKeyReadOnly( CodeSitePoliciesRegKey ) then
                                      DispatcherFileName := R.ReadString( 'Dispatcher' );
                                    R.CloseKey;
                                  finally
                                    R.Free;
                                  end;
                                
                                  if DispatcherFileName = '' then
                                    DispatcherFileName := StrDispatcherExeName;
                                
                                  CodeSite.SendFileVersionInfo( DispatcherFileName );
                                end;
                                in reply to: Starting Dispatcher with listening on tcp and udp ports #4071
                                Ray Konopka
                                Keymaster

                                  Hi,

                                  By default the CodeSite Dispatcher monitors the TCP and UDP ports. In an older version it was possible to toggle the Monitor Ports option in the Dispatcher Settings, but we removed that. However, the CSDispatcher.ini file still holds the setting for those who wish to turn it off.

                                  Anyway, please check the C:\ProgramData\Raize\CodeSite\5.0\CSDispatcher.ini file and see if the MonitorPorts setting is turned off. If so, then simply set it to true and restart the Dispatcher.

                                  Ray

                                Viewing 15 posts - 16 through 30 (of 347 total)