wxformbuilder

If you are using the main C++ distribution of wxWidgets, Feel free to ask any question related to wxWidgets development here. This means questions regarding to C++ and wxWidgets, not compile problems.
Post Reply
pedromigl010
In need of some credit
In need of some credit
Posts: 7
Joined: Sun May 07, 2017 3:53 pm

wxformbuilder

Post by pedromigl010 »

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.
User avatar
doublemax
Moderator
Moderator
Posts: 19160
Joined: Fri Apr 21, 2006 8:03 pm
Location: $FCE2

Re: wxformbuilder

Post by doublemax »

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?
Use the source, Luke!
ONEEYEMAN
Part Of The Furniture
Part Of The Furniture
Posts: 7479
Joined: Sat Apr 16, 2005 7:22 am
Location: USA, Ukraine

Re: wxformbuilder

Post by ONEEYEMAN »

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.
pedromigl010
In need of some credit
In need of some credit
Posts: 7
Joined: Sun May 07, 2017 3:53 pm

Re: wxformbuilder

Post by pedromigl010 »

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.
User avatar
saifcoder
Experienced Solver
Experienced Solver
Posts: 80
Joined: Thu Nov 16, 2017 9:32 pm

Re: wxformbuilder

Post by saifcoder »

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.
Post Reply