Загрузка страницы

Visual Programming using Gambas in Linux - Tutorial 5.5

This tutorial-video... "GAMBAS visual-programming in Linux (Tutorial 5.5)"... is the sixth video in the "5-POINT-X" series.

5.0 - Overview

5.1 - Create a base-program for experimentation

5.2 - Discussion of some GAMBAS 'Object-Properties'

5.3 - Modifying some 'Properties' of the "Button_Experiment-1" Program's 'Objects'

5.4 - Covers a few more, general GAMBAS 'Object-Properties', and also explains the 'Positioning', and 'Coordinate', systems in GAMBAS programming

5.5 - (THIS TUTORIAL) - In this 'tutorial'... we finish modifying the "Button_Experiment-1" program

TUTORIAL 5.5 contains two different sections:

Part-1: (time reference 0:00 to 22:30) covers modifying some final elements of the 'Experimental' program.

Part-2: (time reference 22:30 to 49:59) covers the fundamentals of 'Creating', and using, 'Menus' within GAMBAS.

In the next tutorial... (Tutorial 5.6)... I will cover using a 'TAB-Container' within a GAMBAS program, and demonstrate several additional GAMBAS 'Visual-Objects', elements, and principles.

Again, I hope you find this video-series useful and informative.

==============================================
The 'NEW' Program-Code used in 'Tutorial 5.5'
==============================================

(This code INCREMENTS the Form's Background-Color by 15 each time it executes)

FMain.Background = FMain.Background + 15
(This code SETS/RESETS the Form's Background-Color to 'Light-Grey')

FMain.Background = -1
(This code sets the Form's 'Title-Bar' to DISPLAY the Form's CURRENT 'Background-Color')

FMain.Text = "Button_Experiment-1B BG-Color = " & FMain.Background

=========================================================
The COMPLETE 'FMain.class' file ...from 'Tutorial 5.5' (...for Reference)
=========================================================
' Gambas class file
Public Sub Form_Open()

Me.Center
FMain.Text = "Button_Experiment-1B BG-Color = " & FMain.Background

End

Public Sub Button3_Click()

Button4.Visible = True

End

Public Sub Button4_Click()

Quit

End

Public Sub Button1_Click()

Message("GAMBAS Programming Rulez!")

End

Public Sub Button2_Click()

FMain.Background = FMain.Background + 15
FMain.Text = "Button_Experiment-1B BG-Color = " & FMain.Background

End

Public Sub Form_DblClick()

FMain.Background = -1
FMain.Text = "Button_Experiment-1B BG-Color = " & FMain.Background

End

Public Sub Menu_Reset_Color_Click()

FMain.Background = -1
FMain.Text = "Button_Experiment-1B BG-Color = " & FMain.Background

End

Public Sub Menu_Quit_Click()

Quit

End

Public Sub Menu_Version_Click()

Message("Version 1.2")

End
=========================================================

Видео Visual Programming using Gambas in Linux - Tutorial 5.5 канала Nerdsanity
Показать
Комментарии отсутствуют
Введите заголовок:

Введите адрес ссылки:

Введите адрес видео с YouTube:

Зарегистрируйтесь или войдите с
Информация о видео
9 марта 2022 г. 9:11:58
00:50:00
Яндекс.Метрика