Forum Replies Created
-
AuthorPosts
-
What VCL Style are you using?
Regardless, you can customize the text color by doing the following:
Uncheck the seFont element from the StyleElements property of the TRzPageControl. Then you can change the TextColors.Selected property to the color you wish.Ray
The issue should be fixed in 8.0.2
Hi David,
The issue is with the component itself and a change that was made in 8.0.1. I was able to duplicate the issue by dynamically creating the TRzButtonEdit. I’m kind of surprised there were not more reports of this problem, but if you are using 8.0.1 and not having an issue, there may be something else in play. In tracing through the code, the change from calling Width to ClientWidth resulted in low level VCL code being called that required a Window Handle to be allocated.Ray
Hi,
Very interesting bug. One little change from referencing Width to ClientWidth caused the issue. I have fixed the issue and submitted to Embarcadero. In the meantime before they can make a new version available, you can fix the issue by making the following two changes and then using the !Build_KSVC.cmd file (in the Source directory) to rebuild the components.In RzBtnEdt.pas, update the beginning of TRzCustomButtonEdit.ResizeButtons to add the call to HandleAllocated:
procedure TRzCustomButtonEdit.ResizeButtons; var W, MinHeight: Integer; begin if HandleAllocated and not ( csLoading in ComponentState ) then beginIn the RzDbBnEd.pas, make the same edit to TRzDBCustomButtonEdit.ResizeButtons:
procedure TRzDBButtonEdit.ResizeButtons; var W, MinHeight: Integer; begin if HandleAllocated and not ( csLoading in ComponentState ) then beginAfter making the changes, run the !Build_KSVC.cmd file and follow the instructions for rebuilding the runtime and design packages.
Ray
Hi All,
I am able to duplicate the issue. Researching the issue now and will provide a fix to Embarcadero and/or a workaround as quickly as possible. I’ll keep this group posted.Ray
Hi Charles,
Not directly in the current version. However, you can download the CodeSiteJsonLogging unit from the Downloads section of my Delphi By Design blog (https://delphibydesign.com/downloads/). At the bottom of the page, in the CodeSite section, you will find the entry for the CodeSite JSON Logging download.By the way, the next major release of CodeSite will have integrated support for JSON.
Ray
Hi Steve,
Unfortunately, this is a limitation of the GDI.
Ray
Hi Olivier,
Unfortunately, that style comes from Windows itself. To change the appearance, there are a couple things you could do. First, you could load a different VCL Style into your application and then use the Per Control Styling introduced in Delphi and then set all your check boxes to use the other style.Another option would be to set the ThemeAware property of the TRzCheckBox to False, and then set the HotTrack property to True. This will cause the TRzCheckBox to draw the check box states internally rather than use the style elements.
Ray
Hi Chris,
The TRzListBox and TRzComboBox are descendants of the TCustomListBox and TCustomComboBox, respectively. Neither version does anything specific with the scroll bars. I’d be curious if you try out the same technique with the TListBox and TComboBox, do you get the same behavior?Ray
Hi,
Are you able to reproduce the issue in a test project? If so, please send the source code (zipped up) to support@raize.com and I’ll take a look.Ray
Hi Ricardo,
You are right. For some reason the content within “<" and ">” are getting stripped. I’ll have to dig into WordPress to see what is causing that. Anyway, the #include statement was supposed to include IdIOHandler.hpp within the angled brackets.
Thanks for posting your solution.
RayHi 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
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
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
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 -
AuthorPosts