Visual Programming using Gambas in Linux - Tutorial 5.6 (PART 2)
This tutorial-video... "GAMBAS visual-programming in Linux (Tutorial 5.6) Part-2"... continues the 'TAB-Container Program'. This part demonstrates using 'Button-Controls' (including the Program-Code
for numeric-entry).
In TUTORIAL 5.6 'Part-3', I will describe:
'ComboBox' "drop-down lists"...
and,
'PictureBox' Controls.
Then, in the following tutorials, I will cover some common 'Menu' conventions, and provide some (hopefully) helpful tips, with regards to 'menus' (and describe some 'quirks' that I
have discovered), in GAMBAS.
After covering the program's 'Menu System', I will also be demonstrating some final 'User Interface' tweaks, designed to improve the program's appearance, and functionality.
And again, I hope you find this video-series useful and informative.
============================================
The current 'FMain.class' Class-File... (for reference)
============================================
' Gambas class file
Public Sub Slider1_Change()
Label3.Text = Slider1.Value
End
Public Sub Button0_Click()
If LCDLabel1.Text = "0" Then LCDLabel1.Text = ""
LCDLabel1.Text = LCDLabel1.Text & 0
End
Public Sub Button1_Click()
If LCDLabel1.Text = "0" Then LCDLabel1.Text = ""
LCDLabel1.Text = LCDLabel1.Text & 1
End
Public Sub Button2_Click()
If LCDLabel1.Text = "0" Then LCDLabel1.Text = ""
LCDLabel1.Text = LCDLabel1.Text & 2
End
Public Sub Button3_Click()
If LCDLabel1.Text = "0" Then LCDLabel1.Text = ""
LCDLabel1.Text = LCDLabel1.Text & 3
End
Public Sub Button4_Click()
If LCDLabel1.Text = "0" Then LCDLabel1.Text = ""
LCDLabel1.Text = LCDLabel1.Text & 4
End
Public Sub Button5_Click()
If LCDLabel1.Text = "0" Then LCDLabel1.Text = ""
LCDLabel1.Text = LCDLabel1.Text & 5
End
Public Sub Button6_Click()
If LCDLabel1.Text = "0" Then LCDLabel1.Text = ""
LCDLabel1.Text = LCDLabel1.Text & 6
End
Public Sub Button7_Click()
If LCDLabel1.Text = "0" Then LCDLabel1.Text = ""
LCDLabel1.Text = LCDLabel1.Text & 7
End
Public Sub Button8_Click()
If LCDLabel1.Text = "0" Then LCDLabel1.Text = ""
LCDLabel1.Text = LCDLabel1.Text & 8
End
Public Sub Button9_Click()
If LCDLabel1.Text = "0" Then LCDLabel1.Text = ""
LCDLabel1.Text = LCDLabel1.Text & 9
End
Public Sub Button_Clear_Click()
LCDLabel1.Text = "0"
TextArea1.Text = ""
End
Public Sub Button_Enter_Click()
TextArea1.Text = TextArea1.Text & " " & LCDLabel1.Text & " "
End
============================================
Видео Visual Programming using Gambas in Linux - Tutorial 5.6 (PART 2) канала Nerdsanity
for numeric-entry).
In TUTORIAL 5.6 'Part-3', I will describe:
'ComboBox' "drop-down lists"...
and,
'PictureBox' Controls.
Then, in the following tutorials, I will cover some common 'Menu' conventions, and provide some (hopefully) helpful tips, with regards to 'menus' (and describe some 'quirks' that I
have discovered), in GAMBAS.
After covering the program's 'Menu System', I will also be demonstrating some final 'User Interface' tweaks, designed to improve the program's appearance, and functionality.
And again, I hope you find this video-series useful and informative.
============================================
The current 'FMain.class' Class-File... (for reference)
============================================
' Gambas class file
Public Sub Slider1_Change()
Label3.Text = Slider1.Value
End
Public Sub Button0_Click()
If LCDLabel1.Text = "0" Then LCDLabel1.Text = ""
LCDLabel1.Text = LCDLabel1.Text & 0
End
Public Sub Button1_Click()
If LCDLabel1.Text = "0" Then LCDLabel1.Text = ""
LCDLabel1.Text = LCDLabel1.Text & 1
End
Public Sub Button2_Click()
If LCDLabel1.Text = "0" Then LCDLabel1.Text = ""
LCDLabel1.Text = LCDLabel1.Text & 2
End
Public Sub Button3_Click()
If LCDLabel1.Text = "0" Then LCDLabel1.Text = ""
LCDLabel1.Text = LCDLabel1.Text & 3
End
Public Sub Button4_Click()
If LCDLabel1.Text = "0" Then LCDLabel1.Text = ""
LCDLabel1.Text = LCDLabel1.Text & 4
End
Public Sub Button5_Click()
If LCDLabel1.Text = "0" Then LCDLabel1.Text = ""
LCDLabel1.Text = LCDLabel1.Text & 5
End
Public Sub Button6_Click()
If LCDLabel1.Text = "0" Then LCDLabel1.Text = ""
LCDLabel1.Text = LCDLabel1.Text & 6
End
Public Sub Button7_Click()
If LCDLabel1.Text = "0" Then LCDLabel1.Text = ""
LCDLabel1.Text = LCDLabel1.Text & 7
End
Public Sub Button8_Click()
If LCDLabel1.Text = "0" Then LCDLabel1.Text = ""
LCDLabel1.Text = LCDLabel1.Text & 8
End
Public Sub Button9_Click()
If LCDLabel1.Text = "0" Then LCDLabel1.Text = ""
LCDLabel1.Text = LCDLabel1.Text & 9
End
Public Sub Button_Clear_Click()
LCDLabel1.Text = "0"
TextArea1.Text = ""
End
Public Sub Button_Enter_Click()
TextArea1.Text = TextArea1.Text & " " & LCDLabel1.Text & " "
End
============================================
Видео Visual Programming using Gambas in Linux - Tutorial 5.6 (PART 2) канала Nerdsanity
Показать
Комментарии отсутствуют
Информация о видео
Другие видео канала
Visual Programming using Gambas in Linux - Tutorial 5.6 (PART 3)Visual Programming using Gambas in Linux - Tutorial 3Visual Programming using Gambas in Linux Tutorial - Video 5.2Visual Programming using Gambas in Linux - Tutorial 5.4Visual Programming using Gambas in Linux - Tutorial 5.6 - PREVIEWVisual Programming using Gambas in Linux - Tutorial 4Visual Programming using Gambas in Linux - Tutorial 5.5Visual Programming using Gambas in Linux Tutorial - Video 5.3Visual Programming using Gambas in Linux - Tutorial 5.6 (PART 4)Visual Programming using Gambas in Linux - Tutorial 5.0Visual Programming using Gambas in Linux - Tutorial 5.6 (PART 5)Visual Programming using Gambas in Linux - Tutorial 5.6 (PART 1)Visual Programming using Gambas in Linux - Tutorial 2Visual Programming using Gambas in Linux - Tutorial 1Visual Programming using Gambas in Linux - Tutorial 5.1