Jump to content



Photo

Problems with "+" at input box


  • Please log in to reply
3 replies to this topic

#1 WannaLearnPls

WannaLearnPls

    Seeker

  • Active Members
  • 31 posts

Posted 26 August 2009 - 12:51 AM

Hi all, I've got a problem with the operator "+" at my input boxes.. My program reads a string of characters on an input box, and then types them back. Everything works all right, except for the "+" operator.. My guess is it is due to the "shifting" mode, and it takes the "+" as if I wanted to use the Shift key.. so, my question is, what key should I input if I want to have a "+" operator typed?

I know it's a rather stupid question, but I've looked a bit on the search and haven't found it.. and I don't have much time right now >_<

So.. thanks in advance to whoever could help me out with this little problem :(







#2 Info

Info

    :D

  • Active Members
  • PipPipPipPipPipPip
  • 730 posts

Posted 26 August 2009 - 12:57 AM

A tiny script could help us help you.

Do you mean '+='?

#3 ResNullius

ResNullius

    Drink Deep, or Taste Not the Pierian Spring

  • Active Members
  • PipPipPipPipPipPip
  • 1,031 posts

Posted 26 August 2009 - 01:25 AM

My program reads a string of characters on an input box, and then types them back.
.. so, my question is, what key should I input if I want to have a "+" operator typed?


By "typed" do you mean you're using the Send( ) or ControlSend( ) command?
If so, you check out the helpfile under those with attention to the flag value of "1"

You might also consider using GUICtrlSetData( ) or ControlSetText( ), unless you really need to simulate character by character typing.

#4 WannaLearnPls

WannaLearnPls

    Seeker

  • Active Members
  • 31 posts

Posted 26 August 2009 - 03:39 AM

A tiny script could help us help you.

Do you mean '+='?

Hmm you mean as for instance x+=1 as x=x+1? That's not what I meant but thanks though >_<

By "typed" do you mean you're using the Send( ) or ControlSend( ) command?
If so, you check out the helpfile under those with attention to the flag value of "1"

You might also consider using GUICtrlSetData( ) or ControlSetText( ), unless you really need to simulate character by character typing.

All right! I've fixed it with the Send([Text], 1).. didn't realise of that parameter thingy.. thanks a lot :(

Edited by WannaLearnPls, 26 August 2009 - 03:39 AM.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users