Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

text box data

Status
Not open for further replies.

twigs1981

IS-IT--Management
May 29, 2002
52
US
I have 3 choices here I need to

1) make it so when the user goes through the boxes it does not delete the last character in the box because for some reason after data is enetered it does this.

or

2)if I use the select on enter method on them I need to be able to take the highlighting away if they don't enter any new data because currently it stays highlighted

or

3)make it so the cursor is at the first character on the left rather than the right--don't know if this will really help but heck I'd give it a shot.

thanks for the help,
josh
 
1) make it so when the user goes through the boxes it does not delete the last character in the box because for some reason after data is enetered it does this.


Sound like you may want to adjust your inputmask or take it out completly.


3)make it so the cursor is at the first character on the left rather than the right--don't know if this will really help but hell I'd give it a shot.


Check the alignment property.

 
neither seemed to help

my input mask APPEARS correct then again I don't know what could be wrong, I am just restricting the valid values for that box.

when I changed the alignment it still went to the left of the right most character.

I could be wrong. I have been before.
 
check the maxlength of the textbox zero means no limit

check selectryonentry property, if true the cell is selected when user enters. Attitude is Everything
 
Thanks! that works for all but the ones who's input mask are solely numeric. any ideas there?(I'm going back to dbl and trpl check to make sure that is the only diff just in case)

 
well I got the numeric working however... when I work with input mask containing N it still wants to place the cursor on the left of the right character. any ideas how to move the cursor to the left of the left most character? or if I use highlight on entry how to take off the highlighting if they don't change the value?
 
check the property SelStart this should be zero to put the insertion at the far left. Attitude is Everything
 
for some reason I cann't change that property it any idea as to y?
 
twigs1981

Danceman's suggestion (Selstart) can only be changed at runtime.
 
heh...well that would explain it...thanks much! as you can hopfuly tell I don't work in foxpro(this is actually my first project using it)

off to implement! thanks again!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top