Rafael Copquin wrote on 2014-08-11: 
>  I'm having a Monday morning memory lapse.
>  
>  I have this memo field with text inside.
>  
>  I need to add a time stamp and additional text and I do it thus:
>  
>  With thisform.edit1
>        .enabled = .t.
>        replace curList.pv_mo with Replicate('*',100) + Chr(13) additive
>        replace curList.pv_mo with Ttoc(Datetime())   + Chr(13) additive
>        replace curList.pv_mo with Replicate('*',100) + Chr(13) additive
>        replace curList.pv_mo with ''  additive
>        .setfocus
>  EndWith
>  
>  However, the cursor is placed at the _top_ of the memo field and I want
>  it to be placed at the _very bottom_, so the user can start adding text
>  in the normal way
>  
>  How is this done please?
>  
>  Rafael Copquin


Rafael,

Thisform.edit1.SelStart = len(thisform.edit1.value)

Tracy Pearson
PowerChurch Software


_______________________________________________
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/000301cfb579$a56ba800$f042f800$@powerchurch.com
** 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