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 -- Suka linux? Kunjungi blog saya http://penguinroad.blogspot.com _______________________________________________ wxruby-users mailing list wxruby-users@rubyforge.org http://rubyforge.org/mailman/listinfo/wxruby-users