Cannot see the contents of the HTML help for Virtual TreeView - html-help

I download Virtual TreeView from https://www.jam-software.com/virtual-treeview/ . After I open the HTML Help inside it, I get a warning, then I proceed and will see the table of contents in the left panel, I can also search in the help. However, whenever I try to click the item in the left panel, there are nothing appear in the left panel. What I can see is just a white background. This problem only occurs in Windows 7.
I try to open the same HTML help in WIndows XP, then I will be able to see the content in the right panel.
Why?

The solution can be found in Opening a CHM file produces: "navigation to the webpage was canceled" . I try to unblock the file and then be able to view the contents.

Related

Deleting style elements from a style in Delphi Firemonkey

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.

SQL WIndow Not Displaying for FIBDataset Component

I am facing a strange problem, when I click to see SQL of TFIBDataset component, then the window seems to be open but not visible, coz once it is open i can't click in Delphi until I press Esc key. I tried pressing Alt + Tab key, but no use. then I right click on that component is chose SQL Generator option, but then also I couldn't see the SQL window.
Any clue?
I got the solution.
I was using a laptop, and a monitor was also connected to it. I made screen resolution setting on Windows 8 as "Show Desktop Only on 2".
When I was clicking on SQLs property TFIBDataset component, then the window was displaying on Laptop screen and not on Monitor screen.
Because of "Show Desktop Only on 2" setting, laptop screen was in switched off mode, so I couldn't able to notice this change.
Finally, I made the screen resolution settings as "Duplicate These Displays" and now able to see the SQL window on both the screes.
Happy At The End :)
With Best Regards.
Vishal

Adding "Paste" to the Shell Context Menu

I am using this routine to pop up the Shell Context Menu for a file name which is working well, except for one thing.
How to pop-up the Windows context menu for a given file using Delphi?
When I click "Copy" the menu closes as expected. If I move to another Folder or stay in the same one, when I right-click again for the Context Menu, it has no "Paste" option. Not even a grayed out one. I checked on the Poster's blog as mentioned in his Edit at the bottom, but that new routine crashes with Incorrect Parameter.
Can someone please assist with adding "Paste" to the original routine in the above link
Thanks
Look for TClipboard (library/uses ClipBrd). Using this you can manage a cliboard on Delphi.
More information: Basic CLipboard Operations
Obs.: You can use "Actions" too, depending your needs. See ActionManager component, and Action properties of your popupmenu.

How does copy, cut and paste work in a FireMonkey - HD Form designer

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.

How to set Menu Help Text in Window Custom ShellExtension popup menu Item

I need to set the menu help text of my shell context menu popup menu item just like winzip shellContext menu. I tried IContextMenu_GetCommandString but it is only setting menu help for sub menus of my main popup menu. Please help me and let me know how to set the menu help for my main poup menu?
Thanks
In case you haven't solved this already, here is what worked for me.
You need to insert your popup menu into the explorer menu using InsertMenuItem, as described here. This allows you to give your popup menu an ID.
The shell passes that ID into IContextMenu_GetCommandString when querying the items, by way of checking for that ID you can return any help string you need.
However, it may simply not be displayed if you right-click on a folder in the (left) folders pane of explorer, and not in the files pane to the right. On my system, if one or more elements are selected in the files pane, the properties (type, size, name and some more stuff) are displayed in the status bar, even if I right-click on any folder in the folders pane.
This seems to be standard behaviour - at least on my system it's the same for all installed custom extensions and even for the default explorer menus.

Resources