-
Hi, yet again :)
Im loading controls from a file, using this
Code:
FileName = InputBox("Give me the filename.", "Open")
Open FileName For Input As #2
Do Until EOF(2) = True
'Op is an option, in this case a commandbutton
Input #2, Op, Index, Caption, Top, Width, Height, Left
Load Boton(Index)
With Boton(Index)
.Caption = Caption
.Top = Top
.Width = Width
.Height = Height
.Left = Left
.Visible = True
End With
Ok, the controls are loading with the caption and everithing, but they dont load where they are suppose to be, can someone help?
Thanks!
-
em.... how about this...
Code:
With Boton(Index)
.Caption = Caption
.Move Left, Top, Width, Height
.Visible = True
End With