Results 1 to 11 of 11

Thread: Corona Beer, Need more Delphi 7 help

Threaded View

  1. #1

    Thread Starter
    Supreme User Madboy's Avatar
    Join Date
    Oct 2003
    Location
    England
    Posts
    3,253

    Thumbs up Corona Beer, Need more Delphi 7 help

    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:

    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;
    THANK YOU MATE!
    Last edited by Madboy; Jun 1st, 2004 at 06:40 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width