Search found 8 matches

by annamalai
Mon Mar 25, 2013 10:04 am
Forum: C++ Development
Topic: How to remove a Range of Selection in wxGrid?...
Replies: 3
Views: 1038

Re: How to remove a Range of Selection in wxGrid?...

Hi, I need to disable selection for my wxGrid, whatever the condition may be. User shouldn't be allowed to click with mouse, Keyboard enter, or hover a selection by mouse movement over the Grid. And also, i need to set Custom background color for the Grid and so read-only doesn't helped me as its gr...
by annamalai
Tue Mar 19, 2013 5:01 pm
Forum: C++ Development
Topic: Fixed Row Size in wxGrid
Replies: 1
Views: 834

Fixed Row Size in wxGrid

Hi All, When i am using wxGrid in my work with in wxGridBagSizer, i need to resize wxGrid as per certain number of Row height, after filling the values. Say, if the MaxRowHeight is multiplied with a constant 4, then the wxGrid height should show with 4 Rows only. After that Vertical Scroll bar is ne...
by annamalai
Tue Mar 19, 2013 11:54 am
Forum: C++ Development
Topic: How to remove a Range of Selection in wxGrid?...
Replies: 3
Views: 1038

How to remove a Range of Selection in wxGrid?...

Hi, I am using wxGrid in my project. I am in need to avoid user selecting multiple rows. Also, if the mouse is dragged in a cell, a range selection will not have to perform. I searched, several wxGrid properties in wxGrid, and it won't helped me. If there is a need to handle events at this time, hav...
by annamalai
Sat Mar 16, 2013 12:02 pm
Forum: C++ Development
Topic: Line Spacing in WxTextCtrl
Replies: 1
Views: 946

Line Spacing in WxTextCtrl

Hi,
How can i add Line Spacing as like Word document in wxTextctrl..... If its not possible, how can i do it with the wxRichTextCtrl..... Can u please explain the methods in detail...
by annamalai
Thu Mar 14, 2013 7:42 am
Forum: C++ Development
Topic: Resize wxDialog at Runtime
Replies: 3
Views: 1567

Re: Resize wxDialog at Runtime

Hi, My code is as follows : VSizer = new wxBoxSizer( wxVERTICAL ); gridsizer = new wxGridBagSizer( 0, 0 ); gridsizer->SetFlexibleDirection( wxBOTH ); gridsizer->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED ); wxStaticText *sampletext = new wxStaticText( this, wxID_ANY, "", wxDefaultPosition, wx...
by annamalai
Thu Mar 14, 2013 6:59 am
Forum: C++ Development
Topic: Resize wxDialog at Runtime
Replies: 3
Views: 1567

Resize wxDialog at Runtime

Hi,
I need to resize the wxDialog at run time. When a static text, inside the wxDialog, value is enlarged to maximum size, the Dialog needs to grow accordingly. Already i have tested them with wxSizer (Vertical) and it doesn't handle this case. May i know, the exact way to do this....
by annamalai
Mon Feb 25, 2013 1:25 pm
Forum: C++ Development
Topic: Using Custom Control in XRC
Replies: 3
Views: 2492

Re: Using Custom Control in XRC

Hi Radek, Thanks for the Reply. Its more useful to us. And can u explain more about handling XRC Custom control events and defining it with XRC file..... If i define it with XRC like, <object class="custom" name="m_devBook" /> is it enough for handling events or any more needed with defining base cl...
by annamalai
Fri Feb 22, 2013 7:06 am
Forum: C++ Development
Topic: Using Custom Control in XRC
Replies: 3
Views: 2492

Using Custom Control in XRC

Hi, I am developing an XRC version of wxWidgets form design in wxFormBuilder. When i am using built in class like wxButton, wxStaticText in XRC and reading the elements in .cpp, it worked fine. I tried the same method for using custom control in XRC. But, i am not sure, whether its the proper way to...