[RESOLVED] [02/03] font dialog
hi guys..
i would like to thank u guys for the great help extended to me from this forum and i have learned a lot from u guys...i need ur help again...
i am thinking of creating a config file where in i show the dialog box for the font to b selected creating the dialog is ok but i would like to know how do i go further ....like i want to store the font in a table and then set that font in the entier package....
i have created the dialog box as below
Code:
Dim fd As New FontDialog
fd.ShowDialog()
Dim SelectedFont As Font
SelectedFont = fd.Font
the querries r
how do i get the selected font from the dialog box.. the selectedfont cannot b taken in the text file or if the same is to b stored then pls. let me know how...
2ndly when i get the font...how do i set it to the textbox...
i tried
Code:
TextBox1.Font = txtFont.Text
but it gives error....txtfont.text is in blue line...so it wont accept...
pls. help...thankx a lot