Weird style error

Dear all

@text_108 = TextCtrl.new(@panel_106, -1, “”, DEFAULT_POSITION,
DEFAULT_SIZE,
TE_PROCESS_ENTER|TE_RIGHT, DEFAULT_VALIDATOR)

Why is that line up there give me error
uninitialized constant Main::TE_RIGHT (NameError)

same case happen with TE_CENTRE
but runs ok with TE_LEFT

I use Ubuntu 9.10 with ruby 1.8.7 with gem from previous thread on this
mailist

Regards
Hendra

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs