hey am building an application in the ruby programming language
and i got a toolStripStatus and a richtextbox. what i want to do is every word that is typed into the richtextbox i want it to add up on the toolStripStatuslabel1.
toolStripStatuslabel1 is called Words
here is the code i used
def MainFormLoad(sender, e)
# displays the amount of words being typed
count += 1
toolStripStatusLabel1.Text = "Words:" & Document.Text.Count