I need two 'When button1 click' blocks

Ok, let me explain,
I have 2 buttons Button1 and Button2.

  1. when I click Button1, textbox1 and Button3(OK) will be made visible and after entering into textbox, when I click Button3(OK) text is shown in Label1.
  2. when I click Button2, textbox1 and Button3(OK) will be made visible and after entering into textbox, when I click Button3(OK) text is shown in Label2.
    so, I need two different action when I click Button3(OK) based on whether I clicked Button1 or Button2 in previous step.
    hope its not confusing.
1 Like