Search found 27 matches
- Sun Oct 16, 2011 1:53 pm
- Forum: C++ Development
- Topic: wxRichTextCtrl issue in 2.9.2 (not there in 2.8.12)
- Replies: 3
- Views: 853
Re: wxRichTextCtrl issue in 2.9.2 (not there in 2.8.12)
Glad to hear that someone else is experiencing the same issue (one always wonders if it's just your own setup or a general issue). I have cross-referenced your earlier ticket in mine (didn't delete mine since it was based on sample code that came with wxWidgets and that is sometimes helpful). Have y...
- Sun Oct 16, 2011 12:12 am
- Forum: C++ Development
- Topic: wxRichTextCtrl issue in 2.9.2 (not there in 2.8.12)
- Replies: 3
- Views: 853
wxRichTextCtrl issue in 2.9.2 (not there in 2.8.12)
wxRichTextCtrl works wonderfully for me in wx2.8.12 but I 'm seeing line-wrapping issues in 2.9.2 - even the sample code for wxRichTextCtrl shows up the problem. Wondering if anyone else is seeing the same issue.
Outputs from both versions (wxRichTextCtrl sample code) are shown in the attachments
Outputs from both versions (wxRichTextCtrl sample code) are shown in the attachments
- Sat Oct 15, 2011 11:59 pm
- Forum: C++ Development
- Topic: wxStaticText like widget with styling suppot on wxW 2.8.9
- Replies: 4
- Views: 936
Re: wxStaticText like widget with styling suppot on wxW 2.8.
hmm. doesn't look like wxStaticText can do what you wantto do.
Perhaps you might want to try wxRichTextCtrl. It also has single/multi-line line wxTextCtrl.
Perhaps you might want to try wxRichTextCtrl. It also has single/multi-line line wxTextCtrl.
- Fri Oct 14, 2011 1:17 am
- Forum: C++ Development
- Topic: wxStaticText like widget with styling suppot on wxW 2.8.9
- Replies: 4
- Views: 936
Re: wxStaticText like widget with styling suppot on wxW 2.8.
Can you explain in more detaill what you mean here by 'auto-resize' ?
- Wed Oct 12, 2011 6:04 pm
- Forum: C++ Development
- Topic: wxGrid Cell Margins
- Replies: 2
- Views: 975
Re: wxGrid Cell Margins
OK, here is how I solved the issue. I'm sharing the code so that others can benefit. No warranties, expressed or implied; use at your own risk. 1. Create a custom renderer that will render into a smaller rectangle within the grid cell's window. Here I made one that will take a left and right margin ...
- Wed Oct 12, 2011 1:58 pm
- Forum: C++ Development
- Topic: wxGrid does not display scrollbars
- Replies: 3
- Views: 1477
Re: wxGrid does not display scrollbars
may be somehow the 'visible' portion of the grid is getting covered by something else? sounds like the scrollbars may be there but you are actually not able to see all of it- i.e. the bottom portion may be getting cut off from visibility somehow.
- Wed Oct 12, 2011 1:52 pm
- Forum: C++ Development
- Topic: Grid Selection Issue
- Replies: 3
- Views: 811
Re: Grid Selection Issue
Just an addendum: you 'can' hide the cursor as follows (this does not remove the cursor, just hides it visually) mygrid.SetCellHighlightPenWidth(0); But one question to ask is: how did the user 'select' the last row to begin with? If this was done by clicking on a cell in the last row, the cursor sh...
- Wed Oct 12, 2011 1:48 pm
- Forum: C++ Development
- Topic: Read-Only CellEditControl
- Replies: 3
- Views: 1130
Re: Read-Only CellEditControl
OK, I found a more elegant solution to this and am posting in case it helps others. 1. Create a derived class of "wxGridCellTextEditor' class - this class works just like "wxGridCellTextEditor' - it wil let user cut/paste but will not let user modify the text in the cell. (Disclaimer: Use code at yo...
- Sat Oct 08, 2011 7:09 pm
- Forum: The Code Dump
- Topic: Hanging Indent in wxRichTextCtrl
- Replies: 0
- Views: 4139
Hanging Indent in wxRichTextCtrl
Spent a little time finding this (and search in forum did not yield anything for me ) so I thought I'll post this in case it will be helpful to others. To create a paragraph with a hanging indent (i.e. the second and subsequent lines of the para are offset from the first line) in wxRichTextCtrl, sim...
- Sat Oct 08, 2011 6:48 pm
- Forum: The Code Dump
- Topic: creating a style sheet for wxRichTextCtrl - sample code
- Replies: 0
- Views: 4648
creating a style sheet for wxRichTextCtrl - sample code
Here is a code snippet I wrote for creating a style sheet for a wxRichTextCtrl, and thought I'll share it in case it will be of use to others. You can probably modify it for other types of text control. Public domain. Use at your own risk. Note that I chose to create objects as static instead of cal...
- Sat Oct 08, 2011 6:19 pm
- Forum: C++ Development
- Topic: wxGrid does not display scrollbars
- Replies: 3
- Views: 1477
Re: wxGrid does not display scrollbars
Have you tried ShowScrollbars() ? wxGrid is derived from a wxScrolledWindow for which this is a method.
void ShowScrollbars (wxScrollbarVisibility horz, wxScrollbarVisibility vert)
(please mark as solved if this works for you)
void ShowScrollbars (wxScrollbarVisibility horz, wxScrollbarVisibility vert)
(please mark as solved if this works for you)
- Fri Oct 07, 2011 4:18 pm
- Forum: C++ Development
- Topic: wxTextCtrl auto-vscrollbar and hide insertion point
- Replies: 2
- Views: 878
Re: wxTextCtrl auto-vscrollbar and hide insertion point
Thanks, doublemax.. Your suggestion was helpful and led me to wxRichTextCtrl which, at this point, looks like it will meet all my needs. wxRichTextCtrl is a really nice control!!!
Additional Note: wxRichTextCtrl is working incredibly well. My thanks to Julian Smart.
Additional Note: wxRichTextCtrl is working incredibly well. My thanks to Julian Smart.
- Fri Oct 07, 2011 3:14 am
- Forum: C++ Development
- Topic: wxTextCtrl auto-vscrollbar and hide insertion point
- Replies: 2
- Views: 878
wxTextCtrl auto-vscrollbar and hide insertion point
I am trying to display some information in a text box - the info might be two lines to a couple of screenfuls and I would like the user to be able to vertically scroll and read it (no editing). I am using a wxTextCtrl in READ-ONLY mode to do this but running into a couple of issues: 1) don't see a w...
- Fri Oct 07, 2011 3:05 am
- Forum: C++ Development
- Topic: Is it possible to display an image in a wxGrid Cell?
- Replies: 4
- Views: 922
Re: Is it possible to display an image in a wxGrid Cell?
thanks, Auria - will check it out.. do appreciate the pointer.
- Fri Oct 07, 2011 3:03 am
- Forum: C++ Development
- Topic: sizing frame
- Replies: 3
- Views: 1016
Re: sizing frame
I like to usually let the users size the frame to whatever they desire, and manage the contents to the best of my ability. Users have to juggle multiple apps on their desktop...