Category: Changing Object Property Values
-
Incorporating xBasic into Design: 02
Hello everyone and welcome back. Today we will continue to examine how xBasic can be used to dynamically control and modify the design elements in our application. In our last lesson we looked at controlling the WindowBar as a means of design control. Today we will look at the masking function, OnFetch event and conditional…
-
Incorporating xBasic in the Design Process
Hello everyone. Before we start this next chapter ‘Incorporating xBasic in Design’ I want to give a follow up on our Chess Program. In the last post I introduced a new table for analyzing our moves. I also discussed how the table would advance through the options i.e. protect, attack and strategize. Well I want…
-
Programming Chess in Alpha Software:Lesson 8
Hello everyone As mentioned in the previous post, I have started in a new direction for our chess engine. If the program is to think like a human then we must first look at how a human plays the game. Now I am not the best chess player in the world, in fact I consider…
-
Programming Chess in Alpha Software: Lesson6
—
by
in Changing Object Property Values, Desktop Application, External_Record_Content_Get, Fetch, Form Design, Form Load Method, Games, Having Fun With Graphics, How To, List Objects, Object Method, On Event, On Fetch, On Init, On Push, Programming A Chess Game, Record List Combo, Table Open Method, Tree View, Using If Else if, Using Query’s, Writing Array’s, XBasic Tips and TricksHello Everyone Today we will be looking at the opening book for our chess program and the code for all the functions related to the opening book. Before we begin please take a moment to watch this short video which demonstrated the use of the opening book and the new features we are adding to…
-
Programming Chess in Alpha Software:Lesson 2
Hello Everyone In our first lesson we looked at our chess piece and position table and the code for each square on our board. As I mentioned the table may change and it has. I will review the new structure and reason for the change below. We also looked at moving the piece image from…
-
PC Desktop: Setup Wizard
Hello Everyone Hope you had a Great 4th of July. Like most people, there is nothing I hate more than getting something new and being forced to go through some sort of setup before I can begin enjoying my new product. With that in mind, our Desktop App will ship with the ability to run…
-
Having Fun with Graphics Lesson 5: Bar Graphs
—
by
in Changing Object Property Values, Converting Data Types, Desktop Application, External_Record_Content_Get, Form Design, Form Load Method, Having Fun With Graphics, Hot Spots, How To, List Objects, Object Explorer, Object Method, On Event, On Fetch, On Push, On Timer Event, Record List Combo, Table Open Method, Writing Array’s, XBasic Tips and TricksHello everyone Today we are continuing our lesson plan on controlling graphics in Alpha Software just using objects on a form and xBasic code. As I was preparing the CAD application lesson I thought of a more practical application for managing objects and graphics on the screen which is building a bar graph. Bar Graphs…
-
Having fun with Graphics Lesson 4: Desktop Widget
—
by
in Autoexec Script, Changing Object Property Values, Custom Super Controls, Declaring Variables on a Form, Desktop Application, Form Design, Form Load Method, Having Fun With Graphics, How To, Object Explorer, Object Method, On Event, On Init, On Push, On Timer Event, Owner Draw, Using Eval function, Using If Else if, Writing Array’s, XBasic Tips and Tricks, xDialogHello everyone At the end of lesson three, I said we would work on a CAD Design style application but it is taking some time to put together so in the mean time, I thought I would post this fun and useful lesson. To start, watch this short video to see the widget work and…
-
Having Fun with Graphics in Alpha Software Lesson 3: Angles
Hello everyone In our last lesson we created our Pong table, the paddle and the ball. When the ball struck the paddle, it bounced only on the horizontal plane. Today, we are going to make the ball bounce at an angle. Watch the short video to see how it works and to get an overview…
-
Having Fun w/ Graphics using xBasic Lesson 2 Pong
Hello Everyone In the last lesson I said we will take what we learned and use it to create the beginning of a pong game. Now the pong game on the surface is very simple. You have a ball, a paddle and movement. When the ball hits the paddle, it bounces. If it misses the…