` Comment on an Icetips Article
Icetips - Templates, Tools & Utilities for Clarion Developers

Templates, Tools and Utilities
for Clarion Developers

Add a comment to an Icetips Article

Please add your comments to this article. Please note that you must provide both a name and a valid email address in order for us to publish your comment. Comments are moderated and are not visible until they have been approved. Spam is never approved!

Your Name:  
Email:  
Header text/Subject:  

Please enter your comment in the box below:

Back to article list   Search Articles     Add Comment     Printer friendly     Direct link  

ABC: Setting incremental locators to show uppercase
1999-04-05 -- Jim Kane
 
Newsgroups: comp.lang.clarion In article <37084c9a.85644494@tsnews.clarion.com>, Steve Greenwood wrote: > Does anyone know how to force an Incremental locator field to type > characters on-screen as Uppercase using C5 ABC template chain? Yup. Modify the base class to achieve this. Future versions of c5 have this done for you: !abbrowse.clw make incremental locator case insens when nocase set: !ABBrowse.clw IncrementalLocatorClass.TakeKey CAse IF SELF.NOCASE THEN !!!JJK MOD SELF.Shadow = SELF.Shadow & CHOOSE(KEYCODE()=SpaceKey,'',UPPER(CHR(Key))) ELSE SELF.Shadow = SELF.Shadow & CHOOSE(KEYCODE()=SpaceKey,'',CHR(Key)) END Then if the key is upper, the locator is upper. --- Jim Kane


Today is April 28, 2024, 3:51 am
This article has been viewed 35115 times.
Google search has resulted in 16 hits on this article since January 25, 2004.



Back to article list   Search Articles   Add Comment   Printer friendly

Login

User Name:

Password: