I must be annoying you by now, all other members think so![]()
Anyway, here are a few more questions, if you dont mind helping:
How do i limit a Textbox to Numbers only?
How do i limit a Textbox to Words only?
How do i limit a Textbox to Symbols only?
How do i create a MRU list in a standard Delphi menu?
Have you seen in Wordpad, if you move your mouse over the File > New menus etc it shows a hint in the statusbar. How would i go about doing the same thing?
How do you change the caption in a MessageDlg?
And whats wrong with this? It doesnt align my text:
THANK YOU MATE!Code:procedure TfrmMain.mnuFormatAlignLeftClick(Sender: TObject); begin mnuFormatAlignCenter.Checked:= False; mnuFormatAlignRight.Checked:= False; txtMain.Alignment:= taLeftJustify end; procedure TfrmMain.mnuFormatAlignCenterClick(Sender: TObject); begin mnuFormatAlignLeft.Checked:= False; mnuFormatAlignRight.Checked:= False; txtMain.Alignment:= taCenter end; procedure TfrmMain.mnuFormatAlignRightClick(Sender: TObject); begin mnuFormatAlignLeft.Checked:= False; mnuFormatAlignCenter.Checked:= False; txtMain.Alignment:= taRightJustify end;![]()





Reply With Quote