home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 5 / 05.iso / a / a093 / 1.ddi / PSSKB.TXT < prev    next >
Encoding:
Text File  |  1993-01-17  |  37.9 KB  |  923 lines

  1. ------------------------------------------------------------------------
  2.                   ANSWERS TO COMMONLY ASKED QUESTIONS
  3. ------------------------------------------------------------------------
  4.  
  5. MAIN TABLE OF CONTENTS
  6.  
  7. Cross-Platform Questions
  8. Interface Features
  9. Report Writer
  10. Screen Builder
  11. Product Support Questions
  12.  
  13.  
  14. ------------------------------------------------------------------------
  15. Cross-Platform Questions
  16. ------------------------------------------------------------------------
  17.  
  18. 1   Can I create a FoxPro for Windows application using FoxPro for MS-DOS
  19.     as my development platform?
  20. 2   I have an existing FoxPro 2.0 project.  How do I make it run in
  21.     FoxPro 2.5?
  22. 3   Will I be able to create executables for FoxPro 2.5?
  23.  
  24. ------------------------------------------------------------------------
  25. Question 1
  26.  
  27. Can I create a FoxPro for Windows application using FoxPro for MS-DOS as my 
  28. development platform?
  29.  
  30. Answer 1
  31.  
  32. Applications created with FoxPro for MS-DOS can be executed by FoxPro for 
  33. Windows without making any changes.  The FoxPro for MS-DOS power tools, 
  34. however, do not support features which are specific to the Windows 
  35. environment.  It is possible to "hand code" these capabilities, but we 
  36. do not recommend this approach to cross-platform application
  37. development.
  38. ------------------------------------------------------------------------
  39. Question 2
  40.  
  41. I have an existing FoxPro 2.0 project.  How do I make it run in 
  42. FoxPro 2.5?
  43.  
  44. Answer 2
  45.  
  46. You only need to open the project in FoxPro 2.5 and rebuild your 
  47. application.  Screens and reports must be converted only if you decide
  48. to modify them.
  49. ------------------------------------------------------------------------
  50. Question 3
  51.  
  52. Will I be able to create executables for FoxPro 2.5?
  53.  
  54. Answer 3
  55.  
  56. Yes.  In FoxPro 2.0 you had the ability to build stand-alone and compact 
  57. .EXEs.  Compact .EXEs were distributed with library files which were 
  58. included in the FoxPro Distribution Kit.  Stand-alone .EXE files did not 
  59. require the FoxPro library files.  The information from the libraries 
  60. was built into a stand-alone .EXE.
  61.  
  62. The options for building .EXE files in FoxPro 2.5 for MS-DOS are the same 
  63. as they were in FoxPro 2.0.
  64.  
  65. In FoxPro for Windows, you have the ability to create the equivalent of 
  66. the compact .EXE file.  These files are distributed with the library 
  67. files included in the FoxPro for Windows Distribution Kit.
  68.  
  69.  
  70. ------------------------------------------------------------------------
  71. Interface Features
  72. ------------------------------------------------------------------------
  73.  
  74. TABLE OF CONTENTS
  75.  
  76. 1   The windows created in FoxPro for Windows have different style
  77.     controls when compared with the windows in FoxPro for MS-DOS. Why is
  78.     that?
  79. 2   What is the purpose of the Control-menu box at the top-left of
  80.     FoxPro windows?
  81. 3   Why is it that some windows in FoxPro can be resized and others
  82.     cannot?
  83. 4   The keyboard shortcuts in FoxPro for Windows have changed.  Why is
  84.     that, and is there a way to restore the FoxPro for MS-DOS style
  85.     keystrokes?
  86. 5   When I create a table and press ENTER to add a new field I 
  87.     find that the dialog unexpectedly closes.  Why is this?
  88. 6   FoxPro for Windows automatically displays a status bar located at
  89.     the bottom of the main window.  Is it possible to remove this 
  90.     status bar?  Is the DOS-style status bar available?
  91. 7   When I issue the command SET DISPLAY TO VGA50 and then issue the
  92.     command SET DISPLAY TO VGA25 to restore the previous setting, the
  93.     status bar disappears.  How do I restore the status bar?
  94. 8   The menu for FoxPro for Windows has changed.  Why is this?  Is 
  95.     the MS-DOS version of the menu available?
  96. 9   The Edit menu contains a number of new options such as Paste
  97.     Special... and Change Link... .  How are these options used?
  98. 10  The Program menu contains a new option called Beautify.  What 
  99.     does it do?
  100. 11  The Text menu is completely new.  What new features are supported 
  101.     in FoxPro for Windows?
  102. 12  Occasionally the Object menu is available on the FoxPro for Windows
  103.     menu system.  When is it displayed and why?
  104. 13  FoxPro for Windows includes Windows-style help.  Is there any way
  105.     to access the .DBF-style Help I used in Fox 2.0?
  106. 14  Shouldn't I get a full path display rather than just the drive
  107.     letter when I issue the following command in the Command window?
  108.          ? SET("DEFAULT")
  109.  
  110. ------------------------------------------------------------------------
  111. Question 1
  112.  
  113. The windows created in FoxPro for Windows have different style controls 
  114. when compared with the windows in FoxPro for MS-DOS. Why is that?
  115.  
  116. Answer 1
  117.  
  118. FoxPro for Windows was designed to conform to the Windows 3.1 interface 
  119. guidelines for applications.  These guidelines allow Windows 3.1 users 
  120. to use the same methods of moving, selecting, and changing windows 
  121. across all Windows applications.  FoxPro windows now include Control-
  122. menu boxes and Minimize, Maximize, and Restore buttons.  For a complete 
  123. discussion of window styles and terminology, consult the Getting Started 
  124. manual.
  125. ------------------------------------------------------------------------
  126. Question 2
  127.  
  128. What is the purpose of the Control-menu box at the top-left of FoxPro 
  129. windows?
  130.  
  131. Answer 2
  132.  
  133. The Control-menu box provides a quick method for moving, sizing, 
  134. selecting, and switching windows.  A single click in the Control-menu 
  135. box displays the Control menu.  A double-click in the Control-menu box 
  136. closes the window.
  137. ------------------------------------------------------------------------
  138. Question 3
  139.  
  140. Why is it that some windows in FoxPro can be resized and others cannot?
  141.  
  142. Answer 3
  143.  
  144. FoxPro for Windows contains both sizable and non-sizable windows.  
  145. Windows which contain a text-editing region are sizable.  Examples of 
  146. sizable windows are the Command window,  Screen Design window and the 
  147. Calendar.  These windows contain scroll bars and a sizing box in the 
  148. bottom right corner of the window. Examples of non-sizable windows 
  149. include the View and RQBE windows.  Non-sizable windows use only the 
  150. Control-menu box and the Minimize button.
  151. ------------------------------------------------------------------------
  152. Question 4
  153.  
  154. The keyboard shortcuts in FoxPro for Windows have changed.  Why is that, 
  155. and is there a way to restore the FoxPro for MS-DOS style keystrokes?
  156.  
  157. Answer 4
  158.  
  159. FoxPro for Windows uses the Windows-standard keystrokes, such as Enter 
  160. to select a focused choice.  FoxPro for Windows supports both an MS-DOS 
  161. keystroke mode and Windows keystroke mode.  Refer to the FoxPro online 
  162. help for details on the keystroke differences.  You were asked at 
  163. installation time which mode to select.  However, you can change the 
  164. mode at any time interactively in FoxPro by issuing the command:
  165.  
  166.    SET KEYCOMP TO DOS  
  167. or
  168.    SET KEYCOMP TO WINDOWS
  169.  
  170. Each time you load FoxPro anew, the default KEYCOMP will be reinvoked.  
  171. To change the setting of KEYCOMP permanently, change the CONFIG.FPW 
  172. file, to include the appropriate statement:
  173.  
  174.    KEYCOMP=DOS  
  175. or
  176.    KEYCOMP=WINDOWS
  177. ------------------------------------------------------------------------
  178. Question 5
  179.  
  180. When I create a table and press ENTER to add a new field I find that 
  181. the dialog unexpectedly closes.  Why is this?
  182.  
  183. Answer 5
  184.  
  185. The keystroke navigation is different in Windows and MS-DOS.  In FoxPro
  186. for MS-DOS, the keystroke equivalent of clicking the focus button is
  187. CTRL+ENTER.  In Windows, it is ENTER.  So pressing ENTER in the Table
  188. Structure dialog tells FoxPro you have chosen the OK button. To restore
  189. the MS-DOS keystroke mode in Windows, issue the command SET KEYCOMP TO DOS.
  190. ------------------------------------------------------------------------
  191. Question 6
  192.  
  193. FoxPro for Windows automatically displays a status bar located at the 
  194. bottom of the main window.  Is it possible to remove this status bar?  
  195. Is the MS-DOS style status bar available?
  196.  
  197. Answer 6
  198.  
  199. The Windows-style status bar provides the same information as the MS-DOS 
  200. style status bar, plus it can display information about the currently 
  201. selected menu name or command and messages created in commands.  It can 
  202. even display the system clock.
  203.  
  204. The Windows-style status bar is displayed by default.  To remove the 
  205. status bar, in the Command window issue the command
  206.  
  207.    SET STATUS BAR OFF
  208.  
  209. or in CONFIG.FPW, enter the item
  210.  
  211.    STATUS BAR = OFF
  212.  
  213. To restore the status bar, simply substitute ON for OFF in the previous 
  214. two commands.
  215.  
  216. When the Windows-style status bar is active, messages created in 
  217. commands such as DEFINE MENU, DEFINE POPUP, DEFINE BAR,
  218. @...PROMPT, etc. always appear in the Windows-style status bar.
  219.  
  220. NOTE:  The SET MESSAGE TO command used to specify a message location is 
  221. ignored when the Windows style status bar is active.
  222.  
  223. When the Windows-style status bar is active, the clock may be displayed 
  224. on the right hand side of the Windows-style status bar by issuing the 
  225. following command in the Command window
  226.  
  227.    SET CLOCK STATUS
  228.  
  229. or in CONFIG.FPW, enter the item
  230.  
  231.    CLOCK = STATUS
  232.  
  233. For reverse compatibility with existing FoxPro 2.0 applications, FoxPro 
  234. for Windows displays the MS-DOS style status bar when the command SET 
  235. STATUS ON is issued.
  236. ------------------------------------------------------------------------
  237. Question 7
  238.  
  239. When I issue the command SET DISPLAY TO VGA50 and then issue the command 
  240. SET DISPLAY TO VGA25 to restore the previous setting, the status bar 
  241. disappears.  How do I restore the status bar?
  242.  
  243. Answer 7
  244.  
  245. Issue the SET STATUS BAR ON command to bring the status bar back.
  246. ------------------------------------------------------------------------
  247. Question 8
  248.  
  249. The menu for FoxPro for Windows has changed.  Why is this?  Is the MS-DOS 
  250. version of the menu available?
  251.  
  252. Answer 8
  253.  
  254. The menu in FoxPro for Windows has been modified for consistency with 
  255. the standard Windows interface.  The System menu on the FoxPro 2.0 menu 
  256. bar has been removed and a number of specific menu items have been moved.
  257.  
  258. Take a moment to explore the new menu structure.  Note that a brief 
  259. message describing each menu item is displayed in the status bar at the 
  260. bottom of the main FoxPro window.
  261.  
  262. If you are more comfortable with the menu bar layout of FoxPro 2.0, we 
  263. have provided a FoxPro menu program that recreates it.  Simply DO the 
  264. DOS.MPR file located in the GOODIES subdirectory.  Running this menu 
  265. program replaces the FoxPro for Windows style menu bar with the 
  266. FoxPro for MS-DOS style menu bar layout while retaining the Text menu for 
  267. multiple font support.
  268.  
  269. To automatically display the FoxPro for MS-DOS menu bar when FoxPro for
  270. Windows open, place the following command in the CONFIG.FPW file to
  271. execute the DOS.MPR program.
  272.  
  273.    COMMAND = DO C:\FOXPROW\GOODIES\DOS\DOS.MPR
  274.  
  275. Modify the complete path specification for DOS.MPR based on your 
  276. specific installation.
  277. ------------------------------------------------------------------------
  278. Question 9
  279.  
  280. The Edit menu contains a number of new options such as Paste Special... 
  281. and Change Link... .  How are these options used?
  282.  
  283. Answer 9
  284.  
  285. The Edit menu items support OLE (Object Linking and Embedding).  The 
  286. items include Paste Special, Insert Object, Object, Change Link, and 
  287. Convert to Static.  For a detailed discussion of OLE consult the FoxPro 
  288. documentation.
  289. ------------------------------------------------------------------------
  290. Question 10
  291.  
  292. The Program menu contains a new option called Beautify.  What does it 
  293. do?
  294.  
  295. Answer 10
  296.  
  297. The Beautify option makes program files easier to read by altering the 
  298. appearance of the file.  Options include altering the case of key words 
  299. and variables and additional indentation within procedures and DO CASE 
  300. statements. Action diagram symbols can also be added to the .PRG file to 
  301. highlight program organization by bracketing specific control statements 
  302. such as 
  303.  
  304.    IF
  305.      DO something
  306.    ELSE
  307.      DO something
  308.    ENDIF  
  309. ------------------------------------------------------------------------
  310. Question 11
  311.  
  312. The Text menu is completely new.  What new features are supported in 
  313. FoxPro for Windows?
  314.  
  315. Answer 11
  316.  
  317. The Text Menu adds support for multiple fonts and text formatting.  The 
  318. Font option makes all of your installed Windows fonts available within 
  319. FoxPro.  Note:  A Font option is also available for Browse windows.
  320.  
  321. The Enlarge and Reduce Font options change all text to the next 
  322. available point size in the currently selected font.  To alter the 
  323. spacing of the current text file, select Single, 1 1/2, or Double space.
  324.  
  325. The Indent option performs a block indent by automatically moving a 
  326. selected group of lines to the next tab stop.  Undent does the opposite 
  327. by moving a selected group of lines back to the previous tab stop.
  328. ------------------------------------------------------------------------
  329. Question 12
  330.  
  331. Occasionally the Object menu is available on the FoxPro for Windows menu
  332. system.  When is it displayed and why?
  333.  
  334. Answer 12
  335.  
  336. The Object menu is available when either the Screen Builder or the 
  337. Report Writer window is open.  As with the Text and Browse menus, the 
  338. Object menu has access to fonts.  Specific items on the Object menu are 
  339. enabled and disabled based on the currently selected object.
  340.  
  341. For example, a rectangle drawn in the Screen Design window may have an 
  342. outline or pen color, a background or fill color and a fill pattern.
  343. ------------------------------------------------------------------------
  344. Question 13
  345.  
  346. FoxPro for Windows includes Windows-style help.  Is there any way to
  347. access the .DBF-style Help I used in Fox 2.0?
  348.  
  349. Answer 13
  350.  
  351. By default, FoxPro for Windows uses Windows-style help.  To access the 
  352. .DBF-style Help, enter the following command in the Command window:
  353.  
  354.    SET HELP TO FOXHELP.DBF
  355.  
  356. Pressing F1 or choosing Contents from the menu will then open .DBF-style 
  357. help.
  358.  
  359. To return to the Windows-style help, enter the following command in the 
  360. Command window:
  361.     
  362.    SET HELP TO FOXHELP.HLP
  363.  
  364. To permanently change to the .DBF-style Help, add this statement to your 
  365. CONFIG.FPW file:
  366.  
  367.    HELP=FOXHELP.DBF
  368. ------------------------------------------------------------------------
  369. Question 14
  370.  
  371. Shouldn't I get a full path display rather than just the drive letter 
  372. when I issue the following command in the command window?
  373.        ? SET("DEFAULT")
  374.  
  375. Answer 14
  376.  
  377. No.  This is consistent with FoxPro 2.0 for MS-DOS.
  378.  
  379.  
  380. ------------------------------------------------------------------------
  381. Report Writer
  382. ------------------------------------------------------------------------
  383.  
  384. TABLE OF CONTENTS
  385.  
  386. 1   Should I convert all of my FoxPro 2.0 reports to FoxPro for Windows?
  387. 2   I used the Quick Report option to create my initial report.  Now I 
  388.     want to add another field.  In FoxPro for MS-DOS, the Report menu popup 
  389.     contained an option called Field... which allowed me to add a single 
  390.     field.  What do I do in FoxPro for Windows?
  391. 3   I have included a memo-type field in my report but only the first 
  392.     line prints.  How can I fix this?
  393. 4   When I place a "stretched" memo field in the detail band, I find 
  394.     that the fields which display below the memo field are being 
  395.     overwritten by some of the longer memo fields.  How do I avoid this?
  396. 5   I have placed boxes around several fields in my report.  One of 
  397.     these fields is a memo field. How do I make the box stretch just 
  398.     like the memo field?
  399. 6   When I attempt to move a text object to a specific location in the 
  400.     Report Design window, the field keeps aligning itself with the 
  401.     nearest grid line.  Why is this happening?
  402. 7   How do I design and print multi-column reports in FoxPro 2.5 for 
  403.     Windows?
  404. 8   When I enlarge the font of objects in my report and print it, some 
  405.     of the information in the fields is obscured. How can I fix this?
  406.  
  407. ------------------------------------------------------------------------
  408. Question 1
  409.  
  410. Should I convert all of my FoxPro 2.0 reports to FoxPro for Windows?
  411.  
  412. Answer 1
  413.  
  414. You may not need to. Your existing character reports will run, preview, 
  415. and print unchanged in FoxPro for Windows.  The engine for printing 
  416. character reports is included in FoxPro for Windows.  If you want to 
  417. include graphical elements (fonts, pictures, etc.) in a report, then you 
  418. can convert the reports, or create new graphical reports from scratch.
  419. ------------------------------------------------------------------------
  420. Question 2
  421.  
  422. I used the Quick Report option to create my initial report.  Now I want 
  423. to add another field.  In FoxPro for MS-DOS, the Report menu contained an 
  424. option called Field... which allowed me to add a single field.  What do 
  425. I do in FoxPro for Windows?
  426.  
  427. Answer 2
  428.  
  429. New fields may be added using the field tool located in the toolbox on 
  430. the left side of the Report Design window.  See the FoxPro for Windows 
  431. User's Guide for additional information on the Report Writer toolbox.
  432. ------------------------------------------------------------------------
  433. Question 3
  434.  
  435. I have included a memo-type field in my report but only the first line 
  436. prints.  How can I fix this?
  437.  
  438. Answer 3
  439.  
  440. To display the entire contents of the memo field, you must make the 
  441. field stretch vertically to fit its contents. Double-click the report 
  442. field and select the Top - Field Can Stretch option from the Position 
  443. Relative To item. This field will now grow in size depending on the 
  444. length of the memo field. Select the Page Preview option to view the 
  445. result.
  446. ------------------------------------------------------------------------
  447. Question 4
  448.  
  449. When I place a "stretched" memo field in the detail band, I find that 
  450. the fields which display below the memo field are being overwritten by 
  451. some of the longer memo fields.  How do I avoid this?
  452.  
  453. Answer 4
  454.  
  455. Fields or objects positioned below the memo field are still being 
  456. displayed in a fixed position even though the memo field is now 
  457. stretchable. To avoid being overwritten, all objects below the memo 
  458. field should be positioned relative to the bottom of the Detail band. To 
  459. accomplish this, double-click on each of the fields and select the 
  460. Bottom option from the Position Relative To item. Select the Page 
  461. Preview option to view the result. If your report contains side-by-side 
  462. memo fields, fields with the Bottom option specified will display below 
  463. the longer of the two memo fields.
  464.  
  465. Note: The previous procedure applies to non-stretching fields and other 
  466. objects, such as lines and text. If you have stretching fields placed 
  467. below other stretching fields, you do not want to position them 
  468. "relative to bottom." Stretching fields automatically float below other 
  469. stretching fields.
  470. ------------------------------------------------------------------------
  471. Question 5
  472.  
  473. I have placed boxes around several fields in my report.  One of these 
  474. fields is a memo field. How do I make the box stretch just like the memo 
  475. field?
  476.  
  477. Answer 5
  478.  
  479. Double-click the box and select the Stretch With Band option from the 
  480. Position Relative To item.  Rectangles (boxes) and vertical lines have 
  481. the option to stretch according to the length of the Detail band.
  482.  
  483. Note:  You will not be able to place a stretching box around a field if 
  484. the field will not be positioned relative to the top or the bottom of 
  485. the band. Boxes must be positioned relative to the top or bottom of the 
  486. band.
  487. ------------------------------------------------------------------------
  488. Question 6
  489.  
  490. When I attempt to move a text object to a specific location in the 
  491. Report Design window, the field keeps aligning itself with the nearest 
  492. grid line. Why is this happening?
  493.  
  494. Answer 6
  495.  
  496. By default, objects are automatically aligned to the nearest invisible 
  497. grid lines within the Report Design window.  This feature is called Snap 
  498. to Grid and may be disabled by choosing the Snap to Grid option from the 
  499. Report menu.
  500. ------------------------------------------------------------------------
  501. Question 7
  502.  
  503. How do I design and print multi-column reports in FoxPro 2.5 for Windows?
  504.  
  505. Answer 7
  506.  
  507. Select Page Layout... from the Report menu option and use the Columns 
  508. spinner to select the number of columns desired.  Clicking the up arrow 
  509. increments the counter, whereas clicking the down arrow decrements the 
  510. counter.  The size of the Report Design window will be modified to 
  511. reflect the new column width.  Existing field positioning may need to be 
  512. modified.
  513.  
  514. Hint:  When creating a new report that you know you want set up in 
  515. columns, set the layout before you add any fields.
  516. ------------------------------------------------------------------------
  517. Question 8
  518.  
  519. When I enlarge the font of objects in my report and print it, some of 
  520. the information in the fields is obscured. How can I fix this?
  521.  
  522. Answer 8
  523.  
  524. You may need to stretch the detail lines and/or the objects themselves 
  525. to accommodate the larger font.
  526.  
  527.  
  528. ------------------------------------------------------------------------
  529. Screen Builder
  530. ------------------------------------------------------------------------
  531.  
  532. TABLE OF CONTENTS
  533.  
  534. 1   I don't own a mouse.  How can I use the tools to create a screen 
  535.     using the keyboard?
  536. 2   The Field dialog in the Screen Design window allows me to create 
  537.     only an input field (a GET) OR an output field (a SAY).  What 
  538.     happened to the Edit field option in the field dialog?
  539. 3   When I select the push button tool I have a choice of three button 
  540.     options:  Normal, Invisible and Picture.  Were these options 
  541.     available in FoxPro 2.0?
  542. 4   I know how to click and drag objects within the screen using the 
  543.     selection pointer tool.  Is there an easy way to move objects a 
  544.     small distance?
  545. 5   I have created a screen for my application which displays a number 
  546.     of fields.  After creating the application, I used the keyboard to 
  547.     step through the fields in this screen. The order in which the 
  548.     fields were accessed was not what I expected based on the physical 
  549.     arrangement of the fields.  How can I change the order in which the 
  550.     fields are accessed without changing the physical position?
  551. 6   When generating screens in FoxPro 2.0, I was able to tell the screen 
  552.     generator exactly what code to generate. These options included 
  553.     opening and closing files, defining and releasing windows and modal 
  554.     screens.  Is this option still available?
  555. 7   The Color option is no longer on the Screen menu.  How do I specify 
  556.     colors for my screen objects?
  557. 8   I have tried using an @... SAY statement to display the contents of 
  558.     a general field.  No matter what I do nothing appears.  What am I 
  559.     doing wrong?
  560. 9   I used the picture tool to place a picture field into my screen and 
  561.     specified the appropriate .BMP file.  In the area called If Picture 
  562.     and Frame Different Size please explain in more detail how the 
  563.     options will affect the display of the picture.  The options are 
  564.     Clip Picture, Scale Picture - Retain Shape and  Scale Picture - Fill 
  565.     the Frame.
  566. 10  I want to create a screen that allows online editing of OLE objects 
  567.     stored in a general field while a READ is active.  I have tried 
  568.     including a picture in my screen using the picture tool but I am not 
  569.     able to edit the displayed .BMP file.  Is there a way to do this?
  570. 11  Why can't I type as many characters into an input field as will fit?
  571. 12  How do I control the length of a memory variable independent of the
  572.     SIZE of an input field?
  573. 13  How can I be sure that a font I choose for my screens, etc. will be 
  574.     available at the client site?
  575.  
  576. ------------------------------------------------------------------------
  577. Question 1
  578.  
  579. I don't own a mouse.  How can I use the tools to create a screen using 
  580. the keyboard?
  581.  
  582. Answer 1
  583.  
  584. A mouse is required to create a screen with the Screen Builder.
  585. ------------------------------------------------------------------------
  586. Question 2
  587.  
  588. The Field dialog in the Screen Design window allows me to create only an 
  589. input field (a GET) OR an output field (a SAY).  What happened to the 
  590. Edit field option in the field dialog?
  591.  
  592. Answer 2
  593.  
  594. The edit field is now part of the new Edit Region dialog.  To create an 
  595. edit field, click the edit region tool located on the left-hand side of 
  596. the Screen Design window.  Notice that as you select the tool a brief 
  597. description appears in the status bar at the bottom of the screen. In 
  598. the Edit Region dialog the options Select on Entry and Initially Disable 
  599. Edit Region are new.  For additional information on these options see 
  600. the Edit Region Dialog topic in online help.
  601. ------------------------------------------------------------------------
  602. Question 3
  603.  
  604. When I select the push button tool I have a choice of three button 
  605. options: Normal, Invisible and Picture.  Were these options available in 
  606. FoxPro 2.0?
  607.  
  608. Answer 3
  609.  
  610. FoxPro for Windows has consolidated the pre-existing Invisible Button 
  611. and Push Button options into a single dialog.  The Picture type push 
  612. button is new. You can create push buttons using bitmap (.BMP) picture 
  613. files to graphically depict actions that will be initiated when 
  614. particular buttons are selected.  Picture files may also be used with 
  615. radio buttons and check boxes in FoxPro for Windows.
  616. ------------------------------------------------------------------------
  617. Question 4
  618.  
  619. I know how to click and drag objects within the screen using the 
  620. selection pointer tool.  Is there an easy way to move objects a small 
  621. distance?
  622.  
  623. Answer 4
  624.  
  625. Yes.  Select the object to be moved using the Selection Pointer
  626. tool and use the arrow keys to move the object a pixel at a time.
  627. ------------------------------------------------------------------------
  628. Question 5
  629.  
  630. I have created a screen for my application which displays a number of 
  631. fields.  After creating the application, I used the keyboard to step 
  632. through the fields in this screen. The order in which the fields were 
  633. accessed was not what I expected based on the physical arrangement of 
  634. the fields.  How can I change the order in which the fields are accessed 
  635. without changing the physical position?
  636.  
  637. Answer 5
  638.  
  639. To accomplish this return to your original screen.  From the Screen menu,
  640. select the Object Order... option.  This option opens the Object Order
  641. dialog.  Screen objects are listed according to their order of
  642. accessibility with the keyboard.  To change the access order for the
  643. objects, click the button to the left of the object and drag the 
  644. object to its new keyboard access position.  When complete, rebuild 
  645. your application to include the new field access order.
  646. ------------------------------------------------------------------------
  647. Question 6
  648.  
  649. When generating screens in FoxPro 2.0, I was able to tell the screen 
  650. generator exactly what code to generate. These options included opening 
  651. and closing files, defining and releasing windows and modal screens. Is 
  652. this option still available?
  653.  
  654. Answer 6
  655.  
  656. Yes. In the Generate Screen dialog, notice that there is a More button. 
  657. Choose this button and the dialog will expand to display the generate 
  658. code options.
  659. ------------------------------------------------------------------------
  660. Question 7
  661.  
  662. The Color option is no longer on the Screen menu.  How do I specify 
  663. colors for my screen objects?
  664.  
  665. Answer 7
  666.  
  667. To specify colors, first select the screen object or a group of objects. 
  668. To modify the background color of the object select Fill Color from the 
  669. Object menu.  To modify the outline and text of an object select Pen 
  670. Color from the Object menu.
  671.  
  672. The AUTOMATIC setting will match the Windows color sets. 
  673.  
  674. To change the background of the entire screen, choose Layout... from the 
  675. Screen menu and click on the Color option. You may choose a specific 
  676. color or select a wallpaper pattern by clicking Wallpaper and specifying 
  677. a specific .BMP file.
  678. ------------------------------------------------------------------------
  679. Question 8
  680.  
  681. I have tried using an @... SAY statement to display the contents of a 
  682. general field.  No matter what I do nothing appears.  What am I doing 
  683. wrong?
  684.  
  685. Answer 8
  686.  
  687. To display the contents of a general field use the picture tool.  The 
  688. field tool cannot be used to display a picture.
  689. ------------------------------------------------------------------------
  690. Question 9
  691.  
  692. I used the Picture tool to place a picture field into my screen and 
  693. specified the appropriate .BMP file.  In the area called If Picture and 
  694. Frame Different Size please explain in more detail how the options 
  695. will affect the display of the picture.  The options are Clip Picture, 
  696. Scale Picture - Retain Shape and  Scale Picture - Fill the Frame.
  697.  
  698. Answer 9
  699.  
  700. Remember that the following options only apply when the picture and 
  701. frame are of different sizes.
  702.  
  703. Choose Clip Picture if you want to retain the original dimensions of the 
  704. picture.  If the picture is larger than the frame only a portion of the 
  705. image will be displayed beginning with the top-left portion of the 
  706. picture.  Any portion of the picture that extends beyond the frame will 
  707. be hidden.
  708.  
  709. Choose Scale Picture - Retain Shape if you want to retain the overall 
  710. shape of the picture but fill as much of the frame as possible.  The 
  711. picture will be protected from vertical or horizontal distortion.
  712.  
  713. Choose Scale Picture - Fill the Frame if you want to fill the frame 
  714. completely.  The picture will be horizontally or vertically distorted as 
  715. needed to fill the frame.
  716. ------------------------------------------------------------------------
  717. Question 10
  718.  
  719. I want to create a screen that allows online editing of OLE objects 
  720. stored in a general field while a READ is active.  I have tried 
  721. including a picture in my screen using the picture tool but I am not 
  722. able to edit the displayed .BMP file.  Is there a way to do this?
  723.  
  724. Answer 10
  725.  
  726. Use the field tool to create a general field in your screen.  Select the 
  727. WHEN clause and enter the command MODIFY GENERAL <FLDNAME>
  728. in the code snippet area as a procedure.  Save the screen changes and
  729. regenerate your screen and/or application.  Now you will be able to edit
  730. the bitmap within the screen when the application is running.
  731. ------------------------------------------------------------------------
  732. Question 11
  733.  
  734. Why can't I type as many characters into an input field as will fit?
  735.  
  736. Answer 11
  737.  
  738. In a proportional font, each character is given as much vertical space 
  739. as it needs and no more.  For example, a lowercase "f" requires much 
  740. less space than an uppercase "W."  When an input field is placed in a 
  741. screen, FoxPro calculates the width of the field by taking the number of 
  742. characters in the table field times the average size of a character 
  743. in the specified font.  If the field is filled with wider-than-average 
  744. characters, the characters will not all fit within the input field, and 
  745. so the characters scroll.  If the field is filled with narrower-than-
  746. average characters, the characters will not fill the input field, and so 
  747. the characters do not appear to fill the input field.
  748. ------------------------------------------------------------------------
  749. Question 12
  750.  
  751. How do I control the length of a memory variable independent of the SIZE
  752. of an input field?
  753.  
  754. Answer 12
  755.  
  756. Use a picture clause to control the memory variable's length in conjunction
  757. with a SIZE clause to control the width of the input field.
  758. ------------------------------------------------------------------------
  759. Question 13
  760.  
  761. How can I be sure that a font I choose for my screens, etc., will be 
  762. available at the client site?
  763.  
  764. Answer 13
  765.  
  766. The safest way is to check your WIN.INI file and look for fonts that 
  767. have the words "All res" on the line.  These are standard Windows fonts 
  768. and, consequently, most likely to be available at a client site.
  769.  
  770.  
  771. ------------------------------------------------------------------------
  772. Product Support Questions
  773. ------------------------------------------------------------------------
  774.  
  775. TABLE OF CONTENTS
  776.  
  777. 1   Where can I go for additional pre-sale information such as pricing, 
  778.     upgrade policies, release dates, etc., on Microsoft Fox products?
  779. 2   How do I download the Windows Driver Library?
  780. 3   Where can I go for additional FoxPro product support?
  781. 4   If I do call for support or post a message on the Fox Forum what 
  782.     information should I include?
  783. 5   If I am deaf or hard of hearing where can I go for additional FoxPro 
  784.     product support?
  785. 6   I have some specific comments and suggestions on Microsoft Fox 
  786.     products.  Where can I direct these comments?
  787.  
  788. ------------------------------------------------------------------------
  789. Question 1
  790.  
  791. Where can I go for additional pre-sale information such as pricing, 
  792. upgrade policies, release dates, etc., on Microsoft Fox products?
  793.  
  794. Answer 1
  795.  
  796. Call 800-635-7194.
  797. ------------------------------------------------------------------------
  798. Question 2
  799.  
  800. How do I download the Windows Driver Library?
  801.  
  802. Answer 2
  803.  
  804. Microsoft provides the Windows Driver Library (WDL) on the Microsoft 
  805. Download Service (MSDL) from which users can obtain drivers and articles 
  806. directly via modem.  If you have a modem, the drivers are available at 
  807. no charge on CompuServe, GEnie, and Microsoft OnLine, as well as the 
  808. MSDL. 
  809.  
  810. The phone number for the MSDL is 206-936-6735. There is no connect-time 
  811. charge for using this service.  However, any standard connect-time fees 
  812. and long-distance telephone charges do apply during downloading.  After 
  813. you connect to one of these services, please read the WDL.TXT file for 
  814. downloading instructions and a complete list of files available on the 
  815. Download Service.
  816.  
  817. On CompuServe, the WDL is in the Microsoft Software Library, which you 
  818. can reach by typing "GO MSL" (without quotation marks) at the command 
  819. prompt. (To find WDL.TXT, search on S13354.)
  820.  
  821. On the GEnie and Microsoft OnLine systems, the WDL is in the Microsoft 
  822. Software Library. (To find WDL.TXT, search on S13354.)
  823.  
  824. If you don't have a modem, you can obtain the WDL on disk from Microsoft 
  825. End-User Sales.  To order the WDL on disk, call 800-426-9400, Monday 
  826. through Friday, 6:00 a.m.- 5:30 p.m., Pacific time.  There is a $20 fee 
  827. for ordering the WDL on disk.
  828. ------------------------------------------------------------------------
  829. Question 3
  830.  
  831. Where can I go for additional FoxPro product support?
  832.  
  833. Answer 3
  834.  
  835. Call *Microsoft FastTips* to hear recorded responses to common questions 
  836. about Microsoft FoxPro.  You can also order technical notes that will be 
  837. sent to your fax machine.  FastTips is available seven days a week, 24 
  838. hours a day.  For assistance with FoxPro, dial 206-635-7190.
  839.  
  840. Use the *Microsoft Forums* on CompuServe.  You can discuss current 
  841. support and design issues with other developers and download sample 
  842. files from the libraries.  For an introductory CompuServe membership kit 
  843. specifically for Microsoft users, dial 800-848-8199 and ask for operator 
  844. 170.  If you are already a CompuServe member, type GO MICROSOFT at any ! 
  845. prompt.  For specific FoxPro information, type GO FOXFORUM.
  846.  
  847. Use the *Microsoft Download Service* to access technical notes and 
  848. supplementary files covering common Microsoft product support issues.  
  849. This service is available via modem 24 hours a day, seven days a week at 
  850. 206-936-6735.
  851.  
  852. Call *Microsoft Product Support Services* between 6 a.m. and 6 p.m. 
  853. Pacific time, Monday through Friday.  For assistance with Microsoft Fox 
  854. products for MS-DOS or Windows, call 206-635-7191.  For assistance with 
  855. Microsoft Fox products for the Macintosh, call 206-635-7192.
  856.  
  857. Microsoft support services are subject to Microsoft prices, terms, and 
  858. conditions that are in place at the time the service is used.
  859. ------------------------------------------------------------------------
  860. Question 4
  861.  
  862. If I do call for support or post a message on the Fox Forum what 
  863. information should I include?
  864.  
  865. Answer 4
  866.  
  867. When you call, you should be at your computer and have the appropriate 
  868. product documentation at hand.  Be prepared to give the following 
  869. information:
  870.  
  871. * The version number of the Microsoft Fox product that you are using.  
  872.   This can be obtained by typing ?VERSION(1) in the Command window for 
  873.   FoxPro or at the dot prompt in FoxBASE+.
  874. * The type of hardware you are using, including network hardware if 
  875.   applicable; and the operating environment that you are using.
  876. * The contents of the following files: CONFIG.FP or CONFIG.FPW, 
  877.   CONFIG.SYS, AUTOEXEC.BAT, and any network configuration files.
  878. * The exact wording of any messages that appeared on your screen.
  879. * A description of what happened and what you were doing when the 
  880.   problem occurred.
  881. * Can you reproduce the problem using a small number of steps?
  882. * What steps have you already taken to solve the problem?
  883. ------------------------------------------------------------------------
  884. Question 5
  885.  
  886. If I am deaf or hard of hearing where can I go for additional FoxPro 
  887. product support?
  888.  
  889. Answer 5
  890.  
  891. Microsoft Product Support Services is available for the hearing
  892. impaired.  Using a special TDD/TT modem, dial 206-635-4948 between 
  893. 6 a.m. and 6 p.m. Pacific time, Monday through Friday.
  894.  
  895. Microsoft support services are subject to Microsoft prices, terms, and 
  896. conditions that are in place at the time the service is used.
  897. ------------------------------------------------------------------------
  898. Question 6
  899.  
  900. I have some specific comments and suggestions on Microsoft Fox products. 
  901. Where can I direct these comments?
  902.  
  903. Answer 6
  904.  
  905. We'd like to hear your comments about Microsoft Fox products and 
  906. services.  Help us make future versions of Microsoft Fox products even 
  907. better by giving us a call, sending a fax, dropping us a note, or 
  908. sending us electronic mail.  We'll consider your feedback in developing 
  909. future versions of Microsoft FoxPro.
  910.  
  911. Call us at 206-936-9474 and leave your comments using a touch-tone phone 
  912. 24 hours a day.
  913.  
  914. Fax us at 206-936-7329 and provide detailed comments 24 hours a day.
  915.  
  916. Send us a note at Microsoft FoxPro WishLine, One Microsoft Way, Redmond, 
  917. Washington  98052
  918.  
  919. If you have access to the Internet, send us electronic mail at:
  920. foxwish@microsoft.com.
  921.  
  922. Or, address CompuServe mail to:
  923. >INTERNET:foxwish@microsoft.com.