Support My Blog
Download Free Games

Launch Files From Grid

image: DrawPlus X2 from Serif image: PhotoPlus X2 from Serif

Hi,

So far, we have seen how to populate GRID with data. Let’s see how to launch files from this skinny example.

In fact, if you can understand this well, you can do the following from any Cell Grid:
1. Start Applications
2. Run Actions & Command lines
3. Open Interactive Dialogs (containing other objects)
4. Launch Files
5. etc.

Note:
I prefer to get a prompt before launching anything. So I place a dialog prompt upon clicking the active cell, as shown in the Screen Shot below. I think, most of us users prefer it that way too.

Screen Shot : Launch File From Grid

Screen Shot : Launch File From Grid

Please Login or Register to download this file.


Graphics.com/Learning

  • Share/Save/Bookmark

SQLite DB to Grid

image: DrawPlus X2 from Serif image: PhotoPlus X2 from Serif

Hi,

SQLite DB is a good option if you plan to have a long list of data in your apps. Its quicker, its more efficient and works faster than text files or XML.

When you combine SQLite with Grid, you’ve got yourself an app with tremendous potentials.

The example I’ve added today, shows how to combine these 2 powerful AMS elements, albeit in a very simple way. You can develop further from here. Remember to put ERROR CHECKING, if you plan to distribute apps.

Pull Data from SQLite DB to Grid

Pull Data from SQLite DB to Grid

Please Login or Register to download this file.

Please leave a comment, if you like this sample.


10% off New York Times Best Sellers at eBooks.com

  • Share/Save/Bookmark

List Files From Folders to Grid

image: DrawPlus X2 from Serif image: PhotoPlus X2 from Serif

Hi,

Was quite busy a few days back. Had to do some presentations for clients. Now is the lull time. Cooling away with AMS.

Today I’m adding another example concerning GRID. This one is much easier than the previous example. Really. No kidding. If you check under the hood, you’ll definitely agree with me.

What does it do? When you click the button, a Folder Dialog will open. Then you select a Folder. It will list all the files hosted in the Folder into the GRID. It will list the file names, file path, when it was created, last access, last modified. If the selected Folder is empty, it will give you a friendly message and will not list anything.

Screen Shot : List Files From Folder into Grid

Screen Shot : List Files From Folder into Grid

Please Login or Register to download this file.

You can extend this sample by making one of  the Column active ( click and open the file in its native format ). You can do this by putting your scripts in the Grid OnSelectionChange. The Combo to Grid example shows exactly how to do this. Check it out and make the necessary changes.

image: PagePlus X3 from Serif image: WebPlus X2 from Serif
  • Share/Save/Bookmark

Load Text File to Grid

image: DrawPlus X2 from Serif image: PhotoPlus X2 from Serif

Hi,

I thought of putting more Grid examples in here.

So today, let’s see how to Load a Text File to Grid. The Text File contains a few lines. Each line contains data separated by the pipe symbol “|”. I prefer this symbol than others because I never use it for anything else.This kind of files are called CSVs, comma separated value files.

NOTE: For the sake of clarity, most examples in this blog have excluded error checking functions .  If you plan to develop apps, you need to include error checks to control them whenever it happened.

Screen Shot : Load Text File to Grid

Screen Shot : Load Text File to Grid

Please Login or Register to download this file.

Please comment if you download this file.

I have another GRID example to be posted soon.


10% off New York Times Best Sellers at eBooks.com

  • Share/Save/Bookmark

Triple COMBOs

image: DrawPlus X2 from Serif image: PhotoPlus X2 from Serif

Hi,

I received a request by a subscriber on how to use 3 Combos together.

The scenario is that when 2 Combos are selected, a result will be shown  in a 3rd Combo.

So, here’s a bare-bone example showing how to do it. This could be useful for some apps needing economy of space.

If economy of space is not needed, the alternative to the 3rd Combo can be a paragraph, an input object, a web object, a mediaplayer, a grid, a file or whatever object that shows results.

Screen Shot : Triple Combos

Screen Shot : Triple Combos

Please Login or Register to download this file.

Please leave a comment.


Graphics.com/Learning

  • Share/Save/Bookmark
Page 5 of 10« First...«34567»...Last »