Hiển thị kết quả từ 1 đến 3 / 3
  1. #1
    Tham gia
    04-09-2008
    Bài viết
    77
    Like
    9
    Thanked 24 Times in 21 Posts

    Sự khác biệt giữa FoxPro và Visual FoxPro

    Sự khác biệt ngữ:
    Visual FoxPro định nghĩa lại một số phiên bản FoxPro khoản 2.6. Để biết thêm thông tin về thuật ngữ mới, hãy xem bảng thuật ngữ trong Visual FoxPro trợ giúp.
    FoxPro Version 2.6 Term Visual FoxPro Term
    ---------------------------------------------
    @ ... GET field text box control

    Blanks or empty Null values
    fields or variables

    Browse (in a Form) Grid control

    Buffer Record and table buffers and transactions.
    (See "Buffering Access to Data" and "Using
    Transactions" in the Visual FoxPro Help file.)

    Code snippets Properties, methods, and event code.
    (See "Setting Properties at Design Time" and
    "Assigning Method and Event Code" in the Visual
    FoxPro Help file.)

    Control Control

    Database Database

    Edit region EditBox control

    Long names Long names.
    (See "Visual FoxPro Naming Rules" in the Visual
    FoxPro Help file.)

    Object Object

    Popup ComboBox control

    Power tools Visual designers and toolboxs.
    (See "Using Designers" and "Using Toolbars" in
    the Visual FoxPro Help file.)

    PushButton CommandButton control

    Radio button OptionButton control

    Screen Form

    Screen picture Image control

    Screen set Form set

    Table Table

    Text Label control

    Ngôn ngữ khác nhau:
    Mặc dù Visual FoxPro bao gồm lệnh mới FoxPro Phiên bản 2.6 lệnh để tương thích, chức năng và FoxPro Phiên bản 2.6 lệnh có nâng cao hoặc thay đổi chức năng trong Visual FoxPro.

    Visual FoxPro cho phép nhiều tên cho windows, các đối tượng, bảng và biến. Bạn có thể sử dụng ký tự tối đa 254, ngoại trừ tên trường bảng miễn phí và chỉ mục thẻ. (Để biết chi tiết, hãy xem "Visual FoxPro tên quy tắc" trong Visual FoxPro giúp)
    FoxPro 2.6 clause, command, Visual FoxPro command, function,
    function, or feature property, event, or method
    ---------------------------------------------------------------------
    @ ... SAY Left Property, Top property

    @ ... SAY PICTURE Image, OLE Bound

    BORDER BorderStyle property

    MOVE WINDOW CENTER AutoCenter property

    Color ColorSourceForeColor, BackColor property

    Color scheme ForeColor property, BackColor property,
    ColorScheme property

    Date data type Date Data Type and Date Time Type

    DBCONNECT SQLCONNECT( ) Function

    DBEXEC SQLEXEC( ) Function

    DEACTIVATE MENU, Deactivate Event
    DEACTIVATE POPUP,
    DEACTIVATE WINDOW

    @ ... GET DEFAULT Default property

    DEFINE WINDOW CLOSE Closable property

    DEFINE WINDOW FLOAT Movable property

    DEFINE WINDOW HALFHEIGHT HalfHeightCaption property

    DEFINE WINDOW ICON FILE Icon property

    EMPTY( ), BLANK( ) to check ISNULL( ) to check for null values
    for non-existent data representing unknown or non-existent data

    Enable, Disable Enabled property

    Font (Text Menu) FontName property

    Font size (Font dialog) FontSize property

    Font style bold (Font dialog) FontBold property

    Font style italic (Font dialog) FontItalic property

    @ ... SAY FUNCTION, Format property
    any @ ... GET FUNCTION

    Height Height property

    Horizontal position Left property
    (Screen Layout dialog)

    @ ... GET MESSAGE cMessageText StatusBarText property

    MODIFY SCREEN MODIFY FORM command

    MODIFY STRUCTURE TABLE Designer

    Numeric data type Numeric data type plus Float field type,
    Integer field type, Double field type,
    and Currency data type

    Picture InputMask property

    READ ACTIVATE ReadActivate event

    READ CYCLE ReadCycle property

    READ DEACTIVATE ReadDeactivate event

    READ LOCK ReadLock property

    READ NOMOUSE ReadMouse property

    READ SAVE ReadSave property

    READ SHOW ReadShow event

    READ TIMEOUT ReadTimeout property

    READ VALID ReadValid event

    READ WHEN ReadWhen event

    Screen Name Name

    SET NOCPTRANS (See "Preventing Translation of Data in
    Character or Memo Fields" in the Visual
    FoxPro Help file)

    SHOW GET, SHOW GETS Refresh method

    Size (Screen Layout dialog) Height, Width properties

    Style (Font dialog) FontBold, FontItalic, FontUnderline
    properties, FontShadow property,
    FontOutline property, FontStrikeThru
    property

    Terminate on selection TerminateRead property
    (Screen Builder)

    Title (Screen Builder) Caption property

    Valid (Screen Builder) Click event, DblClick event, LostFocus
    event, Valid event

    Valid Error ErrorMessage

    Vertical position Top property
    (Screen Layout dialog)

    When (Screen Builder) GotFocus event, When event

    Width (Screen Builder) Width property

    Bảng và cơ sở dữ liệu khác nhau
    Visual FoxPro phân biệt giữa các bảng và cơ sở dữ liệu. Mặc dù FoxPro Phiên bản 2.6 bảng đầy đủ chức năng trong Visual FoxPro, nếu bạn sửa đổi cấu trúc bảng FoxPro bảng, chúng được lưu dưới dạng Visual FoxPro bảng.
    FoxPro 2.6 feature Visual FoxPro feature
    or functionality or functionality
    ----------------------------------------------------------------------
    Character field with NOCPTRANS Character (BINARY) field type.
    characteristic (See "Data and Field Types"
    in the Visual FoxPro Help file.)

    General field size Now 4 bytes. (See "General Field Type" in
    the Visual FoxPro Help file.)

    Memo field size Now 4 bytes. (See "Memo Field Type" in
    the Visual FoxPro Help file.)

    Memo field with NOCPTRANS Memo (BINARY) field type. (See "Data and
    characteristic Field Types" in the Visual FoxPro Help
    file.)

    Numeric fields Currency data type, Double field type,
    Float field type, Integer field type, or
    Numeric data type.

    OLE data in a General field OLE Bound Control.

    Visual FoxPro bảng có thể chấp nhận giá trị rỗng. Để ngăn chặn lỗi được tạo ra bởi những nỗ lực để lưu trữ vô giá trị FoxPro Phiên bản 2.6 biến hoặc điều khiển Visual FoxPro, khởi tạo biến hay mảng. Để ngăn người dùng cố gắng lưu trữ vô giá trị bảng, bạn có thể tắt tổ hợp phím NULL mục bằng cách sử dụng câu lệnh này:
    ON KEY LABEL CTRL+0 *

    Cấu trúc của Visual FoxPro màn hình (.SCX), báo cáo (.FRX), và nhãn (.LBX) tập tin khác với cấu trúc FoxPro 2.6 tệp. Để biết chi tiết về cấu trúc Visual FoxPro bảng tệp được tạo trong biểu mẫu, báo cáo và nhãn thiết kế, hãy xem "Bảng cấu trúc của bảng Files" trong Visual FoxPro trợ giúp. Để biết chi tiết về những thay đổi được thực hiện để chuyển đổi và lưu dữ liệu tệp, hãy xem "Kiểm tra chuyển đổi FoxPro 2.6 báo cáo và nhãn" trong Visual FoxPro trợ giúp.
    Giao diện khác nhau:
    Ngoài những thay đổi trong giao diện Visual FoxPro, chẳng hạn như các phím tắt, chọn và công cụ khác nhau, bạn có thể muốn biết về thay đổi màn hình, báo cáo và nhãn cho giao diện ứng dụng của riêng bạn.
    Nhấn phím khác nhau
    Visual FoxPro định nghĩa lại một số phiên bản FoxPro 2.6 hướng tổ hợp phím.
    FoxPro 2.6 Key Visual FoxPro Key Definition or
    Combination Combination Difference
    ----------------------------------------------------------------------
    Ctrl + N Create a new file
    Ctrl + N Ctrl + Y Add a record to a Browse window
    Ctrl + O Ctrl + E DO program in edit window

    Bạn có thể chèn vô giá trị vào trường null kích hoạt bằng cách nhấn CTRL + 0. Nếu bạn không muốn người dùng của bạn để lưu trữ vô giá trị biến, vô hiệu hoá tổ hợp phím này với các lệnh sau:
    ON KEY LABEL Ctrl+0 *

    Trong Visual FoxPro, bạn nhấn phím TAB để di chuyển giữa các điều khiển, do đó, bạn không thể tab qua các tùy chọn trong hộp danh sách. Sử dụng các phím mũi tên để thay thế.
    Sự khác biệt đơn
    Visual FoxPro Hiển thị chỉ Menu với các tùy chọn hoạt động. Một số mục menu đã di chuyển đến vị trí khác nhau trong Visual FoxPro. Để biết thêm thông tin về Visual FoxPro menu, hãy xem "Hệ thống Menu tên" trong Visual FoxPro trợ giúp.
    FoxPro 2.6 menu command Visual FoxPro menu command
    -------------------------------------------------------------------
    1 1/2 Space (Text Menu) 1 1/2 Space (Format Menu)

    Append (Record Menu) Append Records (Table Menu)

    Append From (Database Menu) Import (File Menu)

    Beautify (Program Menu) Documenting Wizard (Tools Menu)
    professional Edition only

    FoxDoc (Program Menu) Documenting Wizard (Tools Menu)
    Professional Edition only

    Browse (Record Menu) Browse (View Menu)

    Change Links (Edit Menu) Links (Edit Menu)

    Copy To (Database Menu) Export (File Menu)

    Debug (Program Menu) Debug Window (Tools Menu)

    Delete (Record Menu) Delete Records (Table Menu)

    Double Space (Text Menu) Double Space (Format Menu)

    Enlarge (Text Menu) Enlarge (Format Menu)

    Find Again (Edit Menu) Find (Edit Menu)
    Replace and Find Replace (Edit Menu)
    Again (Edit Menu),
    Replace All (Edit Menu)

    Font (Text Menu) Font (Format Menu)

    Generate (Program Menu) Visual FoxPro generates only menus.

    Goto (Record Menu) Go To Record (Table Menu)

    Indent (Text Menu) Indent (Format Menu)

    Label (Database Menu) Print (File Menu)

    Locate (Record Menu) Locate Record (Table Menu)

    Macros (Program Menu) Macros (Tools Menu)

    Pack (Database Menu) Remove Deleted Records (Database Menu)

    Printer Setup (File Menu) Page Setup (File Menu)

    Recall (Record Menu) Recall Records (Table Menu)

    Reduce (Text Menu) Reduce (Format Menu)

    Reindex (Database Menu) Rebuild Indexes (Table Menu)
    Rebuild Indexes (Database Menu)

    Replace (Record Menu) Replace Records (Table Menu)

    Report (Database Menu) Print (File Menu)
    Label (Database Menu)

    Single Space (Text Menu) Single Space (Format Menu)

    Spelling (Text Menu) Spelling (Tools Menu)

    Trace (Program Menu) Trace Window (Tools Menu)

    Undent (Text Menu) Remove Indent (Format Menu)

    Công cụ khác nhau:
    Một số công cụ FoxPro 2.6 có tên mới và chức năng trong Visual FoxPro. Để biết thêm thông tin về thiết kế Visual FoxPro, hãy xem "Bằng cách sử dụng thiết kế" trong Visual FoxPro trợ giúp.
    FoxPro 2.6 tool Visual FoxPro tool
    -----------------------------------------------
    Catalog Manager Project Manager

    Project Manager Project Manager

    Screen Builder Form Designer

    Align (Object menu) Layout toolbox

    Screen Builder Toolbox Form Controls toolbox

    Control dialogs and Properties window
    screen layout dialogs

    Menu Builder Menu Designer

    RQBE Query Designer

    Report Writer Report Designer

    Label Designer Label Designer

    View window options Tools Menu items

    Transporter Conversion Options dialog box

    Browse window Grid Control

    Sự khác biệt màn hình:
    Bạn có thể chạy ỏi FoxPro Phiên bản 2.6 màn hình (.SPR) các tập tin trong Visual FoxPro. Visual FoxPro mẫu sử dụng mã sự kiện và phương pháp cài đặt thuộc tính thay vì đoạn mã.
    Visual FoxPro property,
    FoxPro 2.6 screen feature method, or event
    ------------------------------ ---------------------------------
    #DEFINE, #INSERT preprocessor Global include file called by new
    statements .SPR file. (See "Checking the .SPR File"
    in the Visual FoxPro Help file.)

    #Section 1 Setup code Form set Load event

    #Section 2 Setup code Form Load event

    Cleanup code except procedures Unload event

    Code snippets Method and event code and properties

    Constants Resolved only in method and event code
    (See "Checking the .SPR File" in the
    Visual FoxPro Help file.)

    Macro substitutions Unresolved in properties. Use variables
    instead (See "Checking Converted FoxPro
    2.6 Screens" in the Visual FoxPro Help
    file.)

    READ WindowType property

    Để biết thêm chi tiết về thay đổi màn hình mã trong biểu mẫu, hãy xem "Ngôn ngữ khác nhau" hoặc "Kiểm tra mã sau khi chuyển đổi" trong Visual FoxPro giúp.
    Báo cáo và nhãn khác nhau:
    Bạn có thể sử dụng ỏi FoxPro Phiên bản 2.6 báo cáo và nhãn Visual FoxPro nhưng Visual FoxPro báo cáo và nhãn cho phép bạn thiết lập và kiểm soát môi trường dữ liệu và báo cáo nội dung thông qua báo cáo biến điều khiển.
    FoxPro 2.6 report Visual FoxPro report
    or label feature or label feature
    ------------------------------------------------------------------------
    Controls generated with the Might need adjustment in Visual FoxPro
    Report Wizard using "Position
    Relative To" options

    Memo field size Now 4 bytes. (See "Memo field type" in
    the Visual FoxPro Help file)

    REPORT TO FILE REPORT TO FILE ASCII creates simple
    text file

    REPORT ENVIRONMENTLABEL Data Environment (View Menu)
    ENVIRONMENT (See "Setting Report and Data Sources"
    and "Controlling a Report's Data
    Sources" in the Visual FoxPro Help file)

    Để biết thêm thông tin về Visual FoxPro báo cáo và nhãn, hãy xem chủ đề "Thiết kế báo cáo" trong Visual FoxPro trợ giúp.
    giữa FoxPro và Visual FoxPro ự khác biệt giữa FoxPro và Visual FoxPro
    Quote Quote

  2. #2
    Tham gia
    03-12-2014
    Bài viết
    34
    Like
    0
    Thanked 3 Times in 3 Posts
    hoa hết mắt với đám chữ tiếng anh luôn ý :3

  3. #3
    Tham gia
    04-09-2008
    Bài viết
    77
    Like
    9
    Thanked 24 Times in 21 Posts
    FOX: FoxPro Version 2.6
    VFP: Visual FoxPro
    ---------------------------------------------
    FOX: @ ... GET field
    VFP: text box control
    FOX: Blanks or empty
    VFP: Null values
    FOX: fields or variables
    FOX: Browse (in a Form)
    VFP: Grid control
    FOX: Buffer
    VFP: Record and table buffers and transactions.(See "Buffering Access to Data" and "Using Transactions" in the Visual FoxPro Help file.)

    FOX: Code snippets
    VFP: Properties, methods, and event code. (See "Setting Properties at Design Time" and "Assigning Method and Event Code" in the Visual FoxPro Help file.)

    FOX: Control
    VFP: Control
    FOX: Database
    VFP: Database
    FOX: Edit region
    VFP: EditBox control
    FOX: Long names
    VFP: Long names.(See "Visual FoxPro Naming Rules" in the Visual FoxPro Help file.)
    FOX: Object
    VFP: Object
    FOX: Popup
    VFP: ComboBox control
    FOX: Power tools
    VFP: Visual designers and toolboxs. (See "Using Designers" and "Using Toolbars" in the Visual FoxPro Help file.)
    FOX: PushButton
    VFP: CommandButton control
    FOX: Radio button
    VFP: OptionButton control
    FOX: Screen
    VFP: Form
    FOX: Screen picture
    VFP: Image control
    FOX: Screen set
    VFP: Form set
    FOX: Table
    VFP: Table
    FOX: Text
    VFP: Label control

Bookmarks

Quy định

  • Bạn không thể tạo chủ đề mới
  • Bạn không thể trả lời bài viết
  • Bạn không thể gửi file đính kèm
  • Bạn không thể sửa bài viết của mình
  •