Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống
1
/ 64 trang
THÔNG TIN TÀI LIỆU
Thông tin cơ bản
Định dạng
Số trang
64
Dung lượng
860,76 KB
Nội dung
[...]... tables How to index mixed data types when creating a compound key How to index a buffered table Working with the database container Using long table names Using long field names - don't!!! Using database containers 16 1 16 2 16 2 16 4 16 5 16 9 17 1 17 2 17 3 17 3 17 5 17 6 17 8 18 0 18 2 18 2 18 4 18 7 19 0 19 5 19 7 19 7 19 7 19 7 19 9 200 202 204 206 208 209 209 210 211 211 215 217 218 218 220 220 2 21 222 xii How to validate... the one displayed by Visual FoxPro when I select "View Toolbars" from the menu? A mover list class What if I need to display hundreds of items in my combo box? Chapter 6: Grids: The Misunderstood Controls When do the events fire? Gotcha! Grid's valid fires before the valid of the current control 12 7 12 7 12 7 12 9 13 1 13 2 13 3 13 4 13 5 13 5 13 7 13 9 14 2 14 3 14 5 15 0 15 1 15 3 15 6 15 9 15 9 16 0 xi What is the difference... 508 510 511 511 512 512 513 514 515 515 516 517 518 520 5 21 522 523 523 524 525 526 526 527 xviii Conclusion Chapter 17 : Managing Reports How to leverage reports and datasessions How to create a report template for a project How to print a range of pages How to print 'Page x of y' on a report How to allow users to select number of copies How to find "Variable not found" errors in a report How to avoid... even have the tee-shirts), then this book is for you 2 10 01 Things You Always Wanted to Know About Visual FoxPro What is in this book? This book includes tried and tested solutions to common problems in Visual FoxPro together with some basic techniques for building Visual FoxPro tools and components The book is organized into chapters that attempt to group subjects under logical headings Each chapter... always set a proper search path to include all required directories Setting the default directory Normally you still will want to set a default (or "working") directory – this is where Visual FoxPro will look first for any file that it requires This can be done in a number of ways, depending on your requirements: 8 10 01 Things You Always Wanted to Know About Visual FoxPro • • • Specify a default in... labels The expanding edit box Calendar combo Command buttons Gotcha! Programming the logical controls Pages and page frames 85 85 87 88 89 92 10 1 10 2 10 3 10 7 11 1 11 1 11 8 12 0 12 1 12 2 Chapter 5: Combos and Lists Combo and list box basics List and ListItem collections When do the events fire? How do I bind my combo and list boxes? How do I refer to the items in my combo and list boxes? What is the difference... of Visual FoxPro, but the easiest, and most flexible, is still to use a configuration file Visual FoxPro uses a simple formatted text file, called "CONFIG.FPW" by default, as the source for a number of environmental values which can be set as the system starts up 4 10 01 Things You Always Wanted to Know About Visual FoxPro How to specify a config.fpw file The actual file name does not matter as you. .. SYSMENU TO DEFA;ACTIVATE WINDOW COMMAND;" SET FUNCTION 4 TO "CLEAR ALL;SET CLASSLIB TO; SET PROC TO; " SET FUNCTION 5 TO "DISP STRU;" SET FUNCTION 6 TO "DISP STAT;" SET FUNCTION 7 TO "DISP MEMO LIKE *" SET FUNCTION 8 TO "CLEAR;CLEAR WINDOWS;" SET FUNCTION 9 TO "MODI FORM " Chapter 1: Controlling the VFP Environment 7 SET FUNCTION 10 TO "MODI COMM " SET FUNCTION 11 TO "DO setpath WITH " SET FUNCTION 12 TO. .. 294 295 296 297 299 306 311 311 313 313 313 314 314 316 316 320 322 322 323 323 325 327 328 329 330 333 xiv How can I manage forms and toolbars in my application? The managed form class The managed toolbar class The form manager class Using the form manager How can I track and handle errors? Classifying Visual FoxPro' s errors Logging errors How can I simplify getting messages to my users? The standard... even if your startup program turns off the main screen with the 6 10 01 Things You Always Wanted to Know About Visual FoxPro command _Screen.Visible = F (which enables you to present your application's initial form, or a "splash" screen, without displaying the main VFP window first) SET Commands Virtually all of the standard SET commands can be issued in a configuration file The only thing to watch . 92 Handling time 10 1 A time entry text box 10 2 A time entry composite class 10 3 The true time spinner 10 7 Blinking labels 11 1 The expanding edit box 11 1 Calendar combo 11 8 Command buttons 12 0 Gotcha!. (fax) www.hentzenwerke.com books@hentzenwerke.com 10 01 Things You Wanted to Know About Visual FoxPro By Marcia Akins, Andy Kramek and Rick Schummer Technical Editor: John Hosier Copy Editor: Julie A. Martin Copyright. 277 Chapter 10 : Non -Visual Classes 313 Chapter 11 : Forms and Other Visual Classes 363 Chapter 12 : Developer Productivity Tools 3 91 Chapter 13 : Miscellaneous Things 423 Chapter 14 : Project Management 4 61 Chapter