Home > database >  Click the events TAB label
Click the events TAB label

Time:09-25

I want to give each TAB in a TAB control click event, due to the click event label does not have a default, I create a click event, but doesn't work, could you tell me how to achieve?

CodePudding user response:

Suggested that the building Lord to give up the idea, if you really want to achieve may add a big statictext on TAB controls do such things as the background, and then you can write the figure controls the click event,

CodePudding user response:

Can ah, pbm_lbuttonclk and pbm_lbuttondown can response

CodePudding user response:

The SelectionChanged event, using the parameter oldindex, newindex

CodePudding user response:

I was upstairs method

CodePudding user response:

refer to the original poster niuniu8628 response:
I want to give each TAB in a TAB control click event, due to the click event label does not have a default, I create a click event, but doesn't work, could you tell me how to implement?

You said the TAB label refers to the TAB or tabpage, if it is a TAB, the default system itself is provides the clicked event; If it is tabpage pbm_lbuttonclk and pbm_lbuttondown can response to the mouse click event

CodePudding user response:

O o method

CodePudding user response:

Pass by, learning!
  • Related