Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Monday, November 25, 2024 
 
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!
 Administration Forums - Mobile/PDA/Handhelds
Forum to discuss use of SalesLogix with mobile devices including SalesLogix mobile and other mobile solutions. View the code of conduct for posting guidelines.
Forums RSS Feed


 Back to Forum List | Back to Mobile/PDA/Handhelds | New ThreadView:  Search:  
 Author  Thread: KeyPress Help
William Vespe
Posts: 16
 
KeyPress HelpYour last visit to this thread was on 1/1/1970 12:00:00 AM
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

[Reply][Quote]
 Page 1 of 1 
  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!
 

 
 slxdeveloper.com is brought to you courtesy of Ryan Farley & Customer FX Corporation.
 This site, and all contents herein, are Copyright © 2024 Customer FX Corporation. The information and opinions expressed here are not endorsed by Sage Software.

code of conduct | Subscribe to the slxdeveloper.com Latest Article RSS feed
   
 
page cache (param): 11/25/2024 9:58:36 AM