TabControl - Lose the handlig to item content |
Post Reply |
Author | |
demiurge
Newbie Joined: 25 March 2009 Status: Offline Points: 8 |
Post Options
Thanks(0)
Posted: 12 March 2014 at 10:13am |
Hi, I'm still a novice at working with the TabControl. I am using an Access 2013 database. On a form I have placed a TabControl. In Form_Load I create two TabItems. TabItem1 gets the handle to form 2 and TabItem2 gets the handle to form third. Both I have previously opened in the background. Now if I change between the two TabItems, I can select or activate only the controls on the form 3. The controls on form 2 I see, but can not select them. What am I doing wrong? Here is the source of Form_Load: Private Sub Form_Load() On Error Resume Next Dim xTab As XtremeSuiteControls.TabControl Set xTab = Me.tabMain.Object xTab.ShowCloseItemButton = xtpTabItemButtonSelected DoCmd.OpenForm "Form2", acNormal, , , , acNormal DoCmd.OpenForm "Form3", acNormal, , , , acNormal xTab.InsertItem xTab.ItemCount, "Form2", Forms("Form2").hWnd, 0 xTab.Item(xTab.ItemCount - 1).Closable = True xTab.InsertItem xTab.ItemCount, "Form3", Forms("Form3").hWnd, 0 xTab.Item(xTab.ItemCount - 1).Closable = True End Sub Thank you for your help Bjoern ---- Xtreme SuitePro ActiveX v16.3.0 (30 Day Trial) ==> If the issue is resolved, we will acquire the entire collection. |
|
Product: Xtreme Report Control ActiveX 2009 Vol 3 version 13.3.1
Platform: Windows XP (32bit) - SP 3 Language: MS Access 2003 |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |