Click to See Complete Forum and Search --> : Code line is to long
BJK
Nov 26th, 1999, 07:11 PM
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
Steve Stunning
Nov 26th, 1999, 07:39 PM
::::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.
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 :)
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.