← Back to team overview

kicad-developers team mailing list archive

Re: More wxformbuilder

 

Hello JP!

Might I suggest that the increment value for the rotation of the component is increased a bit, I have yet to find a component that has needed to be rotated to something else than +-90 or 180 degrees.

I might suggest increments of 15degree, rotating 180 degrees is a bit much with 1 degree increment.

The scaling factor is also a bit small, I think that 0.1 might be better then 0.02.

- Kristoffer

On 2017-02-08 14:05, jp charras wrote:
Le 07/02/2017 à 22:06, Cirilo Bernardo a écrit :
Could you please elaborate on the specific problem with handling events?
I prefer to learn what the problem was rather than to use another tool
because it gives the desired results and without understanding why.

- Cirilo

This is related to mouse events

Using events table to manage events is easy, but does not always work with wxMouseEvent.

Here is the kind of error generated by wxFormBuilder when using a wxMouseEvent for a widget inside
the main panel:

#error wxMouseEvent does not propogate, so wxEVT_MOUSEWHEEL from yscale can only be handled with
Connect()

Using Connect() (and Disconnect()) avoids this issue.

This is the reason mouse events were not handled in panel 3d



Follow ups

References