Indigo Rose Software
  #1  
Old 09-27-2004
Darryl's Avatar
Darryl Darryl is offline
Indigo Rose Staff Member
 
Join Date: Jul 2001
Location: Indigo Rose Software
Posts: 1,602
Lightbulb Article: How To Access Screen Input Data

Overview
Setup Factory 7.0 contains various screen types used for displaying and gathering information from the user. This article illustrates how to extract data from each of these screen types using a sample Setup Factory 7.0 project file. The following screen types are convered:
  • Check Boxes
  • Radio Buttons
  • List Box
  • Combo Boxes
  • Buttons
  • Edit Fields (User Information used)

Each sample script can be found on the On Next event of each screen, except the Buttons screen. The Button screen's script can be found on the On Ctrl Message event.

The sample project file that has been created is called Screen_Sample.sf7 and can be extracted from the attached file Screen_Sample.zip (see the bottom of this article).

This sample project can be viewed and published to help further understand how to gather and react to information from screens.
Attached Files
File Type: zip Screen_Sample.zip (10.7 KB, 532 views)
Reply With Quote
  #2  
Old 09-28-2004
csd214 csd214 is offline
Forum Member
 
Join Date: Oct 2001
Location: Norway
Posts: 939
Darryl, thanks for your demo project. I'm sure many of us will use your work as a reference project.

You might think I'm obstinate (yes; I am) but after several years working with the keyboard/mouse/screen I care about my health. To be specific: I prefer to use the keyboard, not the mouse, if possible.

Your screen "User information"; try this:

Delete the name and the company; click Next. Your control is triggered telling that the name field cannot be empty. THE CURSOR REMAINS IN THE COMPANY FIELD (discretionary; it's the name that is mandatory) . I suggest this little addition:

Screen.SetFocus(CTRL_EDIT_01);

Now the user can press Alt+N to proceed.

When the screen shows up, the Next button has the focus. To change the name the user has to a) Use the mouse (+ keyboard) or b) Keyboard: Press TAB twice and edit the name. In most occasions of editable fields I prefer that the cursor is positioned in the first field (not so important in this case). If the user accepts the default values, he just has to press Alt+N (or click Next).

Yesterday I "discovered" a method to achieve this; Screen.SetFocus(), but I'm not sure whether the use of the timer is the best (or only?) way.
Reply With Quote
  #3  
Old 09-28-2004
brianlesker brianlesker is offline
Forum Member
 
Join Date: Oct 2003
Posts: 49
file location

Hard workers,

Can somebody provide me some code howto create a file location box where only local drive's (cq network drives) are available?

Greetings Brian
Reply With Quote
  #4  
Old 09-28-2004
John Fligg John Fligg is offline
Forum Member
 
Join Date: Sep 2004
Posts: 8
I will put my hands up

I freely admit I was one of the moaners!

But this example and some personal help from Adam has enlightened me and now I can really move forward.

SUF7 is clearly so much better than SUF6 which was brilliant anyway.

Thank you everyone and not to labour the point, but this is only what I was trying to say in my frustrated way - an example or two works wonders.

My faith has been restored, not that it was ever really lost.
Reply With Quote
  #5  
Old 09-29-2004
Darryl's Avatar
Darryl Darryl is offline
Indigo Rose Staff Member
 
Join Date: Jul 2001
Location: Indigo Rose Software
Posts: 1,602
For others, a response to brianlesker's question can be found HERE


John, just so you know, we'll be adding some similar examples to the docs concerning screens for the next service release (7.0.0.1).

Darryl
__________________
Darryl
Indigo Rose Corporation

Product Guides: AMS70 | SUF80 | TU30 | VP30 |MSIFACT |DeltaMAX
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
INFO: Microsoft Data Access Components 2.8 Runtime Notes Desmond Setup Factory 6.0 Knowledge Base 0 11-28-2003 09:20 AM
Easy-to-use, powerful encryption (Blowfish) for your projects... Secure your data for emailing or st Corey AutoPlay Media Studio 4.0 0 06-22-2003 07:47 AM
HOWTO: Make a Media Player Object Go Full Screen Support AutoPlay Media Studio 4.0 Examples 0 10-23-2002 12:23 PM
HOWTO: Install a Screen Saver Support Setup Factory 6.0 Knowledge Base 0 09-27-2002 02:35 PM
Screen input value when returning csd214 Setup Factory 6.0 0 01-29-2002 04:00 PM


All times are GMT -6. The time now is 09:16 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Copyright © 2000 - 2009 Indigo Rose Corporation. All rights reserved.
Indigo Rose Software