i have set a keypad with help of all of your ideas. but my practice still hold on due to 1 thing. i want to enter value from keypad to 3 different text displays (t1, t2 abd t5). i have search many more time nothing find. i have 3 text displays (t1, t2 abd t5) i want to enter value. user will select 1 of them by touch then use keypad and enter value. how it can works please help me. i have attach picture also
Just duplicate your key commands for each Text Component
For example the Touch Press event for b0 would be...
b4 would be...
b10 would be...
However, if you only want the numbers to appear in 1 of the 3 (user selects before input)
then the logic is more complex.
t1, t2 and t5 would need to have a touch event variable attached (boolean flag 0 or 1) and some more logic to deselect the other two.
Then the button logic would need to act accordingly
So if variable va0 was attached to t1
va1 was attached to t2
va2 was attached to t5
b0 would be something like...
thank you indev2 sir
thank you very much for you help here i am sending you 1 more picture please see this i think this picture will clear every thing. i upload these photos in Nextion DEBUG mode.
in last Picture 'Copy To" this is SOURCE FILE NO page.