|
-
Oct 9th, 2000, 07:42 AM
#1
Hi all
Is it possible to display a textbox and a combo box using code If yes then How
-
Oct 9th, 2000, 08:14 AM
#2
Lively Member
This is how you create labels...
Start a new project, add a button to your form, add a label, name thi label to "L", copy it and paste it, answer yes to create a control array, then delete the new copy.
Then simply paste this code:
Dim t As Integer
Dim le As Integer
Private Sub Command1_Click()
Dim M As Integer
Dim M2 As Integer
t = t + 300
If t > Me.Height - 700 Then
t = 120
le = le + 960
End If
M = L.Count
M2 = M + 1
Load L(M2)
L(M2).Top = t
L(M2).Left = le
L(M2).Caption = "TEST " & M2
L(M2).Visible = True
End Sub
Private Sub Form_Load()
t = 120
le = 120
End Sub
-
Oct 9th, 2000, 09:38 AM
#3
thanks
Hi
and thanks is it possible to satisfy a contion then display a dbcombo box and a text box attached to a database.
for eg.if there are two text boxes where there are certain amount has to be entered if textbox1 = textbox2 then ok otherwise the set of textbox,dbcombo and a text box has to be displayed to accept data
-
Oct 11th, 2000, 05:24 AM
#4
M=L.Count gives error
M=L.count gives an error 424 which says it requires a object
-
Oct 11th, 2000, 09:11 AM
#5
Frenzied Member
You have an array of Labels?
Jop - validweb.nl
Alcohol doesn't solve any problems, but then again, neither does milk.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|