Jump to content

GUICtrlCreateInput shows part ANSI


Recommended Posts

Hi all

some of my code coming out of GUICtrlCreateInput is in ANSI or hex looks like this [] but smaller

box is there a way to fix this been looking in the help book cant seem to find help on this if you know would you please tell me how to fix this or point me to the way i can read on how to fix this thank you

michael

EDIT: i think they are call'd cross-hatch box is there a way to rid them so the data coming from GUICtrlCreateInput its plane text ?

Edited by Michael36
Link to comment
Share on other sites

Ok i'm sorry i did not think of a screenshot

in order for the GUICtrlCreateInput to put plane text output i have to use them hatch box i can post code if it's need'd

i should of post'd this in the loop prob i had its the same script

thank you

michael

http://img489.imageshack.us/my.php?image=screenshot7yj.jpg

Edited by Michael36
Link to comment
Share on other sites

Sounds like the input data you are displaying may be a problem. For diagnostic purposes, have you tried displaying it to a message box to see what it looks like there?

Example: MsgBox(0,"Diagnostic output", "Name is:" & $InputName & @CRLF & "Nick is:" & $InputNick,30)

PS: Plain text B) - I'm still struggling with the "hatch box". Did you have some source listing to look at?

Link to comment
Share on other sites

Sounds like the input data you are displaying may be a problem. For diagnostic purposes, have you tried displaying it to a message box to see what it looks like there?

Example: MsgBox(0,"Diagnostic output", "Name is:" & $InputName & @CRLF & "Nick is:" & $InputNick,30)

PS: Plain text :o - I'm still struggling with the "hatch box". Did you have some source listing to look at?

hi i fig out i need the &@LF

TCPSend( $socket,"NICK "&GUICtrlRead($Input_8))

is it Possible to put the &@LF in that line of code above i been trying no luck

i can put it in the gui input but will leave a hatch box in my input i'd like to get it in the above line somehow

$Input_6 = GuiCtrlCreateInput(""&@LF, 60, 40, 120, 20,)

Any Ideas?

thank you

michael

Func Connect($Edit_10)
    $g_IP =   $g_IP
    TCPStartUp()
GUICtrlSetState(-1,$GUI_FOCUS)
  $g_IP=TCPNameToIP(GUICtrlRead($Input_1)) 
    $socket = TCPConnect( $g_IP, GUICtrlRead ($Input_4))
    If $socket = 1 Then Exit
    WinSetTitle($titl,"","connected")
TCPSend( $socket,"NICK "&GUICtrlRead($Input_8))
TCPSend( $socket,"USER Guest 0 0 :"& GUICtrlRead($Input_6))
EndFunc
B)
Link to comment
Share on other sites

hi i fig out i need the &@LF

TCPSend( $socket,"NICK "&GUICtrlRead($Input_8))

is it Possible to put the &@LF in that line of code above i been trying no luck

i can put it in the gui input but will leave a hatch box in my input i'd like to get it in the above line somehow

$Input_6 = GuiCtrlCreateInput(""&@LF, 60, 40, 120, 20,)

Any Ideas?

thank you

michael

Func Connect($Edit_10)
    $g_IP =   $g_IP
    TCPStartUp()
GUICtrlSetState(-1,$GUI_FOCUS)
  $g_IP=TCPNameToIP(GUICtrlRead($Input_1)) 
    $socket = TCPConnect( $g_IP, GUICtrlRead ($Input_4))
    If $socket = 1 Then Exit
    WinSetTitle($titl,"","connected")
TCPSend( $socket,"NICK "&GUICtrlRead($Input_8))
TCPSend( $socket,"USER Guest 0 0 :"& GUICtrlRead($Input_6))
EndFunc
B)
Wooohooo i got it

TCPSend( $socket,"NICK "&GUICtrlRead($Input_8)&@LF)

man this was Suppose to be a easy script hahaha the next one will be simple for me After all this lol

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...