Search found 184 matches

by Wolfgang
Mon Aug 26, 2019 7:00 pm
Forum: C++ Development
Topic: wxrichtextctrl search text
Replies: 1
Views: 358

Re: wxrichtextctrl search text

Not perfekt, but like this I could solve it. wxString smean; wxInt16 mlinb2 = 100; m_toolbe[count]->SelectWord(mlinb2); smean = m_toolbe[count]->GetStringSelection(); while (smean != "Meaning") { mlinb2=mlinb2 + 5; m_toolbe[count]->SelectWord(mlinb2); smean = m_toolbe[count]->GetStringSele...
by Wolfgang
Sun Aug 25, 2019 2:54 pm
Forum: C++ Development
Topic: wxrichtextctrl search text
Replies: 1
Views: 358

wxrichtextctrl search text

My problem is that if I search for the text with the following code, it finds it but the line found is not the first visible line, afterwards. Instead it would have to scroll much further (different as the text varies what is standing there). wxInt16 mlinb; mlinb = 0; wxString myline=" "; ...
by Wolfgang
Sun Aug 18, 2019 2:22 pm
Forum: C++ Development
Topic: scrolling and size problem
Replies: 2
Views: 458

Re: scrolling and size problem

Thank you! Thought it would be something simple, what I just did not figure out.
by Wolfgang
Sun Aug 18, 2019 5:44 am
Forum: C++ Development
Topic: scrolling and size problem
Replies: 2
Views: 458

scrolling and size problem

Hello scroll_screen.jpg 1. The lower scrolling does not work, it is clickable, but does not scroll the above rows. 2. The width of the window/frame is not possible to make smaller. 3. How to fill the lower sizer with the buttons with background colour The calling code for the frame: bearbvn = set.Ge...
by Wolfgang
Wed Aug 07, 2019 7:57 am
Forum: C++ Development
Topic: dataviewctrl
Replies: 3
Views: 585

Re: dataviewctrl

Is there a easy way to switch the col and row in showing (switch horizontal with vertical)? No, you'll have to adjust your model accordingly. Thanks, I feared that already, and had the same idea to rewrite the model, so that it will write the right things in the rows, and also add the needed column...
by Wolfgang
Wed Aug 07, 2019 6:12 am
Forum: C++ Development
Topic: dataviewctrl
Replies: 3
Views: 585

Re: dataviewctrl

What I forgot to ask, is it possible to show htmllistbox also inside a dataviectrl? As one of the sources should be shown as html text.
by Wolfgang
Wed Aug 07, 2019 5:02 am
Forum: C++ Development
Topic: dataviewctrl
Replies: 3
Views: 585

dataviewctrl

Hello Is there a easy way to switch the col and row in showing (switch horizontal with vertical)? Meaning I will have different numbers of colunms. And in every row there will be a different source, but each row will have the same number of columns. Usually you have it like this: datasource1 datasou...
by Wolfgang
Fri Aug 02, 2019 7:42 am
Forum: C++ Development
Topic: wxhtmlwindow alternative
Replies: 7
Views: 1404

Re: wxhtmlwindow alternative

thanks
by Wolfgang
Fri Aug 02, 2019 7:31 am
Forum: C++ Development
Topic: wxhtmlwindow alternative
Replies: 7
Views: 1404

Re: wxhtmlwindow alternative

yes, the last one should work.
by Wolfgang
Fri Aug 02, 2019 5:55 am
Forum: C++ Development
Topic: wxhtmlwindow alternative
Replies: 7
Views: 1404

Re: wxhtmlwindow alternative

As my selection is multicolor this alone would not help.
But as said, if I leave the standard selection colour, it stays in the right colours only if I change the selectionbackgroundcolour it changes the colour of the text.
Or would it mean, write one for all the colours?
by Wolfgang
Thu Aug 01, 2019 11:08 am
Forum: C++ Development
Topic: wxhtmlwindow alternative
Replies: 7
Views: 1404

Re: wxhtmlwindow alternative

Thank you wxhtmllistbox works fine, just a new problem arose. If I change the selectionbackground with SetSelectionBackground("LIGHT BLUE"); it also changes the colours of the foreground text. If it uses the standard colour for the selection background it does not change it, so what is goi...
by Wolfgang
Tue Jul 30, 2019 5:43 am
Forum: C++ Development
Topic: wxhtmlwindow alternative
Replies: 7
Views: 1404

wxhtmlwindow alternative

Hello I have the problem that for one of my windows, the result by a query could reach even 6000 lines, and building this with wxhtmlwindow takes ages. Each entry is consisting of a reference name in the beginning, and a text with different length and with line breaks and different colours. The clic...
by Wolfgang
Wed Jun 05, 2019 3:19 am
Forum: C++ Development
Topic: Jump with tab between wxstatictext
Replies: 2
Views: 474

Re: Jump with tab between wxstatictext

Yes, found this earlier,but had one big mistake which prevented me of managing the panel.
panel->Setsizerandfit must be of course after the sizer is filled.
I tried previously around and missed that part and therefore I did not manage it, now it is working.
by Wolfgang
Tue Jun 04, 2019 7:58 pm
Forum: C++ Development
Topic: Jump with tab between wxstatictext
Replies: 2
Views: 474

Jump with tab between wxstatictext

wxGridSizer *button_sizer4 = new wxGridSizer(4); //wxPanel *panel2 = new wxPanel(this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL); //button_sizer4->Add(panel2, 1, wxEXPAND | wxALL, 5 ); button_sizer4->Add(new wxStaticText(this, wxID_ANY, sp_text[48]), 0, wxALL, 10); button_sizer4-...
by Wolfgang
Mon May 20, 2019 6:39 pm
Forum: C++ Development
Topic: position of cursour by htmlcellhover
Replies: 2
Views: 426

Re: position of cursour by htmlcellhover

Thanks, working now.