|
#1
|
||||
|
||||
|
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:
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. |
|
#2
|
|||
|
|||
|
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. |
|
#3
|
|||
|
|||
|
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 |
|
#4
|
|||
|
|||
|
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. |
|
#5
|
||||
|
||||
|
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 |
![]() |
«
Previous Thread
|
Next Thread
»
| Thread Tools | |
| Display Modes | |
|
|
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.








Linear Mode

