Re: [Gambas-user] How to set the icon property of a form from a file in the project

2013-12-16 Thread Jesus Guardon
> I wonder if this is a fault with Precise which uses a Global menu bar. > Anybody know? As it has been said before, this is the way Unity desktop works. If you want to see your icon in the form caption, you need to switch to another desktop manager or tweak Unity (which I don't know if it is p

Re: [Gambas-user] How to set the icon property of a form from a file in the project

2013-12-16 Thread Jussi Lahtinen
The code is correct. Does it get executed? Do you have error messages? Jussi On Mon, Dec 16, 2013 at 2:42 PM, John Rose wrote: > Tried: > FMain.Icon = Picture["StreamRecorder.png"] > > Still no icon on window's title bar. > > PS using Ubuntu Precise with Gambas 3.5.1 > > -- > Regards, John > >

Re: [Gambas-user] How to set the icon property of a form from a file in the project

2013-12-16 Thread Kende Krisztián
2013-12-16 11:52 keltezéssel, John Rose írta: > I want to set the FMain form's icon property (in the FMain Form_Open > sub) to the picture contained in a .png file which I've added to to the > Data section (of the Gambas IDE). Here is my non-working code, which > gives 'Null Object' at runtime: >