I need to change text in an rtb using a combo box can anyone helpWatch this thread
I am studying Avce ict and need to hand my assignment on friday but i havent put in atext box for font size i have done a type combo box but cant figure out how to make different sizes work. All work is done in Visual basic 6
Private Sub Combo1_Click()
Text1.FontSize = CInt(Combo1.Text)
RichTextBox1.Font.Size = CInt(Combo1.Text)
If you are using Windows API you should use CreateFontIndirect() and SendMessage(WM_SETFONT).