On 05/13/2012 09:41 AM, Tracy Pearson wrote:
> Jeff Johnson<[email protected]>  wrote:
>
>> Tracy:  I do this in my apps.  I have a button off screen -1000, -1000
>> that gets focus in the click of the buttons.
>>
>> In the click of my buttons I do:
>>
>>      dodefault()
>>      thisform.cmdfocus.setfocus()
>>      this.clickaction()
>>
>> Does what it sounds like you are trying to do.
>>
>> Jeff
> Does the textbox which had focus keep focus on the place that it was at?
> If a textbox contained "Pearon" and the carat is between the R and O, would 
> clicking on the key captioned "s" leave the carat after the "s"?
In my apps the invisible button keeps focus so no visible control has 
any focus.  That is what I want.  When there are any control characters 
in a parameter, I cleanse them before using them with at strtran() in 
the this.clickaction(this.caption) method.  Sometimes I use two or three 
strtrans().  It might be done easier but it is self-documenting.





Jeff

---------------

Jeff Johnson
[email protected]
(623) 582-0323

www.san-dc.com



_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/[email protected]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to