Results 1 to 3 of 3

Thread: Code line is to long

  1. #1

    Thread Starter
    New Member
    Join Date
    Nov 1999
    Posts
    12

    Post

    My code on a particular event runs off the viewing area of my monitor. Is there a way of cutting the particular line of code in half and having it on two or three lines?

    Thanks for your reply

  2. #2
    Hyperactive Member Steve Stunning's Avatar
    Join Date
    Jul 1999
    Location
    Fairfax, Virginia
    Posts
    314

    Post

    ::::EXAMPLE::::

    You can use a "_" to split it up.

    Public Declare Function SendMessageByString Lib "User32" Alias "SendMessageA" _
    (ByVal Hwnd As Long, ByVal wmsg As Long, _
    ByVal wparam As Long, ByVal lParam As String) As Long

    I hope this is want you are looking for.

  3. #3
    Guest

    Post

    actually you need to put a space before it (ie. " _"), and there is a limit to the number of times that you can do this.


    ------------------

    Wossname,
    Email me: wossnamex@talk21.com

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