I have been using Inno for a number of years. Now in my latest usage I fail to get the program name on the taskbar icon when my VFP program is running. I've never experienced this before and don't know where to look.
Can anyone help
I doubt if this is anything to do with Inno. Inno is presumably correctly installing your application (otherwise you wouldn't be able to run it), so the fault lies elsewhere.
You say there is no "taskbar icon". Just to be clear: are you referring to the Windows taskbar? And, if so, are you saying that you can see application in the taskbar but it has no icon? Or is the application completely absent from the taskbar?
If the former, it might simply be a question of setting the _SCREEN.Icon property. See this article if you need any further information about this: Do your application icons always show up?
If the latter, that's more difficult to diagnose. Perhaps you could clarify exactly what the problem is before we spend any more time on it.
Mike
__________________________________
Mike Lewis (Edinburgh, Scotland)
So you are seeing the icon in the taskbar, but not the prograsm name? In that case, you need to set [tt]_SCREEN.Caption[/tt] to the name that you want to see. In general, the taskbar name is the same as your main window title.
If you are using a top-level form (with _SCREEN not visible), then it is that form's caption that you would need to set to the required name.
Mike
__________________________________
Mike Lewis (Edinburgh, Scotland)
True, when your program is running, the caption of the main form is the determining value.
The situation your setup is responsible for is the non running application only. When the application is pinned the text displayed when hovering the taskbar icon of the application NOT running is determined by the product name.
For example pinning VFP9 to the taskbar the icon caption is "Microsoft Visual Foxpro 9.0" when VFP is not running and "Microsoft Visual Foxpro" (note: without the 9.0), when VFP9 runs. And if you set _SCREEN.Caption to "VFP10" that'll also be reflected in the taskbar tooltip text when hovering.
In a running browser the text will be the title of the active tab. So forget about the product name to be the only caption.
I can't think why a period within the caption would be a problem. If you set the caption to, say, [tt]Hello.World[/tt], then that would be the text you see in the taskbar.
But never mind. I'm glad to hear you solved it. Thanks for letting us know.
Mike
__________________________________
Mike Lewis (Edinburgh, Scotland)
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.