Had it like that just before I saved the position, so x was all the time wrong, so it could not work, when loaded from database, otherwise it was still in the memory.
frame6 = new MyFramebearb(this, sp_text[58], bearbx, bearby, 1530, 700); frame6->Show(true); in bearbx and bearby is the position of the window when it was last used. bearbx and bearby are global varibles loaded from a database. And they are loaded before the frame 6 is shown. So if I start the pro...
Figured the mistake out already. had a EVT_Listbox with wxID_ANy added before the one mentioned here. moved it, so it is now standing after that, now everything is working.
To reproduce I would have to know what really causes this.
I had first only the one not working inside, just to check if dblick will work, I added the second one, and then dclick worked and the other still did not work, what left me with more questions.
Double click on the listbox triggers the function.
But any change at the listbox does not trigger it. (like single click and selection of another listitem)
Any idea where the mistake can be?
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]->GetStringSelection(); }...
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=" "; while (myl...
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...
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...
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...
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?