Shrinavat
Members-
Content Count
61 -
Joined
-
Last visited
-
Days Won
3
Everything posted by Shrinavat
-
What is the purpose of this feature? How can I change the color of the tab in the code editor? I am unable to find an option to modify the color in the tab settings.
-
The GetIt server is back online - With the 12.0 Patch 1
Shrinavat replied to Lars Fosdal's topic in General Help
(deletia)R120.patch1-20240131.zip -
Upon each launch of IDE, the Component Palette panel consistently shifts to the right by a specific distance. This behavior requires me to manually drag the panel back to its original position on the left side every time I start Delphi 12. Additionally, I have observed that the "Lock Controls" icon from the "View" toolbar disappears. I have manually added this icon to the toolbar, but it vanishes. It reappears only after selecting the same action through the "Edit|Lock Controls" menu. I have attached a screenshot illustrating the issue. I would like to inquire if there is a solution or workaround to address this problem. Is there a way to lock or fix the position of the Component Palette panel, so it remains in place across Delphi 12 sessions? Additionally, I am curious about where the configuration data for the panel's position is stored. Does Delphi 12 save this information in the registry, a configuration file, or elsewhere?
-
Delphi 12 Component Palette Panel Shift Issue
Shrinavat replied to Shrinavat's topic in Delphi IDE and APIs
Yes, I have different Desktops. *.DST files do not have component palette properties. Deleting both your own Desktops and the default ones did not affect the offset position of the component palette :-( -
Delphi 12 Component Palette Panel Shift Issue
Shrinavat replied to Shrinavat's topic in Delphi IDE and APIs
Uninstalling CnPack had no effect, the panel appeared to be offset as well. -
Steema TeeGrid The grid component for Delphi VCL & FMX offers a very fast grid for your RAD Studio projects
-
I'm encountering a problem with the color names in freshly installed Delphi 12, and this issue also existed in Delphi 11.x. The problem is observed as a text "overlay" in any Object Inspector field related to color, as illustrated in the attached animation. It seems to occur regardless of whether any experts or updates are installed. How can I address this issue?
-
Issue with Color Names Overlay in Object Inspector
Shrinavat replied to Shrinavat's topic in Delphi IDE and APIs
I've found the source of the problem. It turned out to be third-party components - ESBPCS for VCL. If they are disabled, then the problem disappears. As @balabuev rightly pointed out, here's what's to blame: "Non-standard property editors are installed. More technically, this happens when a property editor implements the ICustomPropertyDrawing interface but does not implement the more recently introduced ICustomPropertyDrawing80 interface." The developer of these components has already been notified. -
@maloboDid you find a solution? I have the same issue
-
Issue with Color Names Overlay in Object Inspector
Shrinavat replied to Shrinavat's topic in Delphi IDE and APIs
Hmmm... a similar problem is described here But there is no solution how to fix it. -
I recently installed RAD Studio 12 Pro with Delphi. Now a ProjectName.dsv file is being created in the project folder. What is this, and how can I disable the creation of this file? Here's what its contents look like for example: [ClosedView_RDpcRGVscGhpX3Byb2plY3RzXENhbGxDZW50ZXJcQ2FsbENlbnRlci5kcHI=] Module=D:\Delphi_projects\CallCenter\CallCenter.dpr CursorX=1 CursorY=18 TopLine=1 LeftCol=1 Elisions= Bookmarks= EditViewName=D:\Delphi_projects\CallCenter\CallCenter.dpr [ClosedView_RDpcRGVscGhpX3Byb2plY3RzXENhbGxDZW50ZXJcX3VuaXRzXGZyYW1lc1xmclJlcG9ydF9UcmFu c2ZlcnJlZFRvQW5vdGhlckRlcGFydG1lbnQucGFz] Module=D:\Delphi_projects\CallCenter\_units\frames\frReport_TransferredToAnotherDepartment.pas CursorX=1 CursorY=1 TopLine=1 LeftCol=1 Elisions= Bookmarks= EditViewName= [ClosedView_RDpcRGVscGhpX3Byb2plY3RzXENhbGxDZW50ZXJcX3VuaXRzXGZvcm1zXGZybVJlZmVyZW5jZS5w YXM=] ...
-
@Remy Lebeau Could you please explain what is the point of using UniqueString (sCommand)?
-
Yes, I also turned off this feature because of the spontaneous jumps of the text. It's very annoying. Is there any RSP about this?
-
Hello, I know there are advanced Clever Internet Suite users here who might be able to help me with advice. To send an image to a Telegram channel, I use the following code: const urlTGSendPhoto = 'https://api.telegram.org/bot%s/sendPhoto'; BOT_API_KEY = 'xxxxxxxxxxxxxx'; CHANNEL_NAME = 'xxxxxxxxxxxxxx'; ... clHttpRequest.AddFormField('chat_id', CHANNEL_NAME); clHttpRequest.AddSubmitFile('photo', 'chart.png'); var s := clHttpTG.Post(Format(urlTGSendPhoto, [BOT_API_KEY]), clHttpRequest); where 'chart.png' is the name of the image file on disk. It works great. Can someone please tell me how to use a stream (TMemoryStream/TFileStream) or TPngImage/TJPEGImage/TBitmap instead of a file (that is, without the need to save the file to disk)?
-
Clever Internet Suite and AddSubmitFile method
Shrinavat replied to Shrinavat's topic in Network, Cloud and Web
Thanks to the author of the library we were able to find a solution: https://github.com/CleverComponents/Clever-Internet-Suite-Tutorials/tree/master/vcl/SendTelegramPhoto -
Exactly right! I'm sorry, my bad.
-
@Uwe Raabe What am I doing wrong? Why aren't the units grouped by group prefix?
-
Isn't that the reason you are here? https://quality.embarcadero.com/browse/RSP-28708
-
There is current code, in which I think the use of dictionaries is redundant: const N = $1; S = $2; E = $4; W = $8; var DX, DY, OPPOSITE: TDictionary<Integer, Integer>; // init dictionares DX := TDictionary<Integer, Integer>.Create; DX.Add(E, 1); DX.Add(W, -1); DX.Add(N, 0); DX.Add(S, 0); DY := TDictionary<Integer, Integer>.Create; DY.Add(E, 0); DY.Add(W, 0); DY.Add(N, -1); DY.Add(S, 1); OPPOSITE := TDictionary<Integer, Integer>.Create; OPPOSITE.Add(E, W); OPPOSITE.Add(W, E); OPPOSITE.Add(N, S); OPPOSITE.Add(S, N); // Usage of these dictionaries is shown below in the example code: var nx := x + DX[dir]; var ny := y + DY[dir]; grid[ny, nx] := grid[ny, nx] or OPPOSITE[dir]; To improve performance, I would like to avoid using dictionaries and use a simpler code instead... but I don't know which one? Any help in this arena would be greatly appreciated.
-
How to gracefully get rid of the use of dictionaries?
Shrinavat replied to Shrinavat's topic in General Help
Thank you all, you put me on the right track! -
How to gracefully get rid of the use of dictionaries?
Shrinavat replied to Shrinavat's topic in General Help
You are correct. The code uses expressions like: cx := E or W; grid[ny, nx] := grid[ny, nx] or S; -
Alas, "Omnia orta cadunt"
-
Maybe it makes sense to add graphics32 to "Delphi Third-Party" section?
-
Looks great, is there any chance of animation support (like SVGMagic do)?
-
Maybe something like https://www.rebasedata.com/convert-interbase-to-sqlite-online ?