Tempat belajar ilmu programing dari nol, cocok untuk pemula.
Find File
Dapatkan link
Facebook
X
Pinterest
Email
Aplikasi Lainnya
Program ini sangat simple untuk dibuat uji coba, dapat mencari file (Find a file) sesuai dengan existennya. Alur program sangat simple mudah diikuti, cocok untuk yang baru mulai belajar programing.
One of the control or component in program Visual Basic 6.0 is vb6 msflexgrid . Function and their role is similar to mshflexgrid . Which displays the data in the form of rows and columns. Or if in the form of web programming output more use html tables. Control is a little different with mshflexgrid. The use of control is very simple and easy. To add in a form can be added as follows: Create a new project in Visual Basic 6.0 program, and then add a form. To add a component or control vb6 msflexgrid into a then double click the control that is in the collection box components. If no then you have not added control into the collection box components. For that you must add it by right-clicking on the area of the component box, then check that in a control called Micros...
OptionButton Control is a control that is often used when you want to restrict users on a particular option. User or a user limited to a single choice from several options alternatf. For example in this tutorial , if you want to display the options on the form biadata sexes, then the user is only entitled to choose one gender only. How to add it on the form is by double klcik Option Button control in the city component. Then control OptionButton will appear on the form. By default, the control has a property name and caption OptionButton1 OptionButton1. If you add a control OptionButton again by double click the control in the component box, then control it by default would have a property name and caption OptionButton2. In Visual Basic 6.0 to facilitate the management of controls on the application form should be, the property changed names. And capt...
Now we will practice how to use the control Mshflexgrid in a form. Open a new project in VB6, then add Mshflexgrid control and a CommandButton control. Let the names of the control by default. Type the following code in the CommandButton. Private Sub Command1_Click() Dim Nomor(5) Dim Names(5) Nomor(1) = "10001" Nomor(2) = "10002" Nomor(3) = "10003" Nomor(4) = "10004" Nomor(5) = "10005" Names(1) = "Abraham" Names(2) = "Pill Collin" Names(3) = "Collina" Names(4) = "Stoner" Names(5) = "Paul" With MSHFlexGrid1 .Rows = 6 .Cols = 3 .TextMatrix(1, 1) = Nomor(1) .TextMatrix(1, 2) = Names(1) .TextMatrix(2, 1) = Nomor(2) .TextMatrix(...