Quantcast
Channel: VBForums - Visual Basic 6 and Earlier
Viewing all articles
Browse latest Browse all 21371

Combo Box Printing Issues , No Decimal Points, No comma, and Thousand Separator

$
0
0
Hi, I almost finish my program but I have these minor problems that I thought it could be fixed easily.
Turned out it's harder than I thought when I google them though.

1) Is there a way to make combo box disappear on the printing result ? (Only the text are shown)
same problem with text box as well, I could make the border style to None, but is there a way to make the Back Color into transparent ?

2) Also I have an issues with Decimal Points as well, there is this textbox that I used as a result of a formula and the formula is a bit complex.
so the result ends up with decimal points most of the time.
Is there a code that make the decimal points numbers disappear or rounded up or down ?

3) Still about the textbox for formula. One of my textbox is supposed to use decimal points with dot. (Ex : 3.120)
but in my country decimal points is written like this : (3,120) with a comma.
So when the textbox is filled with a comma, it gives a completely different result at the end.
My Employee tend to fill the number with a comma most of the time out of habit.
so I was wondering is there a way to make it so that comma can't be pressed on that very textbox ?

4) And lastly is there a way to give a number thousand separator on the textbox ?
It's a bit confusing when we had to deal with zeros that exceed more than 3 (which is most of the time.)

Thank you for the help beforehand.

Viewing all articles
Browse latest Browse all 21371

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>