Handling toggle

hi. can we have 2 handling data? for example when user press f7 the handling will goes to second one. if so how to do it?