Jun 18, 2004 #1 fheyn Programmer Mar 22, 2001 198 DE Hi, using SSTab, how do I add a control to a specific tab at runtime?
Jun 18, 2004 #2 vladk Programmer May 1, 2001 991 US fheyn, Let us assume you need to add a command button to the specific tab. In order to do it you may employ the following technique: 1. At design time, add invisible command1(0) command button as a first element of the array to that specific tab. 2. At run time, utilize this code: Load Command1(1) Command1(1).Visible = True This tehcnique relies on control arrays. There is another technique available that relies on control collection. Vladk Upvote 0 Downvote
fheyn, Let us assume you need to add a command button to the specific tab. In order to do it you may employ the following technique: 1. At design time, add invisible command1(0) command button as a first element of the array to that specific tab. 2. At run time, utilize this code: Load Command1(1) Command1(1).Visible = True This tehcnique relies on control arrays. There is another technique available that relies on control collection. Vladk