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
- the data are not written to the conf file

What is wrong?

Daniel.
------------------------------------------------------------------------------
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

Reply via email to