For the life of me, i can't seem to figure out how to delete primitive or control elements from a style with in the style designer of Delphi. What am I missing? I have tried right clicking everything i could find and no option surfaces. I tried looking for a panel that isn't enabled. Can't seem to find one. As of now, I have to edit the actual text and reload it, in order to delete a style element.
Delphi XE6
Delphi 10.1 Berlin
EDIT UPDATE:
How do I get this window to appear in either IDE?
EDIT UPDATE:
Looks like there is a very small button on top left of structure pane that does the trick. I will leave question open for someone to answer with any other way. If no one can, Ill post the answer and accept it.
To delete a style element (tested on Delphi 10.1 Berlin)
Right-Click the element in the Structure view to get a popup menu.
Select Edit - Delete
Or use the button (doc with red X) immediately above the structure tree.
Thanks to John, I can confirm that in XE4 .. XE7 the popup menu doesn't have the Edit menu, so the only means left is the delete button, mentioned above.
The third image (in your edit) is not familiar. Where did you get the image? Perhaps a third party style editor. Possibly not intended to be incorporated in the IDE.
Related
In Delphi 10 Seattle, when you're editing a style, there are 3 buttons on the top-right of the editor window's toolbar:
Apply
Apply and Close
Cancel
However, now that I'm using Delphi 10.1 Berlin, these buttons are no longer there:
I relied on these buttons to actually apply the styles. Since Embarcadero has removed these buttons, I now am at the mercy of just closing that tab:
As you can see, this becomes annoying. I also have to count on seeing the prompt to apply the styles, so I have no sure way to apply the styles. My form(s) don't even update with the new style until I explicitly "apply" it. But, since these buttons are gone, I now am forced to close the tab in order to apply the styles. Even if I save all files, it doesn't seem to apply.
How can I forcefully apply my styles while I'm editing, without closing the style editor tab? Am I missing something? I've checked all the documentation and what's new information on these changes...
It would appear these buttons have been completely removed in Delphi 10.1 Berlin, and you're forced to close the style editor in order to apply them. However, in Delphi 10.2 Tokyo, these buttons are back.
So the only thing you can do is close that tab every time you want to apply your styles, until you move up to Delphi 10.2 Tokyo.
In cxGrid,where do you modify the menu options when you right click in the Grid?
I would like to get rid of that "Right to left reading order","Show Unicode control characters","Insert Unicode control character","Open IME" and "Conversion". I dont need them at all.
How can I do that ?
This is the standard context menu of the Windows EDIT control, and not part of the Delphi code behind the control that you are using. In other words, the Delphi control that you are using is wrapping some system provided functionality.
I suppose that it would be possible to remove some items from that, but it's not easy. The EDIT control does not offer you any way to remove these built-in items. This issue has been discussed at the devExpress forum:
https://www.devexpress.com/Support/Center/Question/Details/Q292288
https://www.devexpress.com/Support/Center/Question/Details/Q102030
I have a lot of files to keep open, and the current single line of tabs is just difficult. I see that GExperts and CNPack does not have that (unless I missed that).
Is there any trick to achieve that, or any other suggestion that I could have more tabs visible?
The TIDEGradientTabSet (if it's still used in modern Delphi) doesn't support multiline view, so the only option for those IDE experts could be making own tab set control hiding the original one.
Alternatives are:
On the far right of the tabs is a small down arrow. Press that, and you'll see a list of all the files that are open in the editor;
Pressing Ctrl+B will open up a dialog to select a tab;
TMS has a free tool AltTab but it did not get update for while. That was exactly what was needed for Delphi IDE;
This is annoying ... In Delphi 7 when you clicked on the code window the form would automatically hide. Now it stays on top. I have to minimize it to remove it from focus. Are there any settings that correct this behaviour ? Also I must play hide and seek with component pallete on the right. I have it open but soon as I try and click on the scroll bar to try and search for my components I get everything replaced by Delphi projects etc. Then I must click inside the form for the component pallete to come back again. Annoying... Any way to disable this ?
For the first part of your question you can disable the embedded designer in order which the switch between the form and the code will be like the Delphi 7 IDE.
Tools-> Options -> Environment Options -> Vcl Designer -> Embedded designer (uncheck)
Also you can take a look to the Simon Stuart plugin RADSplit
Now for the component palette part, this windows change depending of the current active form , so if you active window is the form designer the Tool palette show the components else show the Delphi projects menu. Anyway Delphi XE2 includes the classic palette component which always show the components in top toolbar even if you are in the source code view.
I am trying to write my first firemonkey - HD application
Create an firemonkey - HD application
On the form put a TLabel and change its Name.
Select the TLabel
In the Drop Down Menu select Edit
Why are all the editing options disabled ?
OR
In the Main Menu at the top of the screen select Edit
Why are all the editing options disabled ?
Question: What am I doing wrong ?
Appears to be a bug. Select another tab and back (or F12 into the text and back) and the Edit menu works properly. Click on anything other than the form and it stops working.
In a similar vein, sometimes hitting F12 to get from the text to form displays won't work either (again change tabs and back).
A bug, however if you check the Edit from the main menu instead of the right click, you will see that all of the options are enabled.
I'm using XE6, and while cut works (lines can be pasted into Notepad), paste fails even with the F12 and click-tab tricks.