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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

TextBox for Numeric Entry 1

Status
Not open for further replies.

gcaramia

Programmer
Oct 30, 2003
185
IT
Hello
I'm very new in VB6 world.
I'm looking for a component (better if free) that can be used for:

- numeric data-entry (property: alignment, decimal places, thousand separator)

- DBdatacontrol (linked to DataSource-Numeric-Fields)

Tanks to all who shall help me.


 
Hi,

You can achieve the first part of your post with a textbox and the second with an actual Data control, if that is how you would like to do it.

Hope this helps

p.s - could I have my Tank now please??? [smile]

Harleyquinn

---------------------------------
For tsunami relief donations
 
Ok Harleyquin
Thanks
But in standard microsoft textbox i have not found properties for thousands, decimal places. So i do all by code. If it exist a componet/Activex/OCX/code/.... it's better for me very beginner.

Thanks again
 
I tried with it.
It's 'a little' better, but:

- I'm not able to limit to only numbers. It accepts also any caracters.

- I have not found alignment property, so numbers are written from left to right. I must code something in lostfocus event.

- If i set 2 decimals, it does't limit entry to 2 decimals (only on lost foscus)

I have seen a lot of programs in visual basic with carhacteristics i'm looking for. I think developers use something (selfWrited parhaps or buied or free)
 
I have seen a lot of programs in visual basic with carhacteristics i'm looking for

I would say (just talking from personal experience) that most of these are done using code behind a textbox (as you are doing it now).

Cheers

Harleyquinn

---------------------------------
For tsunami relief donations
 
Ok
I must write ....
thanks for your IMMEDIATLY assistence.
I tried to assign you a star but .. doesn't work?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top