www.flickr.com

Uneditable Text in ComboBox VB.net

Tuesday, June 11, 2013 Posted by Glenn 0 comments


Article by: Glenn Posadas

If your program has a combo box and any user can edit or input something in such object, then your program may not look professional.

There are four types of combo boxes you may want to put in your form:

1. The Normal one - you can see the list inside the object but you can input anything. Not so cool, especially if you are developing a serious project.

2. Enabled/Disabled Combo Box - if you set the enable property to false, obviously you can't input anything, and you can't even click it.

3. DropDown Style Property Combo Box - if you set its dropdown style property to dropdown list, err, its color will be uneditable too and it can't have a text to display in running time. Also, I am currently developing a system for this coming june, it is for the registration in our organization, and I was having a real trouble in finding a solution in my combo box. I want it to look professional. I can't have this DropDown Style shit set to List, because its color is not good, and its obvious that its design doesn't fit to my form style.

4. The Normal but uneditable Combo Box - Finally! This is the best type of combo box that I can put in my program.The color is good and changeable and it is uneditable.

There are lots of ways to make your normal combo box uneditable. But I'm gonna show you the easiest one.

Okay here it is: Put e.Handled = True inside the KeyPress event of your Combo Box.

How to do this (noob haha),
1. Go to the Design Form.
2. Double click the Combo Box
3. Click at the middle field of the code (SelectedIndexChanged), and
4. Select the method name above (this has the thunder sign) and find KeyPress, finally put the code I've given above.


additional tags: uneditable text in combobox in visual c#, visual basic.net, vs 2005, read only combo box, how to disable edit in combo box, how to make combo box uneditable without dropdown list, no dropdown list, readonly

Sharing is so Easy:
StumpleUpon DiggIt! Del.icio.us Blinklist Yahoo Furl Technorati Simpy Spurl Reddit Google Twitter FaceBook

Labels: , ,

Do babies already have sin?

Monday, June 10, 2013 Posted by Glenn 0 comments

Have you heard from a certain religion that BABIES inherit sins? Anyways, its been one month since the last time I posted something on my site.

Disclaimer: I do not hate anything here :). I posted this because I have to, I have to let my readers know the truth, I was wondering... I was really wondering and I knew from the start that babies are innocent. Sin isn't inheritable. So before continuing reading my post, please be open minded, no hate, just blog, just facts.

Going on with the topic, I was with my girlfriend and with the family of her sister. My girlfriend's nephew was about to be baptized in a Catholic Church. There was this girl who was teaching the crowd, the parents whose their babies will be soon baptized. I was listening even while playing with my girlfriend's IpadMini. The girl who was preaching was asking random mothers and fathers, and I noticed some of them couldn't answer, meaning they are not even listening...

While doing my business (taking photos and reviewing photos), I suddenly heard that the girl said: "all babies should be baptized because THEY HAVE SINNED!". OMG. I without hesitation told my girlfriend with a bit a bit a bit a little bit loud voice: "Really? How could have the babies sin?", and of course my girlfriend told me to keep quite. Hehe.

I told myself that I will search the fact in the Bible... But two weeks have passed, I haven't searched for it yet. But here, tonight, I found the answers.

All credits goes to: http://www.topicalbiblestudies.com and the BIBLE.

This concept of hereditary sin is often referred to as “original sin,” or in Calvinism, “total hereditary depravity,” promoting that there is nothing inherently good about a child. There must be a reason that people believe this, right? Is there a biblicalreason? There is one, well known passage that advocates of original sin use to preach their doctrine. That passage is Psalm 51:5, which records king David saying, “Behold, I was brought forth in iniquity; And in sin my mother conceived me.” There is another, less popular passage sometimes used by those who teach original sin: “The wicked are estranged from the womb; These who speak lies go astray from birth. They have venom like the venom of a serpent; like a deaf cobra that stops up its ear, So that it does not hear the voice of charmers, or a skillful caster of spells. O God, shatter their teeth in their mouth; break out the fangs of the young lions, O Lord” (Ps. 58:3-6).

Do these passages really teach that you and I were born as sinful infants? Let us consider this question. First, we must learn whether these verses are to be taken literally or figuratively. Both of these verses were written in Hebrew poetry. In most forms of poetry, especially Hebrew poetry, authors often use figures of speech to emphasize their points. It is common to find similes and hyperboles in all types of poetry. We must not neglect this fact. We must approach God’s word, being ready to discern from literal and figurative language. Are these verses to be taken literally or figuratively? We will come back to this question toward the end of the study. Let’s analyze some other verses first.


INNOCENT OR GUILTY?



Are babies born innocent or guilty? Scripture says, “The person who sins will die. The son will not bear the punishment for the father's iniquity, nor will the father bear the punishment for the son's iniquity; the righteousness of the righteous will be upon himself, and the wickedness of the wicked will be upon himself” (Eze. 18:20). This verse plainly teaches that the righteous father will not be held guilty for his son’s sins. Likewise, a righteous son will not be guilty for his father’s sins. Instead, it is upon each individual person whether or not he or she lives a righteous or wicked life. “So then each one of us will give an account of himself to God” (Rom. 14:12).
We must understand that sin is spoken of in Scripture as something chosen, and not inherited. “Everyone who practices sin also practices lawlessness; and sin is lawlessness” (1 Jn. 3:4). We read in Scripture that there is a time in a person’s life when he or she “knows enough to refuse evil and choose good” (Isa. 7:15-16). Evil is something one chooses, not inherits.
Jesus promises, “Truly I say to you, unless you are converted and become like children, you will not enter the kingdom of heaven” (Mt. 18:3). Does Jesus want us to convert and become like lawless, sinful children, who are destined for hell? Jesus promises us that we cannot enter the kingdom of heaven if we do not become like children (see also 1 Cor. 14:20). Children obviously represent innocence. This verse makes no sense if children are born totally depraved. Sin separates us from God (Isa. 59:2). If children are sinful, they are separated from God. But they are innocent. That’s why we have to become like them (innocent, teachable, trusting) to enter the kingdom of heaven. Why else would Jesus tell us to become like children?
Similarly, Jesus told His disciples on one occasion, “Let the children alone, and do not hinder them from coming to Me; for the kingdom of heaven belongs to such as these” (Mt. 19:14). Again, think about what this verse would mean if children inherit sin. The kingdom of heaven would belong to those separated from God. Instead, since children are innocent, the kingdom of heaven belongs to the innocent- those who belong to God.

-So okay, enough said, the conclusion is: As the Bible rejects the teachings of original sin, I hope you do too. God creates humans. God gives them their souls. God does not give defective, despised blessings. Instead, the baby is born with an innocent soul, and as he or she matures, the decision must be made to do right or wrong (Isa. 7:15-16). 


To continue reading the article, click here


additional tags: Are babies born with sin?, No babies have sin, Babies are all innocent, Bible Verses, Real facts from Bibles.

Sharing is so Easy:
StumpleUpon DiggIt! Del.icio.us Blinklist Yahoo Furl Technorati Simpy Spurl Reddit Google Twitter FaceBook

Labels: