Index
2007-09-25 13:18<lalong1@bellsouth.net>: [dabo-users] Python/Dabo question- current cursor position in atext field
2011-07-29 14:03Kent Belan : Cursor position
2011-07-29 14:15Fred Taylor : Re: Cursor position
2011-07-29 14:16Tracy Pearson : RE: Cursor position
Back to top
[dabo-users] Python/Dabo question- current cursor position in atext field

Author: <lalong1@bellsouth.net>

Posted: 2007-09-25 13:18:55   Link

How do I get the current cursor position for a textfield?

I want get the current text value to the left of the cursor so that when

entering a numeric when the user presses the decimal key that is auto

adjusts the value "around" the decimal point.

For example, if the value is 1234.56 and the cursor is between the 2 and 3

and the user hits the decimal, it would auto change the value to 12. vs

12.34.56

I've already go the hooks to capture the decimal key, now I just need to

reformat the value.

Thanks,

Larry Long

No virus found in this outgoing message.

Checked by AVG Free Edition.

Version: 7.5.488 / Virus Database: 269.13.30/1030 - Release Date: 09/25/2007

8:02 AM

©2007 <lalong1@bellsouth.net>
Back to top
Cursor position

Author: Kent Belan

Posted: 2011-07-29 14:03:35   Link

Hello,

This is probably an easy one, but I can't find the answer.

MROW() and MCOL() return the position of the mouse pointer.

I need to know the position of the blinking cursor in a text box ?

Thanks,

Kent

_______________________________________________

Post Messages to: ProFox@leafe.com

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/DF20FCAA687D424EAF01DD69E6916F40@LaptopW7

** 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.

©2011 Kent Belan
Back to top
Re: Cursor position

Author: Fred Taylor

Posted: 2011-07-29 14:15:04   Link

TextBox.SelStart (0 based)

Fred

On Fri, Jul 29, 2011 at 11:03 AM, Kent Belan <kbelan@mchsi.com> wrote:

> Hello,

>

> This is probably an easy one, but I can't find the answer.

>

> MROW() and MCOL() return the position of the mouse pointer.

>

> I need to know the position of the blinking cursor in a text box ?

>

> Thanks,

> Kent

>

>

[excessive quoting removed by server]

_______________________________________________

Post Messages to: ProFox@leafe.com

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/CAJCBkspOX_XCAp2wWFN-R7mm_nN7CUhjE8i-G397t1uUA0ZzXA@mail.gmail.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.

©2011 Fred Taylor
Back to top
RE: Cursor position

Author: Tracy Pearson

Posted: 2011-07-29 14:16:48   Link

Kent Belan wrote on 2011-07-29:

> Hello,

>

> This is probably an easy one, but I can't find the answer.

>

> MROW() and MCOL() return the position of the mouse pointer.

>

> I need to know the position of the blinking cursor in a text box ?

>

> Thanks,

> Kent

>

Kent,

You mean where in the text it is? Textbox.selStart ?

I'm not sure you can get a screen position reference of the blinking cursor.

Tracy Pearson

PowerChurch Software

_______________________________________________

Post Messages to: ProFox@leafe.com

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/000c01cc4e1b$aedc04c0$0c940e40$@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.

©2011 Tracy Pearson