Hi Tom,
lately I've been battling similar issues. One important thing I learned
here is that if my custom control wraps a TextField in its skin I have
to make sure that the custom control is not focus-traversable.
It also seems difficult to have focus on the custom control in terms of
JFXtras has a number of extended textfields (BigDecimal, Calendar, LocalDate,
...). These controls use a TextField in their skin to compose this control.
These extended textfield controls have a readonly focusProperty()... What would
be the best way to forward the focusProperty of the
Hi Tom,
can you provide a code example? I am not sure I understand all the details
correctly. :) In particular it is important to know which of the properties are
defined in your code and which properties you are just using. For example it is
possible to bind a readonly property, but only if
It actually is fairly simple. This is what ideally should happen:
CalendarTextField extends Control
- Node has: ReadOnlyBooleanProperty focusProperty();
CalendarTextFieldSkin extends Skin
- private TextField textField = new TextField();
-