Category: fetch_Next
-
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…
-
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 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…
-
Incorporating xBasic into Form Design Writing scripts: 14
—
by
in Changing Object Property Values, Declaring Variables on a Form, Desktop Application, External_Record_Content_Get, Fetch, fetch_Next, Form Design, How To, List Object, List Objects, Object Method, On Event, On Push, Progressive Lookups, Radio Object, Table Open Method, Using If Else if, XBasic Tips and TricksHello everyone. Today we are going to look at using Alpha Software scripts and how they fit into the program design. If you have been following along, you know most of the code I write is attached to the various objects on a form and or the form itself. There are times however when an…
-
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.…