> Hallo everyone, > > i am new to gambas and trying some things out. > I would like to give the user of my program the opportunity to choose a > font. > The default title of the dialog.selectFont must been changed > The font that has been chosen must be written to the conf-file > > My code is as follows > > PUBLIC SUB mnuFormatFont_Click() > ' set the title > ' let choose the font > ' apply the font > ' write chosen font to the conf file > Dialog.Title = " Kies een font " > Dialog.SelectFont > TextArea1.Font = Dialog.Font > Settings["Tekst/Lettertype"] = TextArea1.Font > END > > When running the program > - the title is not changed
This is a bug I fixed in revision #3198. > - the data are not written to the conf file Mmm. Are you sure? The conf file is written when your program exists, or if you explicitely call Settings.Save(). Regards, -- Benoît Minisini ------------------------------------------------------------------------------ This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd _______________________________________________ Gambas-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/gambas-user
