Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

PowerBuilder 6.5/Sybase

Status
Not open for further replies.

veeru01

Programmer
Oct 2, 2003
1
US
I have a text field in one of my datawindows and the users need the ability to use the <ENTER> key to go to the next line. Currently they are forced to use <CTRL> and <ENTER> keys simultaneously to start a new line. Is ther any way I can simulate the <CTRL> + <ENTER> when the user presses the <ENTER> key. I would like to appreciate your help in advance.
 

hi!

this is that u need.

Send(Handle(this),256,9,Long(0,0)) in the key event in your dw.

regarrds
 
sorry, i read too quickly your email. i will search in my source.

 
hi!

i have an idea, i am not sure if it's helpful for u, but here goes:

in the key event, when u press any key, u should capture the current fields, if it's the field that u need u mustn't send the message with &quot;SEND&quot;, else, i must send it.

If u have an antecesor, u can create a mark for each field in your dw, for example, with the tag.


Regards.

















 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top