Category: Form Design
-
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…
-
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…
-
Programming in Alpha Software: Magic Cube App Lesson 1
—
by
in Append, Changing Object Property Values, Conditional Object, Declaring Variables on a Form, Design Document, Desktop Application, 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 Event, On Init, Operations, Table Open Method, Tables and Sets, TC Magic Cube, Using Eval function, Using Images on Forms, Writing Array’s, XBasic Tips and TricksNow that we have completed our lesson on the Sudoku Puzzle Game we are moving on to a Magic Cube Application. As I mentioned at the end of our previous lesson, my granddaughter recently got a Rubix Cube and asked me for help in solving it. I don’t want to actually solve the cube for…
-
Programming in Alpha Software Lesson 6: Append Operation
We are starting off this lesson by finishing our Sudoku Puzzle Solver Application. When you select New Puzzle on the form, you are presented with the following dialog. We have reviewed the code for generating a Computer Generated Game Standard and now we will review; Manual Entry from Book Your Saved Puzzles Manual Entry…
-
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…
-
Programming in Alpha Software Lesson 02
Memory: We started our previous session by looking at the purpose of applications and how our senses play a part in the conception of new software programs. We looked at the function Lookup() and how it is used to find and copy data from one source to another for use by our application. We also…