The Edit menu contains commands that enable you to modify and manipulate text and code. Many of the commands available in the Visual Basic 6.0 Edit menu also are available in the toolkit. However, there are some differences. For example, support for databases has been removed because Windows CE-based devices use the Microsoft® ActiveX® Data Objects (ADOCE) control to access and modify databases instead of the Database Designer in Visual Basic 6.0. To assist you in working with databases, Microsoft Windows CE Services 2.2 provides conversion functions for copying databases to a device from an Open Database Connectivity (ODBC) data source or from a Microsoft® Access database file.
The following table shows the Edit menu commands contained in the toolkit.
Command |
Description |
Undo | Reverses the last editing action, such as typing text in the Code window or deleting controls. |
Redo | Restores the last text editing if no other actions have occurred since the last Undo. |
Cut | Removes the selected control or text and places it on the Clipboard. |
Copy | Copies the selected control or text to the Clipboard. |
Paste | Inserts the contents of the Clipboard at the current location. |
Paste Link | Pastes a link to a valid dynamic data exchange (DDE) source. However, the toolkit does not support DDE. |
Delete | Deletes the currently selected control or text. |
Select All | Selects all the code in the active Code window. |
Find | Searches for the specified text in a search range specified in the Find dialog box. |
Find Next | Finds and selects the next occurrence of the text specified in the Find What field of the Find dialog box. |
Replace | Searches code in the project for the specified text and replaces it with the new text specified in the Replace dialog box. |
Indent | Shifts all lines in the selection to the next tab stop. |
Outdent | Shifts all lines in the selection to the previous tab stop. |
Insert File | Opens the Insert File dialog box so you can insert text from an existing file at the current pointer position in the Code window. |
List Properties/ Methods | Opens a drop-down list box in the Code window that contains the properties and methods available for the object that precedes the period (.). |
List Constants | Opens a drop-down list box in the Code window that contains the valid constants for a property that you typed and that precedes the equal sign (=). |
Quick Info | Provides the syntax for a variable, function, statement, method, or procedure selected in the Code window. |
Parameter Info | Shows a popup window in the Code window that contains information about the parameters of the function or statement. |
Complete Word | Fills in the remainder of the word you are typing once you have entered enough characters for the application to identify the word. |
Bookmarks | Displays a menu you can use to create or remove placeholders in the Code window, move to the next or preceding bookmark, or clear all the bookmarks. |