notify textentry

Discuss GUI programming with the RapaGUI plugin here
Post Reply
ilbarbax
Posts: 77
Joined: Thu Apr 01, 2010 6:41 pm

notify textentry

Post by ilbarbax » Fri Feb 24, 2017 6:09 pm

I wonder how I can manage a notification for the textentry that is actually selected just before a button is clicked. Like the Active of the Listview.
Using get ActiveObject obviously it return the name of the button that has been just pressed.

Hope to have explained properly.

thanks

User avatar
airsoftsoftwair
Posts: 2537
Joined: Fri Feb 12, 2010 3:33 pm
Location: Germany
Contact:

Re: notify textentry

Post by airsoftsoftwair » Mon Feb 27, 2017 4:37 pm

I don't think that this is possible currently because clicking the button takes away focus from the text entry widget. Why do you need this information?

ilbarbax
Posts: 77
Joined: Thu Apr 01, 2010 6:41 pm

Re: notify textentry

Post by ilbarbax » Mon Feb 27, 2017 6:31 pm

Because I wanted to get the content of the textentry (between different others) with the focus to be manipulated and used by the action related to the button. In other word the solution would be to have more textentryes and for each one of them have a button to transfer the content. In the other way I would have just one button vs many. The other reason is that I do not like is the fact that many buttons on different lines would have the width set by Rapagui. In this case being a similar action for the different buttons I would like to have them with a minimal size driven by the icon.

Post Reply