Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Lenguajes de programación
1. Lenguajes de programación
Label:
' Visual Basic 6.0
Private Sub MakeTransparent()
Label1.BackStyle = vbTransparent
End Sub
Command button:
' Visual Basic 6.0
' Set the first button to respond to the Enter key.
Command1.Default = True
' Set the second button to respond to the Esc key.
Command2.Cancel = True
TextBox:
' Visual Basic 6.0
Private Sub Form_Load ()
Text1.Text = "Two of the peak human experiences"
Text1.Text = Text1.Text & " are good food and classical music."
End Sub
Private Sub Form_Click ()
Dim Search, Where
' Get search string from user.
Search = InputBox("Enter text to be found:")
' Find string in text.
Where = InStr(Text1.Text, Search)
If Where Then
Text1.SetFocus
Text1.SelStart = Where - 1
Text1.SelLength = Len(Search)
Else
MsgBox "String not found."
End If
End Sub
optionButton:
' Visual Basic 6.0
If Option1.Value = True Then
2. Option2.Value = True
Else
Option1.Value = True
End If
pictureBox:
' Visual Basic 6.0
Picture1.Picture = LoadPicture(App.Path & "somepicture.jpg")
Frame:
Option Explicit
Private Sub Command1_Click()
' -- Cambiar el caption
Frame1.Caption = "Texto del Frame"
End Sub