dbTalk Databases Forums  

VFP6: format "999999" accepting only five digits

comp.databases.xbase.fox comp.databases.xbase.fox


Discuss VFP6: format "999999" accepting only five digits in the comp.databases.xbase.fox forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Gene Wirchenko
 
Posts: n/a

Default VFP6: format "999999" accepting only five digits - 07-19-2005 , 02:55 PM






I just noticed this. I do not know how long it has been the
case, but suspect I changed something that has had this effect.

My textboxes will only accept five digits with a .format of
"999999". The cursor starts at what I consider the second character,
and I can enter only five digits. Oddly, compared with a
character-type control, the first character is narrower than the
others despite that I use a fixed-width font. Both types of controls
are instantiated in the same code.

I have tried deleting my foxuser.* files.

Any ideas?

Sincerely,

Gene Wirchenko


Reply With Quote
  #2  
Old   
Dan Freeman
 
Posts: n/a

Default Re: format "999999" accepting only five digits - 07-19-2005 , 03:25 PM






I see that if I have MaxLength set to 5 and Alignment set to Right.

Dan

Gene Wirchenko wrote:
Quote:
I just noticed this. I do not know how long it has been the
case, but suspect I changed something that has had this effect.

My textboxes will only accept five digits with a .format of
"999999". The cursor starts at what I consider the second character,
and I can enter only five digits. Oddly, compared with a
character-type control, the first character is narrower than the
others despite that I use a fixed-width font. Both types of controls
are instantiated in the same code.

I have tried deleting my foxuser.* files.

Any ideas?

Sincerely,

Gene Wirchenko



Reply With Quote
  #3  
Old   
Gene Wirchenko
 
Posts: n/a

Default Re: VFP6: format "999999" accepting only five digits - 07-19-2005 , 03:56 PM



On Tue, 19 Jul 2005 12:55:17 -0700, Gene Wirchenko
<genew (AT) ucantrade (DOT) com.NOTHERE> wrote:

Quote:
I just noticed this. I do not know how long it has been the
case, but suspect I changed something that has had this effect.

My textboxes will only accept five digits with a .format of
"999999". The cursor starts at what I consider the second character,
and I can enter only five digits. Oddly, compared with a
character-type control, the first character is narrower than the
others despite that I use a fixed-width font. Both types of controls
are instantiated in the same code.

I have tried deleting my foxuser.* files.

Any ideas?
<sound file="handhittingforehead.wav" text="Arrgh!">

I found that some of my controls were working right. It turns
out, with at least two of the malfunctioning controls, I assigned the
value for .inputmask to .format. Correcting the misassignment solved
the problem in one of these. I expect it will for the rest, too.

I do wish that VFP had thrown an error instead of letting it go.

Sincerely,

Gene Wirchenko



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.