I am using my visual basic 6 short course examples to get to know Xojo.
In one example is adding an Application logo on the window title bar. I am spoiled with most of the properties being in design mode. Xojo window Inspector does not have that property only the Backdrop. How is that icon (logo) added?
My other example is to have a frameless window. All (max, min and close are as controls. How do I remove the window frame and have only the window.
I am having good fun with Xojo now that I have most of my VB examples converted. Thanks Xojo.
To set the app logo, which is also used in the Window title bar, click on App in the Navigator and select Icon in the Inspector to display the Icon Editor where you can add icons of various sizes.
You can change the window style using the Type property for the Window (in the Inspector). By default Windows have a Document type. You probably want “plain box” for a frameless window.
Thank you for the reply Paul. The frameless window solved but not the icon. I clicked on the icon in the inspector and got the icon editor displayed. it allows only to click onto the different sizes and that is all. it does not allow me to load any images (*.ico or any other images) nor allows any editing.
In the Navigator I loaded an icon into the application including png, jpg, gif and bmp. When clicked on the image Xojo can display all except the ico image. I am using Windows 8.1 and Xojo is the current registered version. Is there anything else I amy be doing wrong?
At least with the frameless window one can custom design their own “window like” appearance and use all kinds of graphics.
You can drag an image file to one of the icon boxes. It will be embedded in your project.
You can use the bigger icon’s for filling the smaller one’s by dragging them to each other.
As far as I know Xojo don’t support .ico files.
You can add for example .png files with or without transparancy.
If you have a file without transparancy you can add a mask image for the non-transparant part. The icon editor creates a preview with a transparent icon.