Category: batch_Begin
-

Fetching Forms and Reports using Queries in Alpha Software
In our last exercise we looked at using queries controlled by variables to fetch and display a range of records in a form as well as using the table method to step through the child records to populate a rich text object with memo fields from the child records. In this exercise I will demonstrate…
-

Understanding Queries in Alpha Software
—
by
in .queryrun, batch_Begin, Changing Object Property Values, Converting Data Types, Declaring Variables on a Form, Fetch, Fetch_Last, fetch_Next, Form Design, How To, King James Bible Reader, List Object, List Objects, Memo Fields, Object Explorer, Object Method, ON Change, On Init, On Push, Radio Object, wordIn this current age of application development it is not enough to create an application which looks good and does what it was intended to do, it must also be fast. In Alpha Software when you create a table or set you will most likely create one or more index’s for controlling your data view.…
-
Programming Developers Diary – 08
—
by
in batch_Begin, Changing Object Property Values, Declaring Variables on a Form, Design Document, Desktop Application, Developers Diary, Fetch, fetch_Next, Form Design, Form Load Method, Functions, Games, Having Fun With Graphics, Hot Spots, How To, List Objects, Occurs, On Event, On Push, Programming A Chess Game, Table Open Method, Tables and Sets, Using If Else if, Using Images on Forms, word, Writing Array’s, XBasic Tips and TricksJanuary 30, 2017 Good morning everyone. Picking up where we left off last week we were examining why the current logic for our chess program was weak and ineffective. As I was reviewing the existing code for this post, I once again got drawn into the development of the game. I actually started this post…
-
Programming in Alpha Software Black Jack 04 Game Mechanics
—
by
in Append, batch_Begin, Blackjack, Changing Object Property Values, Declaring Variables on a Form, Design Document, Desktop Application, External_Record_Content_Get, Fetch, fetch_Next, Fetch_Prev, Form as Dialog, Form Design, Form Load Method, Games, Having Fun With Graphics, How To, Object Explorer, Object Method, On Event, On Push, Operations, Table Open Method, Tables and Sets, Using Eval function, Using goto label, Using If Else if, Using Images on Forms, Writing Array’s, XBasic Tips and TricksProgramming our Black Jack Game will be a success only if the game mechanics make sense and work similar to the real world. What I mean by this is users know the Black Jack game and are familiar with how it works, so our game must work the same or users will lose interest and…
-
Programming in Alpha Software: Black Jack 03
—
by
in batch_Begin, Blackjack, Changing Object Property Values, Declaring Variables on a Form, Design Document, Desktop Application, External_Record_Content_Get, Fetch, fetch_Next, Fetch_Prev, Form Design, Form Load Method, Games, Having Fun With Graphics, How To, Object Explorer, Object Method, On Event, On Push, Table Open Method, Tables and Sets, Using goto label, Using If Else if, Using Images on Forms, XBasic Tips and TricksWelcome back. In this session we are looking at the deal, but before we do; lets look at our design document to see what we have accomplished so far and what still needs to be done. As you can see, we are moving right along and should be done in a few more sessions. Now…
-
Programming in Alpha Software Black Jack 02
—
by
in batch_Begin, Blackjack, Changing Object Property Values, Declaring Variables on a Form, Design Document, Desktop Application, External_Record_Content_Get, Fetch, fetch_Next, Form Design, Form Load Method, Games, Hot Spots, How To, List Objects, Object Explorer, Object Method, ON Change, On Event, On Push, Operations, Randomize Numbers, Script Genie, Table Open Method, Tables and Sets, Update, Using goto label, Using Images on Forms, Writing Array’s, XBasic Tips and Tricks, xDialogWhen we left off at the end of session 01 I said we would look at New Game Control Controlling the Number of Players Shuffling the Deck. If the lesson does not get too long I will review the animation of dealing a card as well. I created this short video to show where we…
-
Programming in Alpha Software Magic Cube Lesson 4
—
by
in Append, batch_Begin, Declaring Variables on a Form, Desktop Application, External_Record_Content_Get, Fetch, fetch_Next, Fetch_Prev, Form as Dialog, Form Design, Form Load Method, Games, Having Fun With Graphics, Hot Spots, How To, List Object, List Objects, Object Explorer, Object Method, On Arrive, ON Change, On Event, On Fetch, On Push, Table Open Method, Tables and Sets, TC Magic Cube, Using Images on Forms, XBasic Tips and TricksAt the end of our last session we were looking at the code for the onPush event of our ‘Open Move Tracker’’ button. form.load(“TC_MC_MoveTracker”,”dialog”,””,”right”,”middle”) TC_MC_MoveTracker.Activate() TC_MC_MoveTracker.Show() TC_MC_MoveTracker.close() if CName <> “” then movestate = “Return” dim record_count as N t = table.open(“tcrubixmoves”) t.fetch_first() record_count = t.records_get() t.fetch_last() for…
-
Programming in Alpha Software Magic Cube Lesson 3
—
by
in Append, batch_Begin, Changing Object Property Values, Declaring Variables on a Form, Design Document, Desktop Application, External_Record_Content_Get, Fetch, fetch_Next, Form as Dialog, Form Design, Form Load Method, Games, Handling Errors, Having Fun With Graphics, Hot Spots, How To, List Object, List Objects, Object Explorer, Object Method, ON Change, On Event, On Init, On Push, Operations, Pong, Table Open Method, tablecount, Tables and Sets, TC Magic Cube, Using Images on Forms, XBasic Tips and TricksThe primary focus for today’s session is how to animate the cube moves. If you saw my lesson on Having Fun with Graphics: Pong you know we can move objects on the screen by changing their position property value. We are not going to do that here. Instead we are changing the color value of…
-
Incorporating xBasic into Form Design: 13
—
by
in batch_Begin, Changing Object Property Values, Custom Super Controls, Declaring Variables on a Form, Desktop Application, External_Record_Content_Get, Fetch, fetch_Next, Form Design, Form Load Method, How To, List Objects, Object Explorer, ON Change, On Event, On Fetch, OnDepart, Progressive Lookups, Radio Object, SuperControls, Table Open Method, Tables and Sets, Using goto label, XBasic Tips and Tricks, xDialogHello everyone Today we will look at additional features I have added to our Desktop app. In our last session we added the Report viewer for the data tables included in our Desktop app and today we are adding an external file viewer and an enhanced run dialog. Lets start with the External File Viewer.…
-
Incorporating xBasic in Form Design: 06
—
by
in batch_Begin, Changing Object Property Values, Conditional Object, Contact Management Application, Declaring Variables on a Form, Desktop Application, External_Record_Content_Get, Fetch, fetch_Next, Form Design, Hot Spots, How To, On Event, On Init, On Push, On Timer, On Timer Event, Progressive Lookups, Table Open Method, tablecount, Using If Else if, XBasic Tips and TricksHello Everyone In this session we will look at an application I originally designed in Alpha Software v5. (Author’s Note: For those who have pointed out the displayed button styles were not available in version 5, the app was written is version 5 and continually updated through version 8 of Alpha Software taking advantage…