Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
19
Task/Colour-bars-Display/Gambas/colour-bars-display.gambas
Normal file
19
Task/Colour-bars-Display/Gambas/colour-bars-display.gambas
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
Public Sub Form_Open()
|
||||
Dim iColour As Integer[] = [Color.Black, Color.red, Color.Green, Color.Magenta, Color.Cyan, Color.Yellow, Color.white]
|
||||
Dim hPanel As Panel
|
||||
Dim siCount As Short
|
||||
|
||||
With Me
|
||||
.Arrangement = Arrange.Horizontal
|
||||
.Height = 300
|
||||
.Width = 400
|
||||
End With
|
||||
|
||||
For siCount = 0 To 6
|
||||
hpanel = New Panel(Me)
|
||||
hpanel.Expand = True
|
||||
hpanel.H = 500
|
||||
HPanel.Background = iColour[siCount]
|
||||
Next
|
||||
|
||||
End
|
||||
Loading…
Add table
Add a link
Reference in a new issue