开发者

How do I hide a non-visual component on a form at design-time?

I am working on the GUI of an older program (in Delphi). Some of the forms are small and have a number of non-visual components on them (UDP servers, UDP client开发者_运维知识库s etc). I'm sure I used to be able to hide/show the non-visual components on the form with a hot-key, but I can't remember what it was. It may have been in an add-in that I have not added-in since upgrading to XE. Does anyone know where/what this might be?


This option is included inside of the Gexperts menu and is called Hide/Show Non-Visual.

How do I hide a non-visual component on a form at design-time?


A rather drastic measure would be to upgrade to Delphi 10 Seattle (or later) as this is one of the new features that Embarcadero have added. There is a small button next to "Toggle Form/Unit" called "Show/Hide Non-Visual Components" - the shortcut is CTRL+H

How do I hide a non-visual component on a form at design-time?


It is not built into Delphi but it is provided by GExperts. It only works for TCustomForm based designers. It will not work for TDataModule or other types of designers.


I'm not aware of any feature like this in any version of Delphi. However, GExperts has such a feature.


As answered before, GExperts and Delphi 10+ provides such function. I can also add CnPack and my own small component.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜