Category: Using If Else if
-
TakeCharge App Manager Lesson 02 Using A5 Enumerations
—
by
in Append, Autoexec Script, Conditional Object, Declaring Variables on a Form, Desktop Application, Fetch, fetch_Next, Fetch_Prev, Form Design, How To, HTML memo field, List Object, List Objects, Memo Fields, On Event, On Push, Operations, Table Open Method, Tables and Sets, Using If Else if, XBasic Tips and TricksA key component to our project application is to list all objects in the application development queue. We could simply provide data tables with a data entry form and have the user manually enter all the object information, but in truth that would not be a good solution since everyone today wants everything instantly. So…
-
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: Blackjack Game 01
—
by
in Blackjack, Declaring Variables on a Form, Design Document, Desktop Application, External_Record_Content_Get, Fetch, Form as Dialog, Form Design, Form Load Method, Games, Handling Errors, Having Fun With Graphics, Hot Spots, How To, List Object, List Objects, Object Method, On Event, On Push, Table Open Method, Tables and Sets, Using goto label, Using If Else if, Writing Array’s, XBasic Tips and Tricks, xDialogHello everyone We completed our Magic Cube programming lesson an I must say my granddaughter was over the other day and she played with it on my SurfacePro tablet and matched the moves on her real cube for hours so I guess that means it was a success. Now lets move on to something more…
-
Programming in Alpha Software: Magic Cube Lesson 2
—
by
in Changing Object Property Values, Declaring Variables on a Form, Desktop Application, External_Record_Content_Get, Fetch, fetch_Next, 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 Event, On Push, Table Open Method, Tables and Sets, TC Magic Cube, Using Eval function, Using goto label, Using If Else if, Using Images on Forms, Writing Array’s, XBasic Tips and TricksWe left off our last session looking at the code for our onInit event of our form. The code was 164 lines long and somewhat redundant. To fix this we are going to use two functions in Alpha Software Array Eval If you look back at the previous code insert, You will see the naming…
-
PC Desktop: Embedding a progress bar in a form
—
by
in Changing Object Property Values, Conditional Object, Declaring Variables on a Form, Desktop Application, Fetch, fetch_Next, Form Design, Form Load Method, Handling Errors, Having Fun With Graphics, How To, List Object, List Objects, Object Explorer, Object Method, On Event, On Push, Using If Else ifHello Everyone I was looking at the Alpha Message Board today and saw a closed thread where the user was looking for help creating an embedded progress bar on their application form. Several people replied but none actually answered the query and now the thread is closed so I thought I would do a quick…
-
Programming in Alpha Software Lesson 5: Sudoku Puzzle Solver Program using xBasic to build Bubble Help
We left off with the code for locking cells and in this lesson we will look at the next four buttons on our form: Fill in Block Values Swap Cells Clear Selection Que Lock UnLock Cell Before we do , watch this short video to see each of them in action. As I said, it…
-
Programming in Alpha Software Lesson 4: Sudoku Puzzle Solver Program
We left off in the middle of a lengthy script which is run when a new game is started. You can review that script here Programming in Alpha Software Lesson 3. After the randomization runs we then save the solution to our currentpuzzlesolution table. My intent is to use the solution as a move checker…
-
Programming in Alpha Software Lesson 3: Understanding, Reason & Logic
In our last lesson we looked at Memory and how it is used in conjunction with look ups to provide the user with a list of choices for his – her review or action. Today we will look at Understanding Reason and Logic and the parts they play in your programming. Thought: The logical place…
-
Using Alpha Software to Program for the Surface Pro 4 Lesson 7
For our final lesson on designing for the Surface Pro 4 we will examine the purchase and sale transaction form. On our main form we have two buttons , Record Purchase and Record Sale. The name clearly identifies the action that will be taken and the form for the most part is straight forward.…