Results 1 to 2 of 2

Thread: What is wrong with this?

  1. #1

    Thread Starter
    Addicted Member Daniel_Christie's Avatar
    Join Date
    Jan 2000
    Location
    USA
    Posts
    245

    Post

    SelectNext(
    ActiveControl as TWinControl,
    True,
    True );

    VB5 keeps asking for "List seperator or )"

    What is wrong?

  2. #2
    Serge's Avatar
    Join Date
    Feb 1999
    Location
    Scottsdale, Arizona, USA
    Posts
    2,744

    Post

    You have to declare the variable first (you can't do it like in C/C++). Also, don't include semicolon at the end.

    Code:
    Dim ActiveControl as TWinControl
    
    SelectNext(ActiveControl, True, True )
    ------------------

    Serge

    Senior Programmer Analyst
    [email protected]
    [email protected]
    ICQ#: 51055819

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