Hello, Greetings, I'm new to the forum.
My english is not very good, I hope you can help me
I'm developing an application in c ++ with the wxformbuilder gui, but I'm having problems with a grid.
Since I enter data to it and when I press the tab or enter key to move to another cell, the previously entered data is modified and when I start to write in the new cell, the previous value is replaced, it's crazy and I do not understand why This happens.
thanks for your help.
wxformbuilder
Re: wxformbuilder
Which OS and wxWidgets version are you using?
Can you build the "grid" sample that comes with wxWidgets and do you see the same problem there?
Can you build the "grid" sample that comes with wxWidgets and do you see the same problem there?
Use the source, Luke!
Re: wxformbuilder
Hi,
In addition to what doublemax said:
It would be nice to see some code - whether you handle any events in the grid or not.
Thank you.
In addition to what doublemax said:
It would be nice to see some code - whether you handle any events in the grid or not.
Thank you.
-
- In need of some credit
- Posts: 7
- Joined: Sun May 07, 2017 3:53 pm
Re: wxformbuilder
Hello everyone.
I managed to solve my problem for a while. The problem I had with the grid, was that I had created two functions, one that I took the events from the keyboard and another I took the events of the mouse and this was creating conflicts when I passed from one cell to another throwing random values. My advice to another person who is going through something similar, would be to take care when generating functions that work with these different types of events.
Greetings, thanks for your answers.
I managed to solve my problem for a while. The problem I had with the grid, was that I had created two functions, one that I took the events from the keyboard and another I took the events of the mouse and this was creating conflicts when I passed from one cell to another throwing random values. My advice to another person who is going through something similar, would be to take care when generating functions that work with these different types of events.
Greetings, thanks for your answers.
Re: wxformbuilder
So, Solved
Debian 9 - GCC 6 - wxWidgets 3.x U
Win 10 - GCC 8 - wxWidgets 3.x U
Mac OS X 10.x - Clang - wxWidgets 3.x U
i am in love with WX. Yes.
Win 10 - GCC 8 - wxWidgets 3.x U
Mac OS X 10.x - Clang - wxWidgets 3.x U
i am in love with WX. Yes.