Home > database >  PB how to dynamically create and delete TAB in the TAB control?
PB how to dynamically create and delete TAB in the TAB control?

Time:09-27

PB how to dynamically create and delete TAB in the TAB control?

By the way thank you who have PB XP Tab controls

CodePudding user response:

Online source!!!!!!!!!!!!!!! 11

CodePudding user response:

Create a custom visual, uo_test
Tab_1. OpenTab (uo_test, 0)//0 indicates the new TAB to the last

Tab_1. Closetab (uo_test)//remove the TAB

Tab_1. CloseTab (tab_1. Control [1])//remove the first TAB

CodePudding user response:

Tab_1. Control [1]. Hide ()
Tab_1. Of_selectnexttab (1)

CodePudding user response:

The window w
Userobject o
W=of_findwindow ()
William ouchi penuserobject (o, "the name of the class")
Setparent (handle (o), handle (TAB))
O.m ove (0, 0)
.


The window w
W=of_findwindow ()
Setparent (handle (TAB. Control [1]), handle (w))
William ouchi penuserobject (TAB. Control [1])
.

CodePudding user response:

I'm the top I top

CodePudding user response:

Bumps!!!!!!!!!!!!!!!!!!!!!!!
  • Related