LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 02-23-2010, 03:04 PM   #1
matiasar
Member
 
Registered: Nov 2006
Location: Argentina
Distribution: Debian
Posts: 321
Blog Entries: 1

Rep: Reputation: 31
wxFormBuilder: how to activate wxTE_PROCESS_ENTER in a wxtextctrl widget?


I'm starting to build my firsts (simple) GUI application. I'm using wxFormBuilder to create wxWidgets forms and dialogs.

I've got two doubts:

1) I'd like to process the "enter" key when is pressed within a wxtextctrl widget. I found that is necessary to set "wxTE_PROCESS_ENTER" style. I did it by editing by hand the classes generated by wxFormBuilder. But anybody knows how to do it from within wxformBuilder?

2) Pressing some buttons my gui opens a dialog. I'd like to close it when ESC key is pressed. How could I implement that?

Thanks in advanced,
Matías
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Showing a widget above a widget in GTK aarontwc Programming 4 11-26-2008 11:40 AM
I can't activate (i'mean activate) my wireless card Mardrus Linux - Newbie 5 05-04-2008 06:35 AM
how to get widget jrafalek Programming 1 03-06-2006 08:33 PM
wxTextCtrl.LoadFile error jalal Programming 4 09-12-2005 08:53 PM
The name of this widget NightKids Linux - Newbie 2 06-06-2005 10:57 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 12:14 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration