i'm using visual basic 6.
i build a property page:
i recive an error in second if... i don't hunderstand what isn't right.Code:Private Sub PropertyPage_ApplyChanges() SelectedControls(0).Transparent = cboTransparent.ListIndex If cboTransparent.ListIndex = 2 Then SelectedControls(0).TransparentColor = PicTransparentColor.BackColor SelectedControls(0).GraphicMirror = cboMirror.ListIndex If chkStretch.Value = 0 Then SelectedControls(0).GraphicStrecht = False Else SelectedControls(0).GraphicStrecht = True End If End Sub
can anyone explain to me what isn't right?
the GraphicStrecht property acept boolean values...
thanks





Reply With Quote