I have 3 fields in my ui 2 buttons, one on top and other on buttom of a label field...when ever the label field gets focus i want the buttons to appear and i should be able to click on them...and when the label field loses focus the buttons should disappears..how can i do this...
相关问题
- How can I create this custom Bottom Navigation on
- JFX scale image up and down to parent
- onSupportNavigateUp() function not working?
- How do I layout forms in MaterialUI?
- Slide-out menu css only
相关文章
- Centering a WPF control
- Algorithm for maximizing coverage of rectangular a
- Is there a way to hide the new HTML5 spinbox contr
- Can keyboard of type UIKeyboardTypeNamePhonePad be
- PropertyGrid - Possible to have a file/directory s
- Programming a touch screen application with SWING
- Can WM_NEXTDLGCTL be used with non-dialog windows?
- How can I create a small IDLE-like Python Shell in
put some manager field as a placeholder at button position, then add a FocusChangeListener to label and use add/delete field on focusChanged to show/hide button.
UPDATE
Since every focus change from fields may change layout, think its better to add listener to every field added to screen and placeholder: