quote:
Originally posted by CookieRevised
The example shown by fatfreechicken is for when you want to have borders too (eg to resize the window). But you said you disabled them as you have your own image for the form, so I assume here you don't need them either.
Thus the explanation below is for forms which don't show a caption AND don't show borders:
----------------------
In order to make a form borderless and captionless and still showing up in the taskbar you need to make only two changes:
1) Set the "Border" property to "none"
2) Set the "ShowInTaskBar" property to "True"
If you set a caption on the form, the borders do not reappear. Both things are independant (as long as borders is set to none) as you'll see in my example.
In other words, you can perfectly set a caption on forms which will be visible in the taskbar, while the form itself will have no border.
Also, don't forget to set "App.Title", this is the caption which is shown in your TaskManager.
See attached example project.
Thanks CookieRevised.
I have don what you have originally done what you suggested. My Border is set to none, and ShowInTaskBar is also "true". But like i said, it works in all forms except the main form. Strange i know. I'lll try it again now.
Also, must it be
code:
Me.Caption=App.Title
coz i've been using
code:
Me.Caption=App.ProductName
could this be the possible cause ofmy problem?