Search found 26 matches

by stefania
Fri Jan 30, 2015 10:12 am
Forum: C++ Development
Topic: wxTextCtrl and wxTE_RICH
Replies: 3
Views: 1600

Re: wxTextCtrl and wxTE_RICH

Thanks.

Stefania
by stefania
Fri Jan 30, 2015 8:14 am
Forum: C++ Development
Topic: wxTextCtrl and wxTE_RICH
Replies: 3
Views: 1600

wxTextCtrl and wxTE_RICH

Hi! I need to set wxTE_RICH flag after the wxTextCtrl has created, but does not work fine. wxTextAttr *l_attr = new wxTextAttr; l_attr->SetFlags( wxTE_RICH); l_attr->SetAlignment( wxTEXT_ALIGNMENT_RIGHT); c_ptrtext->SetDefaultStyle( *l_attr); Is there a way to set this flak dinamiccaly? Thanks Stefa...
by stefania
Tue Dec 16, 2014 2:36 pm
Forum: C++ Development
Topic: Sum some days to wxDateTime Object
Replies: 3
Views: 2323

Re: Sum some days to wxDateTime Object

Thanks very much!!!!

Stefania
by stefania
Tue Dec 16, 2014 12:51 pm
Forum: C++ Development
Topic: Sum some days to wxDateTime Object
Replies: 3
Views: 2323

Sum some days to wxDateTime Object

Hi!

I need to sum some days to a wxDateTime object and print new date

How can I do it?

Thanks
by stefania
Fri Aug 08, 2014 9:39 am
Forum: Open Discussion
Topic: regester an accont on trac.wxwidgets.org
Replies: 2
Views: 3442

regester an accont on trac.wxwidgets.org

I have this error when I try to create an account on trac.wxwidgets.org

[color=#FF0000]Submission rejected as potential spam
BotScout says this is spam (Y|MULTI|IP|1|MAIL|1|NAME|7)[/color]

Thanks.
Stefania
by stefania
Tue Aug 27, 2013 8:58 am
Forum: C++ Development
Topic: wxEvtHandler personalized
Replies: 7
Views: 2393

Re: wxEvtHandler personalized

I call PopEvtHandler before EndModal(wxID_CANCEL) and I am sure do it for each textCtrl. With wxWindget 2.8.10 this message does not compare. I use Pop/Push Event for TextCtrl that I use for time input, I need to format input with hh:mm The timePickerCtrl does not work fine in my project because I n...
by stefania
Tue Aug 27, 2013 7:55 am
Forum: C++ Development
Topic: wxEvtHandler personalized
Replies: 7
Views: 2393

Re: wxEvtHandler personalized

Hi! This is my class fro wxEvtHandler: class MyEvtHandlerOnTime : public wxEvtHandler { public: MyEvtHandlerOnTime( wxTextCtrl *text, wxString *val) { c_text = text; c_val = val;} void OnKeyDown (wxKeyEvent& event) { ..... return; } private: wxTextCtrl *c_text; wxString *c_val; DECLARE_EVENT_TAB...
by stefania
Mon Aug 26, 2013 8:06 am
Forum: C++ Development
Topic: wxEvtHandler personalized
Replies: 7
Views: 2393

wxEvtHandler personalized

Hi! In my project I need to use an Event Handlar personalized for some TextCtrl, and I use this code: MyEvtHandlerOnTime *evt = new MyEvtHandlerOnTime( l_new->u.c_ptrtext, &l_new->c_wxvalue); l_new->u.c_ptrtext->PushEventHandler( evt); When I close the dialog, How can I pop all Event Handler in ...
by stefania
Wed Aug 07, 2013 12:38 pm
Forum: C++ Development
Topic: wxTimePickerCtrl and value not valorized
Replies: 2
Views: 1089

Re: wxTimePickerCtrl and value not valorized

OK!

If I use a wxTextCtrl for time value, How can I define a personalized wxValidator for it?

Thanks
Stefania
by stefania
Wed Aug 07, 2013 8:34 am
Forum: C++ Development
Topic: wxTimePickerCtrl and value not valorized
Replies: 2
Views: 1089

wxTimePickerCtrl and value not valorized

HI!
I need to have a wxTimePickerCtrl with value not valorized, is there a way to do it?

In wxDatePickerCtrl there is wxDP_ALLOWNONE style, but in wxTimePickerCtrl there is not

Thanks
Stefania
by stefania
Mon Jul 15, 2013 9:20 am
Forum: C++ Development
Topic: wxTimePickerCtrl
Replies: 4
Views: 1494

Re: wxTimePickerCtrl

OK! Now it works!

Thanks very much!
by stefania
Mon Jul 15, 2013 9:00 am
Forum: C++ Development
Topic: wxTimePickerCtrl
Replies: 4
Views: 1494

Re: wxTimePickerCtrl

Compile error: wxTimePickerCtrl non defined!
by stefania
Mon Jul 15, 2013 7:08 am
Forum: C++ Development
Topic: wxTimePickerCtrl
Replies: 4
Views: 1494

wxTimePickerCtrl

Hi!
I need to insert in my project a time ctrl but if I insert wxTimePickerCtrl I have an error!

How can I do?

Thanks
Stefania
by stefania
Thu Jul 11, 2013 9:17 am
Forum: C++ Development
Topic: wxDatePicker
Replies: 5
Views: 1663

Re: wxDatePicker

Thanks! Now works fine!!!
by stefania
Thu Jul 11, 2013 8:52 am
Forum: C++ Development
Topic: wxDatePicker
Replies: 5
Views: 1663

Re: wxDatePicker

Hi! Another question!

I need to set this value to 0; how can i set checkbox in wxDatePicker to 0?

Thanks