Forum Replies Created
-
AuthorPosts
-
June 17, 2023 at 4:58 pm in reply to: Code Site Limitations and Annoyances for Client Server and Service Development #3558
Hi Bob,
The functionality described above is indeed a central focal point of CodeSite 6. A release date for CS6 has not been announced, but I am hopeful for a fall release.
Ray
Hi Steve,
I would look into encoding the record contents into something like JSON or XML and then put that into the DMTextSource. Then whatever receives the drop can then parse the payload and the reconstitute the record, or put it into some other construct (if dropping on an app that does not know about your record structure).
Ray
Thanks Steve.
I certainly cannot disagree. It’s one of the main reasons why I have kept this forum going. As I have noted on previous occasions, this whole situation is not what was originally planned. I will continue to engage Embarcadero regarding the components.Ray
Hi Luciano,
I am hoping you located the download link for the Palette Menu expert on the Palette Menu page of our website: https://raize.com/palette-menu/Ray
Hi Nathan,
I apologize for the delay. For some reason I stopped getting notifications for new posts in the forums. I have the CodeSite Dispatcher running pretty much all the time and I am not experiencing the issue you describe, so it is important to try to figure out what is causing the issue.
From your original post, it sounds like the Dispatcher is reporting the Out of Memory error and not the Live Viewer. Is that correct? Also, is there anything that you can note that results in the Out of Memory to get reported. For example, you noted that you disable the dispatcher and then after a couple days you the error. Does the error just pop up? Or, do you do something first, such as Enable the Dispatcher?
It would also be good to have you send me the CSDispatcherLog.txt file. The file is located at: C:\Users\
\AppData\Local\Raize\CodeSite\5.0. Please send me a copy of the log file. Also, the next time the Out of Memory error occurs, grab the CSDispatcherLog.txt file and send that one as well. Please send them to support@raize.com. Additionally, are you only using the Live Viewer destination? Or, are you sending messages to any other destinations?
And finally, for now, what types of messages are you sending? Basic datatypes like strings, integers, etc. Or, are you sending lots of objects, images, etc.
Ray
Hi David,
You are correct, not much was done with KSVC in 11.3, and I keep getting more reports of changes that were made (or should I say started) that were not completed and more significantly break other functionality.
As you noted in your original post in this topic, everyone should please continue to keep voting and submitting Quality Portal reports for all issues found. Prefix all reports with “KSVC:” (as requested by Marco Cantu). And yes, I completely agree that it is ridiculous to have to vote to get bugs fixed.
Ray
May 10, 2023 at 12:33 am in reply to: Problem of RzSizePanel on right side with custom aligned panel (Align=clCustom) #3514So, the TRzSizePanel is technically working as designed. The TRzCustomSizePanel.GetParentWorkingRect method looks at the various controls (and child controls) on the form to determine the range of the sizing bar. In your particular example, the right edge of the Close button is restricting the range of the right SizePanel.
If you were building an SDI application, then I would suggest dropping a Panel into the main client area, setting the Align property to alClient, and then dropping your panel with the Close button onto the client panel and set the Align property to alTop. Then the size panel would function as you expect. However, that approach does not work with an MDI application.
As an alternative, you could align your close panel to be alTop, which would allow the size panel to work properly, but then you do not get the visual layout you are looking for.
Another option would be to modify the TRzCustomSizePanel.GetParentWorkingRect method and comment out the alCustom case label in the middle of the method. This would eliminate the range check for the alCustom panel and then the size panel would be able to be dragged over the sub-panel.
Ray
May 8, 2023 at 8:10 am in reply to: Problem of RzSizePanel on right side with custom aligned panel (Align=clCustom) #3509Unfortunately, the animated GIF is not animating, so I’m not sure what behavior you are seeing. As for debugging the components, you can add the source directory for the components to your Project Search Path. Then when you rebuild your project, the KSVC source will get recompiled as well and then you’ll be able to step through the code.
Ray
Hi,
Your best bet would be to change the BlinkIntervalOn value in code (in the FormCreate event handler for the desired form) to prevent the DFM files of the other forms using TRzLabel or TRzStatusPane from getting updated.
Ray
Hi Nathan,
You are disabling the Dispatcher correctly. When the dispatcher is disabled, CodeSite messages generated from your applications are still sent to the Dispatcher, but the Dispatcher will not forward them onto their destination. The other way to “disable” logging is to set the Enabled property of the CodeSiteManager (or individual CodeSite logger objects) to False in your application.
As for the Out of Memory errors that you are receiving, what version of the CodeSite Dispatcher are you using? Are you running the latest version?
Ray
Hi Bob,
Originally, the SendCollection did exist, but was eventually replaced with an overloaded Send method that accepts a TCollection parameter. Clearly you found a gap in the documentation. I’ll be sure to fix that for the next release. I apologize for the confusion.
Ray
Hi Gabriel,
The blinking support in the TRzLabel and TRzStatusPane utilizes a common control list that wraps a TTimer that controls the blinking on and off. There are two primary reasons why this was done. First, only one timer is needed instead of having a separate timer for each label. Second, it allows all labels that are blinking to blink at the same rate and more importantly that the blinking is synchronized.
To use a different blinking interval for a label on a separate form, then I would suggest dropping a TTimer on the form and manually blink the desired label by changing the color.
Ray
Hi Harald,
The easiest solution is to upgrade your Delphi 11.2 version to 11.3. After doing so you will then download the KSVC from GetIt, which is built for 11.3.
If you need to stay with 11.2, then you have a couple options. You could try running the !Build_RC6.cmd file that is located in the KSVC Source directory. You’ll need to follow the instructions at the top of the batch file to verify the Delphi version and compiler location. After editing the !Build_RC6.cmd file, you can then run it to rebuild the components using the Delphi compiler installed on your computer. The batch file will then copy the new *.DCU files to the correct location.
Another option is to add the KSVC Source directory to your Library Search Path (or Project Search Path) so that the compiler rebuilds the component source code. Then, when you build your project, the KSVC components will get recompiled.
The crux of the problem with 11.2 is that there is something wrong with the GetIt distribution that Embarcadero created for KSVC for 11.2. Specifically, one or more DCUs file distributed with KSVC for 11.2 are corrupted in some way. I am aware of the RzBorder.dcu file, but there could be others.
Ray
Hi Ariagna,
The key to handling this situation is to add a Reset Separator to the message log. In the situation that you described above, after forcibly terminating your app with Task Manager, go to the Live Viewer and select Edit > Add Reset Separator. (There is also a toolbar button that does the same thing). The reset separator appears as 2-line separator and resets the indentation level.
You can also programmatically add a reset separator by calling the AddResetSeparator method from a CodeSite logger.
Ray
Hi Marc,
Have you tried rebuilding with 11.3? There is also a new version of KSVC for 11.3 that was released.
Ray
-
AuthorPosts