Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 162
  • Last Modified:

Loading Controls Dynamically in SSTab

I have on SSTab Control.

When i call Below function from the One Button Click Event , It Will Works Finely. Ie CheckBoxes added Dynamically in appropiate tabs.

If I call the Same Function From ComboBox Click Event Checkboxes loaded Dynamically in Tab1 Only. In Tab2 also they Loaded in invisible Manner. I can't able to View those. So any One Help Me regarding this. I already play around with properties like visible


Dim lTab As Long

lTab = SSTab1.Tab

SSTab1.Tab = 0
Load Check1(1)
Check1(1).Visible = True
Check1(1).Top = Check1(0).Top + 300


SSTab1.Tab = 1
Load Check2(1)
Check2(1).Visible = True
Check2(1).Top = Check2(0).Top + 300

SSTab1.Tab = lTab


Nambi
0
sazhagianambi
Asked:
sazhagianambi
1 Solution
 
redfordbCommented:
Configure the container for each checkbox ie

Check1(1).Container = SSTab1.Tab(0)

Check2(1).Container = SSTab1.Tab(1)

0
 
sazhagianambiAuthor Commented:
Thanks for helping. i findout the solution..

Nambi
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now