11/25/2024 9:38:58 AM
|
|
slxdeveloper.com Community Forums |
|
|
|
The Forums on slxdeveloper.com are now retired. The forum archive will remain available for the time being. Thank you for your participation on slxdeveloper.com!
Forum to discuss use of SalesLogix with mobile devices including SalesLogix mobile and other mobile solutions. View the code of conduct for posting guidelines.
|
|
|
|
KeyPress Help
Posted: 24 Nov 09 9:48 AM
|
Hello, I have a SalesLogix Mobile 4.5 application that needs to prevent the user from entering a carriage return in a text box. I thought I would be able to do a "if asc(e.keycode) = 13 then e.handled = true" in order to cancel the CR when the KeyPress event was fired off. I am finding that KeyCode and Handled are not available as ControlEventArgs. I think I can use ToString for keycode, but I have no idea how to make up for the missing Handled? Am I missing something? Is there another way to do this?
Thanks in advance,
William
Public Sub cr_Check (Byval e as ControlEventArgs) if Asc(e.ToString) = 13 then e.Handled = True End Sub
|
|
|
|
You can
subscribe to receive a daily forum digest in your
user profile. View the site code
of conduct for posting guidelines.
Forum RSS Feed - Subscribe to the forum RSS feed to keep on top of the latest forum activity!
|
|
|
|
|
|
|
|