Mini Kabibi Habibi

Current Path : C:/Users/ITO/Desktop/VF9/program files/microsoft visual foxpro 9/samples/solution/
Upload File :
Current File : C:/Users/ITO/Desktop/VF9/program files/microsoft visual foxpro 9/samples/solution/solution.fpt

�@�This example illustrates populating a menu at run time. The menu is defined in the Menu Designer, but new menu items are added from a form with the DEFINE BAR command.�This example illustrates adding a check mark beside specific menu items at run time with the SET MARK OF command and disabling specific menu items at run time with SET SKIP.�This example includes columns in a grid with a ControlSource property setting of an expression or calculation.  Each row in the grid displays its own calculated value, which is dynamically updated.�This example illustrates displaying spinners (for numeric values) and check boxes (for logical values) in the columns of a grid. You can also specify whether the controls are always displayed or not.�This example illustrates setting the ForeColor and BackColor of grid columns on a row by row basis, depending on various criteria, using the DynamicForeColor and DynamicBackColor properties.�This example allows you to type a value in a text box, then add the value to a list.  You can also remove items from the list.  The key list box methods in this example are AddItem and RemoveItem.�This example illustrates changing the number of columns displayed in a list box at run time.  The key properties to set are ColumnCount, ColumnWidths, and RowSource.�This example illustrates moving one or more items from one list to another when a user clicks command buttons or drags and drops.�This example illustrates managing multiple selected items in a list box. Set MultiSelect to .T. to enable multiple selections. Loop through the list items and check the Selected property to manage.oThis example illustrates manipulating multiple items in a list box when the RowSourceType of the list is Files.�This example illustrates setting the Sorted property to .T. so that list items are alphabetically arranged and setting the MoverBars property to .T. so the user can order the items.�This example demonstrates how to fill a list with values, fields, array elements, table structure, queries, SQL statements, and files.�This example illustrates using a class with protected properties and exposed methods. For more description of this example, see Chapter 3, 'Object-Oriented Programming' in the Developer's Guide.eThis example illustrates using a class to display a system clock. You can drop the class on any form.`This example illustrates using a timer to perform an action at user-defined specified intervals.�This example presents an address book form with an adjustable number of tabs, each displaying a subset of customer names and phone numbers.mThis example illustrates programmatically changing the currently displayed page in a page frame without tabs.�This example illustrates creating a stored procedure in a database to automatically add an unique value to a field whenever a new record is added to the table.�This example illustrates the different order when you index on a character field that contains numbers and the VAL( ) of the field.�This example sets the order of the table to an index tag on a field when a user clicks the header of a column displaying the field.WThis example illustrates editing a memo field in a table or a text file in an edit box.�This example illustrates programmatically determining the database a table belongs to,  and the number of records, the number and type of fields, the index tags and the index expressions it has.�This example illustrates using a grid to display the child records in a 1-to-many-to-many relationship. As you move through the records in the parent, the child records are automatically displayed.|This example illustrates some Format and InputMask property settings, as well as some date display features, for text boxes.dThe example illustrates a variety of properties that can be set to customize command button display.�This example illustrates the values that can be displayed in a check box, as well as using a check box to toggle form behavior properties.�This example uses option buttons to present a short multiple-question quiz on Visual FoxPro. After you take the quiz, you can see your score and the correct answers.nThis example illustrates counting words, paragraphs, characters and searching for text strings in a text file.�This example uses six options buttons to let you choose one of the six button combinations (displayed in a page frame) in a MESSAGEBOX command.�This example illustrates providing functionality from a menu and a toolbar so that the same code is executed and both items and buttons can be disabled together.�This example illustrates providing functionality from a menu and a toolbar so that the same code is executed and both items and buttons can be disabled together.�This example illustrates declaring a Windows API function (GetSystemTime) that requires a pointer to a struct of 16 bit unsigned integers. The struct values are stored in a string and parsed out for information.�This example illustrates declaring a Windows API function (SetSysColors) that requires pointers to arrays of integers. You can programmatically get and set the system colors from Visual FoxPro.�This example illustrates reading Visual FoxPro settings from the Windows Registry and writing new values back out to the Registry.�This example illustrates checking to see if an application is registered and retrieving application and version information from the Windows Registry.�This example illustrates populating a list with members of a database and using the Picture property of the list to display an image beside the list.�This example illustrates allowing a user to interactively add and delete nodes in a treeview control.  You can also save your treeview settings to a table and restore them later.`This example uses OLE automation to change the type of graph and its legend displayed in a form.JThis example illustrates displaying file structures in a treeview control.oThis example illustrates reading information about ODBC drivers and datasources stored in the Windows Registry.OThis example illustrates automating Excel for trend analysis and chart display.�This example illustrates using the DATA clause of the APPEND GENERAL command to refresh an MS Graph graph based on user interaction.This example illustrates how to add an OLE Control with an embedded Word object and change that object through OLE Automation. PThis example illustrates using BEGIN TRANSACTION, END TRANSACTION, and ROLLBACK.�This example illustrates displaying an SDI form, adding a menu to an SDI form, adding a toolbar to an SDI form, and displaying child windows in a form.sThis example illustrates the differences in size between various types of indexes on numeric and character fields. �This report example illustrates how to calculate a percentage total within a detail or group section, using a total value that is printed in the report summary.
�This example illustrates adding the value typed in the textbox part of a combo box to the drop-down part of the combo box.  It further illustrates locating records based on user input.�The example illustrates using a class ("resizable" in SOLUTIONS.VCX) to resize and reposition specified objects on a form whenever the form is resized.�This example illustrates implementing drag and drop operations -- repositioning a control with manual drag and drop, and taking an action with automatic drag and drop.dThis example illustrates setting the display characteristics of selected text in a RichText control.�This example allows you to draw lines and shapes on a form by clicking the left mouse button and dragging. You can also set pen styles and see how they affect drawing.eThis example demonstrates drawing lines based on equations with both polar and cartesian coordinates.�This example demonstrates saving coordinates of sets of lines drawn on a form and redrawing them, along with additional lines at intermediate positions, giving the illusion of motion.]This example illustrates adding, editing, and deleting records from a single table on a form.qThis example illustrates adding, editing, and deleting records from tables in a relationship displayed on a form.�This example illustrates displaying an SDI form, adding a menu to an SDI form, adding a toolbar to an SDI form, and displaying child windows in a form.�This example illustrates returning a value from a form.  A logon form is displayed.  When you close it, the user who logged on is returned to a calling form.�What's This Help allows you to provide context-sensitive help on a control by control basis.  This example also illustrates using animated cursors in a drag and drop operation.�This example illustrates allowing a user to type a value in a text box associated with a table field and filter the table based on that value.�This example illustrates setting properties of objects in a form set at run time.  Please see the Visual FoxPro help topic "Creating Forms" for more information.gThis example shows running the same form multiple times and managing data conflicts in each instance.  UThis example illustrates setting properties of the slider and statusBar OLE controls.�This example uses multiple field controls with different font and color settings to display information.  Conditions in the Print When dialog box determine when each of the field controls is displayed.KThis example illustrates printing invoice information from multiple tables.yThis example illustrates using Print When conditions in a report to print detail lines with alternating background fills.�This example illustrates wrapping text around general field bitmaps, alternating display of bitmaps, and using lines and shapes to print records in an attractive layout.qThis query retrieves customer names, associated order numbers, and all the line items associated with each order.�A full outer join allows you to retrieve all records from both tables and shows you all the matching records first, then records with .NULL. values where a match was not found in the other table.
�The query retrieves only records from two related tables that match the join criteria.  Any row from one table that does not have a matching row in the other table is not included.EThis query retrieves records from tables joined with two inner joins.�A right outer join retrieves all records from the table on the right side of the join criteria and only records that match the join criteria from the table on the left side of the join criteria.�A left outer join retrieves all records from the table on the left side of the join criteria and only records that match the join criteria from the table on the right side of the join criteria.mThis example illustrates taking data from combo boxes and text boxes and constructing a SQL SELECT statement.tThis example illustrates playing sound a video files using Multimedia Control Interface commands of the Windows API.KThis sample uses the ActiveX SysInfo control to display system information.�This query uses the Top N feature to retrieve the top ten best selling products based on total dollar amount made through sales.}This query uses the Top N feature to retrieve the worst ten selling products based on total dollar amount made through sales.^This example shows how to pass parameters to a form and return a value back from another form.OThis Customer mailing label shows how to set up a typical mailing label report.FThis example shows the different characteristics of the image control.dThis example shows how to pass data from VFP to Excel.  You must have both Word and Excel installed.eThis example shows how you can develop shortcut menus to speed access to commonly used functionality.VThis example shows how you can create a toolbar that interacts with objects on a form.<This example shows how to use MAPI within your applications.;This example shows using the ActiveX common dialog control.NThis example shows how to retrieve version information from EXE and DLL files.pThis sample allows users to choose a predetermined value from a list and store that value to a field in a table.�This sample illustrates an alternative way to display shortcut menus, using an array and the DEFINE POPUP command rather than the Menu Designer.�This sample allows you to choose a year and a quarter.  You can then display a graph of the product sales for that quarter in the form and in a report.�This sample uses a custom ActiveX� Control (Paper.OCX, created using Visual C++ 4.1 and the Ole Control Wizard) to demonstrate the MultiMedia Player control playing an AVI.
HThis parameterized view displays customers from the country you specify.This samples uses automation classes to create Word mail merges, Excel pivot tables, Graph charts and Visual FoxPro cross-tabs.[Add a variety of common buttons such as a help or application launcher button to your form.kUse a nifty conflict resolution dialog to display old, current and new data values for the user to resolve.7Use this ActiveX Control calendar to bind a Date field.FAdd wizard style edit buttons to 1-to-many relationship complex forms.;Add wizard style edit buttons to simple single table forms.IUse data lookup and unique value comboboxes to help users selecting data.`This sample has various types of record navigation including VCR style buttons and goto dialogs.TYou can add data querying to your applications such as via find buttons and dialogs.VAdd data sorting and filtering buttons, toolbars, menus and dialogs your applications.�This example shows a variety of common dialogs you might use in your application including aboutbox, splash screen, and user login forms.iTake advantage of the internet with this sample that shows how you can easily publish Visual FoxPro data.SThis example shows a number of common environment tasks that all applications need.~This is a nice little error handler for your application which also includes capabililty for user to view error and add notes.nYou can use this control to allow a user to select both file and directory such as for creating a new project.�Take the hastle out of creating charts which are bound to fields in a single record. This sample also includes record navigation and automatic chart updating.|This example shows a variety of hyperlinks you can use with forms for navigating via your web browser to any web site (URL).`Add "coolbar" highlighting to any Visual FoxPro control like with the Internet Explorer coolbar.�This sample shows a number of useful mover listboxes for moving items between one list and another. It includes useful ones for handling tables and fields.�Use this valuable shortcut menu class to add a context menu to any Visual FoxPro object. You can also create cascading menus with it.�This sample shows off one of the most useful foundation classes, the OutputDialog class. You can use this for offering your user a variety of output/reporting options.gShow activity progress with this thermometer class that mimics those used by the Visual FoxPro product.qAdd the web browser control to your form to simulate having a fully functional web browser done in Visual FoxPro.LYou can handle top-level form tasks and cascading windows with this utility.?This sample shows advanced array handling for your application.lHere are two similarly functioning controls, each with a different interface, showing off OLE drag and drop.ZHere is a sampling of fun OLE drag and drap ideas you might want to use in an application.�This sample is a useful utility for detemining data formats that a particular objects support. In addition to the samples on the form, you can also drag/drop from outside sources such as the Windows Explorer.�This samples shows the Visual FoxPro type library control which can be used to read type libraries from any COM component or ActiveX control.|An assortment of access/assign methods used for various features including validation, object management and audit tracking.�The new project manager hooks allow you to include track events associated with the project such as adding,  modifying, deleting files and building applications. This sample keeps an audit trail of this activity.{The Microsoft Agent technology can provide valuable user assistance to your applications similarly to the Office Assistant.dThis special class offers some additional features that the native SetAll() method does not provide.�Regular expressions are used by developers to do wildcard searches on text and files beyond simple pattern searching such as those involving * and ?.�Visual FoxPro has support for DBC events that allow you to have code executed for actions such as opening tables, modifying views, closing databases, etc. �The Windows Crypto API routines offer full encryption services for your applications. This VFP wrapper class allows you to encrypt text, files and even database fields.�This sample shows different architectures for exchanging datasets between a VFP client and a middle tier written in VFP and VB.NET using XML Web Services. �Visual FoxPro has property settings to allow for hot tracking and other special effects. The new MouseEnter/MouseLeave events provide additional fine control for these types of operations.�Enhancements to the DEFINE BAR command in VFP let you add personalized menus similarly to Windows 2000 or Office 2000. You can control which menu items are viewed by default and which are hidden.XWindows 2000 lets you add special effects to your forms such as making them Transparent.vYou can use VFP control properties to add Office style controls to toolbars such as a picture dropdown in this sample.�This sample shows some of the new grid enhancements in VFP 8.0 including new grid highlighting options, auto fit of columns and using image headers.Visual FoxPro supports XP themes at three different levels; 1) the Application level via SYS(2700) and the _SCREEN.Themes property, 2) at the form level via the Themes property, and 3) at the control level. Run this sample to play with the different levels of VFP themes support.You can use the TRY...CATCH...FINALLY statements for structured exception handling. This allows you to execute a particular block of statements if a specified exception occurs while your code is running. Run this sample to see structured exception handling in action.VFP 8.0 allows you to specify member classes for Pageframes, Optiongroups, Commandgroups, Grids, and Columns. You can also now subclass page, optionbutton, header, and column classes. Take a look at how this sample uses PRG-based and VCX-based member classes.�This sample shows you how to use the BindEvents(), RaiseEvents() and Aevents() functions. Use BindEvents() so that your methods can respond to Visual FoxPro events and RaiseEvents() to programatically raise them.hThis sample shows how you can create irregular shaped Visual FoxPro forms in Windows 2000 and WindowsXP.�The XMLAdapter is a class that has the ability to generate XML from multiple cursors. It can also recreate multiple cursors from XML, such as ADO.NET datasets. This sample demonstrates some of the many uses of this class.#Simple sample database for testing."Use the _PoolManager class when you repeatedly need objects for a limited period of time and those objects are slow to create or require access to time-consuming or limited resources such as database connections. This class uses the VFP Collection base class to store the object references.�This sample saves and restores some form properties to and from a table using GATHER NAME and the new SCATTER NAME ... ADDITIVE enhancement.  The ADDITIVE clause allows for an existing object to be updated with values from the current record.�This sample uses the COMARRAY function in order to pass a strongly typed array by reference to a COM Server which performs calculations and modifies the contents of the array.  The client form uses the new DIMENSION... AS syntax for declaring the strongly typed array. The COM Server is also written in VFP and demonstrates the new interface declaration syntax for specifying ByRef typed arrays in the generated COM type library.bThis sample form shows some common uses of the sample Systray class. This class provides support for using icons in the Taskbar Notification Area commonly referred to as the System Tray. It supports mouse events, balloon tips and Visual FoxPro shortcut menus for your System Tray icon so you can use all the features of the Visual FoxPro menu designer.
�This sample shows different architectures for exchanging datasets between a VFP client and a middle tier written in VFP and VB.NET using XML Web Services. RThis sample showcases three cursor adapters built with the CursorAdapter Builder with different datasource types; Native, ODBC, and ADO. The ODBC and ADO cursor adapters attempt to attach to your local SQL-Server Northwind database. If you have this database installed, you will be able to see these cursor adapters in action at runtime. �This sample shows how to create a cursor from an XML dataset using the CursorAdapter and XMLAdapter classes and how to bind that data to form controls.�This sample demonstrates how to perform operations against MSN Messenger using the Messenger API and Windows Scripting Host. You can use these methods to automate sending of messages, email and files to any MSN user from your processes. �The Windows Logo program can be a useful selling feature of your product, especially with customers that may be require this certification. Visual FoxPro Tastrade Database.�The new Anchor property allows you to choose which borders a visual control on a form is bound to when that form is resized. This sample shows many common anchor settings.�This sample uses a dockable form that contains an invisible pageframe. The active page is set by the AfterDock event when the form is docked and undocked.gYou can use the new Polypoints property to create polygons and polylines with shape and line controls. �This sample explores the various properties that can be used to control image and caption placement / orientation for buttons and checkboxes.�A fun sample that uses the Windows Media Player Activex Control to play music and display visualization on your Visual FoxPro desktop. This sample also uses Anchoring so that you can resize the desktop and have media player resize with it.pYou can use this utility to scan folders (and subfolders) for corrupted Memo fields in your Visual FoxPro files.�You can now use BINTOC() and CTOBIN() when converting between numeric data and binary strings. This is often useful when working with Win32 API Structs. This utility shows various BINTOC() and CTOBIN() return values based on parameters being passed.gThis sample shows how GDI+ can be used in a ReportListener to replace a shape object with column chart.zThis sample shows how to use the EvaluateContents method of a ReportListener class to change the format of a report field.(HTML and XML Output with ReportListeners�This example show the typical use of a multiple detail band report -- ability to print detail from multiple child tables each having the same parent table.�You can also use a multiple detail band report to process the same table mutiple times such as for calculations like percent of total.fWith the _ReportListener FFC class, you can have your report processed to mutiple output destinations fWith the _ReportListener FFC class, you can have your report processed to mutiple output destinations.zYou can create special scripts in your Foxcode IntelliSense table to provide custom handling for native and context menus.zYou can create special scripts in your Foxcode IntelliSense table to provide custom handling for native and context menus.DWith Visual FoxPro 9, you can use a simple form to preview a report.SThis sample shows how you can preview reports directly in your Visual FoxPro forms.�This is a useful add-in for the Coverage Profiler utility that allows you to identify areas in your code where you might want to improve performance. It allows you to view, sort and search lines of code based on their execution times.Visual FoxPro allows you to use the BINDEVENT() function to bind to Windows Message events. These include events such as application switching, inserting media into your computer, attempting to shutdown or place computer in stand-by mode, file/folder changes and many more.dThis is the Visual FoxPro version of the common Northwind sample database available with SQL Server.iUse ReportListeners to generate different types of outputs for your reports including HTML, XML and TIFF.eUse ReportListeners to generate different output types for your reports including HTML, XML and TIFF.