PDA

View Full Version : Pushbutton that generates another pushbutton...



baybar
17th January 2017, 18:29
Hi All,

I want to generate a GUI that shows serial terminal log and create pushbutton and assigns some functionality on them.

I want to generate a pushbutton that generates another pushbutton and I want to be able to assign a command to that push button. Command would be a string.
Eventually it will call the same function based on the command.

Does anyone have an idea? So it will be dynamic in a sense.

Thanks,
Berkay

anda_skoa
18th January 2017, 09:10
It isn't clear from your posting which part you need help with.

Connecting to a button?
Programmatically creating a button?
Input of the command?
Associating the command with a button?

Cheers,
_

drbob785
20th January 2017, 02:14
Yes, I think so question is complete? please share which part do you wan to dynamic.