VFP 愛用者社區 首頁 VFP 愛用者社區
本討論區為 Visual Foxpro 愛用者經驗交流的地方, 請多多利用"搜尋"的功能, 先查看看有無前例可循, 如果還有不懂的再發問. 部份主題有附加檔案, 須先註冊成為社區居民才可以下載.
 
 常見問題常見問題   搜尋搜尋   會員列表會員列表   會員群組會員群組   會員註冊會員註冊 
 個人資料個人資料   登入檢查您的私人訊息登入檢查您的私人訊息   登入登入

[翻譯] Chm For VFP9 Beta Release
前往頁面 上一頁  1, 2, 3 ... , 12, 13, 14  下一頁
 
發表新主題   回覆主題    VFP 愛用者社區 首頁 -> VFP 討論區
上一篇主題 :: 下一篇主題  
發表人 內容
朱育興



註冊時間: 2003-08-25
文章: 661
來自: 台中市大里區

第 181 樓

發表發表於: 星期六 一月 01, 2005 9:20 pm    文章主題: 引言回覆

如何:傳遞參數給表單


在執行表單時,為設定屬性值或者指定動作的預設值,有時需要將參數傳遞到表單。



若要將參數傳遞到在 [表單設計工具] 中建立的表單

1.建立容納參數的表單屬性,如 ItemName 和 ItemQuantity。

2.在表單的 Init 事件程式碼中,包含 PARAMETERS 敘述如下:

PARAMETERS cString, nNumber

3.在表單的 Init 事件程式碼中,將參數指派給屬性,如下例所示︰

THIS.ItemName = cString
THIS.ItemQuantity = nNumber

4.當執行表單時,在 DO FORM 命令中包括一個 WITH 子句:

DO FORM myform WITH "Bagel", 24



相關資訊

處理表單

如何:隱藏表單

如何:將表單存成 HTML 檔案

建立表單

如何:管理表單的多個案例

如何:設定表單的設計區域

如何:從表單傳回值




----------------------------------------------------------------------------------------------
原文:


How to: Pass Parameters to a Form


Sometimes you want to pass parameters to forms when you run them to set property values or specify operational defaults.



To pass a parameter to a form created in the Form Designer

1.Create properties on the form to hold the parameters, such as ItemName and ItemQuantity.

2.In the Init Event code for the form, include a PARAMETERS statement such as:

PARAMETERS cString, nNumber

3.In the Init event code for the form, assign the parameters to the properties, as in this example:

THIS.ItemName = cString
THIS.ItemQuantity = nNumber

4.When running the form, include a WITH clause in the DO FORM Command:

DO FORM myform WITH "Bagel", 24



See Also

Working with Forms

How to: Hide a Form

How to: Save a Form as HTML

Creating Forms

How to: Manage Multiple Instances of a Form

How to: Set the Design Area for a Form

How to: Return a Value from a Form

_________________
希望有更多人來參與
VFP wiki - 需要大家一起完成的VFP電子書與FAQ
回頂端
檢視會員個人資料 發送私人訊息 發送電子郵件 MSN Messenger
578gy



註冊時間: 2005-01-02
文章: 1


第 182 樓

發表發表於: 星期日 一月 02, 2005 1:57 am    文章主題: 引言回覆

哪里有下载啊?
回頂端
檢視會員個人資料 發送私人訊息
朱育興



註冊時間: 2003-08-25
文章: 661
來自: 台中市大里區

第 183 樓

發表發表於: 星期日 一月 02, 2005 9:36 pm    文章主題: 引言回覆

TO 578gy

這是我自己翻譯的,還沒翻譯完,不過這是 Beta 版,我已經停止翻譯了,目前還每日一帖只是將剩下已翻譯過的貼上;等到用完了就代表這篇結束。

現在是專心在正式版上的翻譯,發表模式要採取另一種模式來發表,到時就知道了。

_________________
希望有更多人來參與
VFP wiki - 需要大家一起完成的VFP電子書與FAQ
回頂端
檢視會員個人資料 發送私人訊息 發送電子郵件 MSN Messenger
朱育興



註冊時間: 2003-08-25
文章: 661
來自: 台中市大里區

第 184 樓

發表發表於: 星期日 一月 02, 2005 9:37 pm    文章主題: 引言回覆

如何:從表單傳回值


在整個應用程式中您都可以使用表單,讓使用者指定值。



若要從表單傳回值

1.將表單的 WindowType 屬性設定為 1,使表單成為強制回應表單。

2.在與表單的 UnLoad 事件相關的程式碼中,包含一個傳回值的 RETURN 命令。

3.在執行表單的程式或方法程序中,在 DO FORM 命令中包含 TO 關鍵字。

例如,如果 FindCustID 是一個傳回字元值的強制回應表單,下面的一行程式碼將傳回值傳回到一個名為 cCustID 的變數中:

DO FORM FindCustID TO cCustID


相關詳細資訊請參閱「RETURN 命令」和「DO FORM 命令」。

注意:
如果出現錯誤,請確保將 WindowType 設定為 1 (強制回應)。



相關資訊

處理表單

Unload 事件

如何:傳遞參數給表單

RETURN 命令

DO FORM 命令




----------------------------------------------------------------------------------------------
原文:


How to: Return a Value from a Form


You can use forms throughout your application to allow users to specify a value.



To return a value from a form

1.Set the WindowType Property of the form to 1 to make the form modal.

2.In the code associated with the Unload event of the form, include a RETURN Command with the return value.

3.In the program or method that runs the form, include the TO keyword in the DO FORM Command.

For example, if FindCustID is a modal form that returns a character value, the following line of code stores the return value to a variable named cCustID:

DO FORM FindCustID TO cCustID


For more information, see RETURN Command and DO FORM Command.

Note:
If you get an error, make sure the WindowType is set to 1 (Modal).



See Also

Working with Forms

Unload Event

How to: Pass Parameters to a Form

RETURN Command

DO FORM Command

_________________
希望有更多人來參與
VFP wiki - 需要大家一起完成的VFP電子書與FAQ
回頂端
檢視會員個人資料 發送私人訊息 發送電子郵件 MSN Messenger
朱育興



註冊時間: 2003-08-25
文章: 661
來自: 台中市大里區

第 185 樓

發表發表於: 星期二 一月 04, 2005 12:53 am    文章主題: 引言回覆

如何:管理表單的多個案例 


在同一時期,可以有一個類別定義的多個案例作用。例如,只設計一個訂購表單,而在應用程式中擁有幾個開啟的訂購單,每一個都使用相同的表單定義,但可獨立地顯示和動作。

當您管理一個表單的多個案例時,必須記住以下要點:

•在啟動表單中建立一個陣列屬性,陣列中的每個元素用來存放一個表單的案例變數,在您事先不知道有多少個案例時,追蹤案例變數的最簡便的方法就是使用陣列。

•對於擁有多個案例的表單,將其 DataSession 屬性設定為 [2 — 私有資料表格作業區]。私有資料表格作業區為表單的每個案例提供一個獨立的工作區,因此選取的資料表格和資料記錄指標的位置都是獨立的。



範例

下例中的程式碼展示了表單的多個案例的建立,為簡潔起見,程式碼未做最佳化,只是提供了一個概念。

下面的表單啟動多個案例:

Launch.scx 的屬性設定
--------------------------
物件   屬性   設定值
--------- --------- ------
frmLaunch aForms[1] " "
--------------------------

Launch.scx 的事件程式碼
--------------------------------------------------------------------
物件   事件 程式碼
--------- ----- ----------------------------------------------------
cmdQuit  Click RELEASE THISFORM
cmdLaunch Click nInstance = ALEN(THISFORM.aForms)
        DO FORM Multi NAME THISFORM.aForms[nInstance] LINKED
        DIMENSION THISFORM.aForms[nInstance + 1]
--------------------------------------------------------------------

進一步撰寫本例的程式碼時,您可以管理表單物件陣列,使得關閉表單後,空的陣列元素能被作為開啟的表單重新使用。否則,陣列的大小將不斷增加,元素的個數也逐個增加。

Multi.scx 是具有多個案例的表單。這個表單的資料環境包含 Employee 資料表格。



Multi.scx 的屬性設定
-------------------------------------------------
物件     屬性     設定值
------------ ------------- ----------------------
txtFirstname ControlSource Employee.first_name
txtLastName ControlSource Employee.last_name
frmMulti   DataSession  2 - 私有資料表格作業區
-------------------------------------------------

當您在 [啟動] 表單選定 [啟動表單] 按鈕時,就建立一個 [多個案例] 表單的案例。在關閉 [啟動] 表單後,屬性陣列 aForms 被釋放,[多個案例] 表單的所有案例都被清除。

Visual FoxPro 提供了一些函數和屬性來輔助您管理物件的多個案例。相關詳細資訊請參閱「AINSTANCE( ) 函數」、「AUSED( ) 函數」和「DataSessionID 屬性」。



相關資訊

處理表單

如何:將表單存成 HTML 檔案

如何:設定表單的設計區域

建立表單

如何:使用本地和遠端資料建立表單

DataSession 屬性 




----------------------------------------------------------------------------------------------
原文:


How to: Manage Multiple Instances of a Form 


You can have multiple instances of a class definition active at a time. For example, you can design one order form but have several open orders in your application. Each uses the same form definition but is displayed and manipulated individually.

When you have multiple instances of a form, the key points to remember are:

•Create an array property in the launching form to hold the object variables associated with each instance of the multiple instance form. The easiest way to keep track of instance variables when you don't know ahead of time how many there will be is to use an array.

•For the form that is to have multiple instances, set the DataSession Property to 2 – Private Data Session. A private data session provides a separate set of work areas for each instance of the form so that selected tables and record pointer positions are all independent.



Example

The following example provides code that demonstrates creating multiple instances of a form. For the sake of brevity, this code is not optimized; it is intended only to present the concepts.

The following form launches multiple instances:

Property Setting for Launch.scx
---------------------------
Object  Property Setting
--------- --------- -------
frmLaunch aForms[1] " "
---------------------------

Event Code for Launch.scx
--------------------------------------------------------------------
Object  Event Code
--------- ----- ----------------------------------------------------
cmdQuit  Click RELEASE THISFORM
cmdLaunch Click nInstance = ALEN(THISFORM.aForms)
        DO FORM Multi NAME THISFORM.aForms[nInstance] LINKED
        DIMENSION THISFORM.aForms[nInstance + 1]
--------------------------------------------------------------------

In refining the code in this example, you could manage the array of form objects so that empty array elements reused as forms are closed and new forms are opened, rather than always redimensioning the array and increasing the number of elements by one.

The form that can have multiple instances is Multi.scx. The data environment for this form contains the Employee table.



Property Setting for Multi.scx
---------------------------------------------------
Object    Property   Setting
------------ ------------- ------------------------
txtFirstname ControlSource Employee.first_name
txtLastName ControlSource Employee.last_name
frmMulti   DataSession  2 - Private Data Session
---------------------------------------------------

When you choose Launch Form in the Launcher form, an instance of the Multi form is created. When you close the Launcher form, the property array aForms is released and all instances of Multi are destroyed.

Visual FoxPro provides some functions and properties to help you manage multiple instances of objects. For more information, see AINSTANCE( ) Function, AUSED( ) Function, and DataSessionID Property.



See Also

Working with Forms

How to: Save a Form as HTML

How to: Set the Design Area for a Form

Creating Forms

How to: Create Forms with Local and Remote Data

DataSession Property

_________________
希望有更多人來參與
VFP wiki - 需要大家一起完成的VFP電子書與FAQ
回頂端
檢視會員個人資料 發送私人訊息 發送電子郵件 MSN Messenger
朱育興



註冊時間: 2003-08-25
文章: 661
來自: 台中市大里區

第 186 樓

發表發表於: 星期二 一月 04, 2005 10:38 pm    文章主題: 引言回覆

停駐表單


您可以用停駐工具列的同樣方法來停駐表單。然而,與停駐的工具列不同,停駐的表單調整填滿它們要停駐項目的停駐區域的大小,但是僅影響尺寸被改變。例如,如果在目標物件的右邊停駐表單時,表單的寬度不會改變。



您可以在 Visual FoxPro IDE 視窗內連結停駐或標籤式停駐使用者自定的表單。當它們共用一個容器時,一個表單可連結停駐到另一個表單。當它們每個表單顯示您能按一下顯示的標籤時,一個表單可標籤式停駐到另一個表單。當表單停駐後,表單上的控制項仍可以接受焦點。當表單是沿著 Visual FoxPro 桌面視窗的邊框停駐時,它的標題列以一半高度顯示。

注意:
與 Visual FoxPro 視窗不同,當關閉使用者自定的表單時,Visual FoxPro 不儲存停駐設定值。您必須提供處理這類工作的程式碼。


當停駐表單時,Visual FoxPro 呼叫表單的 Resize 事件。相關詳細資訊請參閱「Resize 事件」。

當表單的 Visible 屬性設定為假 (.F.),Visual FoxPro 自動不停駐表單並隱藏它。當表單的 Visible 屬性設定為真 (.T.),如果可以的話,Visual FoxPro 會嘗試在表單的原來位置中停駐。相關詳細資訊請參閱「Visible 屬性」。

您可以使用下列的函數、屬性、方法程序和事件來取得表單的停駐狀態或對停駐的事件撰寫程式碼:

•ADOCKSTATE( ) 函數
•AfterDock 事件
•BeforeDock 事件
•Dock 方法程序
•Dockable 屬性
•Docked 屬性
•GetDockState 方法程序
•UnDock 事件



相關資訊

如何:停駐表單

如何:停駐工具列

處理表單

建立表單

自訂表單

如何:在執行時期設定屬性




----------------------------------------------------------------------------------------------
原文:


Docking Forms


You can dock forms the same way you can dock toolbars. However, unlike docked toolbars, docked forms resize to fill the dock area of the item they are docked with, but only affected dimensions are changed. For example, if you dock a form to the right edge of the target object, the width of the form does not change.



You can link-dock or tab-dock user-defined forms inside Visual FoxPro IDE windows. A form is link-docked to another form when they share a container. A form is tab-docked to another form when they display tabs that you can click to display each form. While the form is docked, controls on the form can still receive focus. When a form is docked along the border of the main Visual FoxPro window, its title bar is displayed at half its height.

Note:
Unlike Visual FoxPro windows, Visual FoxPro does not save the dock settings when closing a user-defined form. You need to provide code for handling this task.

When docking a form, Visual FoxPro calls the form's Resize event. For more information, see Resize Event.

When a form's Visible property is set to .F. (False), Visual FoxPro automatically undocks the form and hides it. When the form's Visible property is set to .T. (True), Visual FoxPro attempts to dock the form in the original location if possible. For more information, see Visible Property.

You can use the following functions, properties, methods, and events to retrieve the form's dock state or write code for docking events:

•ADOCKSTATE( ) Function
•AfterDock Event
•BeforeDock Event
•Dock Method
•Dockable Property
•Docked Property
•GetDockState Method
•UnDock Event



See Also

How to: Dock Forms

How to: Dock Toolbars

Working with Forms

Creating Forms

Customizing Forms

How to: Set Properties at Run Time

_________________
希望有更多人來參與
VFP wiki - 需要大家一起完成的VFP電子書與FAQ
回頂端
檢視會員個人資料 發送私人訊息 發送電子郵件 MSN Messenger
朱育興



註冊時間: 2003-08-25
文章: 661
來自: 台中市大里區

第 187 樓

發表發表於: 星期四 一月 06, 2005 12:42 pm    文章主題: 引言回覆

如何:停駐表單


您可以在某些 Visual FoxPro IDE 視窗或其它的表單中停駐使用者自定的表單。



如何停駐表單

1.在 [表單設計工具] 中開啟表單。

2.在 [屬性] 視窗中,將表單的 Dockable 屬性設定為 1。

3.儲存並執行表單。

4.將表單拖曳到目標視窗或表單的停駐區域。

當表單移出了相關的停駐區域時,表單的外框出現。


相關詳細資訊請參閱「[表單設計工具]」和「Dockable 屬性」。


如何以程式撰寫模式停駐表單

1.在程式碼中,將表單的 Dockable 屬性設定為 1。

2.設定表單的 Visible 屬性為真 (.T.)。

3.呼叫帶有合適的值之表單的 Dock 方法程序。


相關詳細資訊請參閱「Visible 屬性 (Visual FoxPro)」和「Dock 方法程序」。


如何不停駐表單

•選擇下列各項之一:

 •將表單從視窗或表單拖曳到它要停駐的地方。

 -或者-

 •呼叫帶有合適的值之表單的 Dock 方法程序。

 -或者-

 •設定表單的 Dockable 屬性為 2 或 0。



相關資訊

處理表單

建立表單

自訂表單

如何:在執行時期設定屬性




----------------------------------------------------------------------------------------------
原文:


How to: Dock Forms


You can dock user-defined forms to certain Visual FoxPro IDE windows or other forms.



To dock a form

1.Open the form in the Form Designer.

2.In the Properties window, set the form's Dockable property to 1.

3.Save and run the form.

4.Drag the form to the dock area of the target window or form.

An outline of the form appears and changes shape when the form is moved over an eligible docking area.


For more information, see Form Designer and Dockable Property.


To dock a form programmatically

1.In code, set the form's Dockable property to 1.

2.Set the form's Visible property to .T. (True).

3.Call the form's Dock method with the appropriate values.


For more information, see Visible Property (Visual FoxPro) and Dock Method.


To undock a form

•Choose one of the following:

 •Drag the form from the window or form it is docked to.

 -OR-

 •Call the form's Dock method with the appropriate values.

 -OR-

 •Set the form's Dockable property to 2 or 0.



See Also

Working with Forms

Creating Forms

Customizing Forms

How to: Set Properties at Run Time

_________________
希望有更多人來參與
VFP wiki - 需要大家一起完成的VFP電子書與FAQ
回頂端
檢視會員個人資料 發送私人訊息 發送電子郵件 MSN Messenger
朱育興



註冊時間: 2003-08-25
文章: 661
來自: 台中市大里區

第 188 樓

發表發表於: 星期四 一月 06, 2005 10:43 pm    文章主題: 引言回覆

如何:使用本地和遠端資料建立表單


可以建立這樣的表單,它可以很容易地在使用本地資料和遠端資料 (例如,儲存在資料伺服器上) 之間切換。這樣就可以使用本地資料或測試資料建立應用程式的原型,然後切換到遠端或實際的資料上,而不對表單做實質性的修改。

例如,如果 Visual FoxPro 應用程式是一個儲存在資料伺服器上的大型客戶資料表格的前端處理,則可建立一個本地的 .dbf 檔,其中包含小型但具有代表意義的資料範本。然後在小型資料集合基礎上建立、測試和除錯表單。當準備分送應用程式時,再將表單連結到大型資料集合上。

能夠在本地資料和遠端資料庫之間切換的關鍵在於使用的是資料集而不是直接將表單 (及其控制項) 與資料表格連結。若要存取遠端資料,則必須在任何事件中使用資料集。因此為了方便本地資料與遠端資料的切換,也需為本地電腦資料建立資料集。建立表單時,將這兩個資料集都新增到它的資料環境中,根據需要進行切換。



若要建立可在本地資料和遠端資料間切換的表單

1.建立資料的兩個資料集,一個指向遠端資料,另一個指向本地資料。

2.建立新表單。

3.開啟表單的 [資料環境設計工具],新增這兩個資料集。

4.在 [資料環境設計工具] 中按一下滑鼠右鍵,然後選定 [屬性]。

5.在 [屬性] 視窗 (Visual FoxPro) 中,為兩個暫存資料表格設定同樣的 Alias 屬性。

6.將資料環境的 OpenViews 屬性設定為 [1 - 只用於本地] 或 [2 - 只用於遠端],取決於表單執行時期使用哪個資料集。

注意:
由於兩個資料集使用同樣的別名,不要選定預設 [0 - 本地和遠端]。

7.在表單中,新增需要的控制項,將 ControlSource 屬性設定為資料集的相對應欄位。由於兩個資料集使用同樣的別名,表單執行時期控制項將自動對那個使用中資料集作出反應。


建立表單後,透過改變資料環境的 OpenView 屬性切換資料集的別名。可以在使用 [表單設計工具] 時在資料環境中做此工作。如果要在執行時期切換資料集,還可以寫出程式碼並將其附加某個事件中。例如,可將這些程式碼放入 Activate 事件中:

THISFORM.DataEnvironment.OpenViews = 2 && 使用遠端資料集

如果要建立一個可在本地資料和遠端資料間切換的表單,還必須設計搜尋程式碼用以容納兩個資料集,尤其是設計具有一對多關聯性連結的表單。例如,如果表單只存取本地資料表格或資料集,可在 [下一筆資料記錄] 指令按鈕中使用下列程式碼,用來移動指標到下一筆記錄:

SKIP 1
THISFORM.Refresh()

但是,當在遠端資料集中搜尋時,此程式碼無效。因為程式碼假設暫存資料表格包含了表單需要的所有資料。通常情況下,希望從遠端資料來源下載的資料越少越好。

解決的辦法是使用帶參數的資料集。例如,用來編輯客戶訊息的資料集定義如下程式碼:

SELECT * FROM CUSTOMERS WHERE CUSTOMERS.COMPANY_NAME = ?pCompanyName

表單執行時期,會在對話方塊中提示使用者輸入客戶名稱或允許使用者在文字輸入方塊中輸入一個名稱。[顯示] 按鈕的程式碼可能與以下程式碼相似:

pCompanyName = THISFORM.txtCompanyName.Value
REQUERY("customer")
THISFORM.Refresh()

相關詳細資訊請參閱「如何:建立參數化資料集」。



相關資訊

處理表單

如何:設定表單的設計區域

如何:設定表單範本

建立表單

[資料環境設計工具]




----------------------------------------------------------------------------------------------
原文:


How to: Create Forms with Local and Remote Data


You can create forms that can be easily switched between using local data and data that is stored remotely (for example, on a database server). This allows you to create a prototype application using local or test data, then switch to remote or live data without substantial changes to your forms.

For example, if your Visual FoxPro application is a front end for a large customer table stored on a database server, you can create a local .dbf file that contains a small but representative sampling of the data. You can then create, test, and debug your forms based on this small set of data. When you're ready to distribute your application, you can link your form to the large data set.

The key to being able to switch between local and remote data is to make sure that you use views instead of directly linking your form (and its controls) to a table. To access remote data, you must use a view in any event. Therefore, to facilitate switching between local and remote data, create a view for the local data as well. When you create the form, you can add both views to its data environment, then switch between them as needed.



To create a form that can switch between local and remote data

1.Create two views of the data, one that points to the remote data, and another that points to the local data.

2.Create a new form.

3.Open the Data Environment Designer for the form, and then add both views.

4.Right-click the Data Environment Designer, and then choose Properties.

5.In the Properties Window (Visual FoxPro), set the Alias Property for both cursors to the same name.

6.Set the data environment's OpenViews Property to either 1 — Local Only or 2—Remote Only, depending on which view you wanted to use when running the form.

Note:
Because you are using the same alias for both views, do not choose 0 — Local and Remote (the default).

7.On the form, add the controls you need and set their ControlSource properties to the appropriate fields in the view. Because both views have the same alias, the controls will respond automatically to whichever view is active when the form is run.


After the form is created, you can switch the views alias by changing the data environment's OpenViews property. You can do this in the Data Environment while using the Form Designer. Alternatively, you can write code and attach it to an event, which is useful if you want to switch views at run time. For example, you could put this code in the form's Activate event:

THISFORM.DataEnvironment.OpenViews = 2 && Use remote view

If you create a form that can be switched between local and remote data, you must also design your navigation code to accommodate both views, particularly if you are designing forms with one-to-many relationships. For example, if your form only accesses a local table or view, you might use code such as the following in a Next command button to move to the next record in a cursor:

SKIP 1
THISFORM.Refresh()

However, this code is inefficient when you're navigating in a remote view, because it assumes that the cursor contains all the data required by the form. As a rule, you want to minimize the amount of data that you download from the remote data source.

The solution is to use a parameterized view. For example, the definition for a view used to edit customer information could be:

SELECT * FROM CUSTOMERS WHERE CUSTOMERS.COMPANY_NAME = ?pCompanyName

When the form runs, it can prompt the user for a customer name using a dialog box or by allowing the user to enter a name in a text box. The code for a Display button would then be similar to the following:

pCompanyName = THISFORM.txtCompanyName.Value
REQUERY("customer")
THISFORM.Refresh()

For more information, see How to: Create Parameterized Views.



See Also

Working with Forms

How to: Set the Design Area for a Form

How to: Set Form Templates

Creating Forms

Data Environment Designer

_________________
希望有更多人來參與
VFP wiki - 需要大家一起完成的VFP電子書與FAQ
回頂端
檢視會員個人資料 發送私人訊息 發送電子郵件 MSN Messenger
朱育興



註冊時間: 2003-08-25
文章: 661
來自: 台中市大里區

第 189 樓

發表發表於: 星期五 一月 07, 2005 10:19 pm    文章主題: 引言回覆

如何:設定表單的設計區域 


在 [選項] 對話方塊中可以設定 [表單設計工具] 的最大設計區域。



若要設定表單的最大設計區域

1.從 [工具] 功能表選取 [選項]。

2.在 [選項] 對話方塊中選定 [表單] 標籤。

3.在 [最大設計區域] 方塊中,選定最大設計區域的範圍。

提示:
如果選取 [無],[表單設計工具] 不會限制表單的設計大小。


相關詳細資訊請參閱「[選項] 對話方塊的 [表單] 標籤」。

當您設定最大設計區域時,[表單設計工具] 的背景在設計區域範圍為白色,超出最大設計區域的部份為灰色。例如,如果您是在 1024 x 768 解析度的顯示器上設計應用程式,您可以將設計解析度設定為 640 x 480,這樣可以保證您設計的表單能適用於 640 x 480 的螢幕。

在設計區域中,必須考慮標準的視窗屬性,如工具列。例如,在 640 x 480 解析度的螢幕中,一個在螢幕的上端或下端帶有停駐的狀態列和工具列的表單只能有最大值為 390 像素的高度。

------------------------------------------------
Visual FoxPro 主視窗屬性 要求的像素 (非主題視窗)
------------------------ -----------------------
標題和功能表       38
狀態列          23
停駐的工具列       29
------------------------------------------------

注意  如果有使用主題視窗,上述所需的像素數量會變更。



相關資訊

處理表單

如何:管理表單的多個案例

如何:使用本地和遠端資料建立表單

建立表單

如何:設定表單範本 




----------------------------------------------------------------------------------------------
原文:


How to: Set the Design Area for a Form 


You can set the maximum design area for the Form Designer in the Options dialog box.



To set the maximum design area for a form

1.From the Tools menu, choose Options.

2.In the Options dialog box, choose the Forms tab.

3.In the Maximum design area box, choose the pixel coordinates for the maximum design area.

Tip: 
If you select None, the Form Designer does not impose a limit on the size of form you design.


For more information, see Forms Tab, Options Dialog Box.

When you set the maximum design area, the background of the Form Designer is white within the design area boundaries and gray in areas beyond the maximum design area. If you develop applications on a monitor with a resolution of 1024 x 768, for example, you can set your design resolution to 640 x 480 and know that the forms you design will always fit on 640 x 480 screens.

Within the design area, be sure to account for standard window attributes such as toolbars. For example, in a 640 x 480 screen, a form with a status bar and one toolbar docked at the top or the bottom of the screen can have a maximum height of 390 pixels.

------------------------------------------------------------------------
Main Visual FoxPro window attribute Required pixels (Non-Themed Windows)
----------------------------------- ------------------------------------
Title and menu           38
Status bar             23
Docked toolbar           29
------------------------------------------------------------------------

Note  The required pixel amounts above will vary if themed windows are used.



See Also

Working with Forms

How to: Manage Multiple Instances of a Form

How to: Create Forms with Local and Remote Data

Creating Forms

How to: Set Form Templates

_________________
希望有更多人來參與
VFP wiki - 需要大家一起完成的VFP電子書與FAQ
回頂端
檢視會員個人資料 發送私人訊息 發送電子郵件 MSN Messenger
朱育興



註冊時間: 2003-08-25
文章: 661
來自: 台中市大里區

第 190 樓

發表發表於: 星期六 一月 08, 2005 11:11 pm    文章主題: 引言回覆

使用表單範本


表單範本允許您為表單設定預設屬性,這樣就能方便地讓應用程式中的所有表單具有相同的外表和風格。例如,您可以在表單上包含公司商標圖案,可以用有關屬性設計範本表單類別,以便在所有的表單中使用一致的配色方案。如果公司商標圖案有改變,您只需修改範本表單中的圖像,建立在這個範本上的所有的表單將自動繼承新的商標圖案。



您可在 Visual FoxPro 表單類別中加入自訂的屬性和方法程序,使這些屬性和方法程序對應用程式中的每一個表單都有效。如果您習慣於建立屬於表單的變數和使用者自訂程序,使用自訂屬性和方法程序不但提供了這個功能,還讓您擁有一個整潔的封裝模型。

您可以用與設定表單範本一樣的方法指定表單集範本。下面是可能的情況:

•表單集範本和表單範本都被指定。 選定 [開新檔案] 對話方塊中的 [表單] (或所有其他建立新表單的方法),將自動建立一個根據範本表單集類別的表單集。當在 [表單設計工具] 中選定 [表單] 功能表的 [加入新表單] 命令時,一個根據表單範本的表單將新增到表單集中。

•只有表單集範本被指定。 選定 [開新檔案] 對話方塊中的 [表單] (或所有其他建立新表單的方法),將自動建立一個根據範本表單集類別的表單集。當在 [表單設計工具] 中選定 [表單] 功能表的 [加入新表單] 命令時,一個根據 Visual FoxPro 表單基本類別的表單被新增到表單集中。

•只有表單範本被指定。 選定 [開新檔案] 對話方塊中的 [表單] (或所有其他建立新表單的方法),將自動建立一個根據範本表單類別的表單。

•沒有範本被指定。 選定 [開新檔案] 對話方塊中的 [表單] (或所有其他建立新表單的方法),將自動建立一個根據 Visual FoxPro 表單基本類別的表單。


相關詳細資訊請參閱「如何:設定表單範本」。



相關資訊

處理表單

如何:使用本地和遠端資料建立表單

建立表單

[選項] 對話方塊 (Visual FoxPro)

如何:將表單存成 HTML 檔案

如何:設定表單的設計區域

如何:管理表單的多個案例  




----------------------------------------------------------------------------------------------
原文:


Using Form Templates


Form templates allow you to set default properties for your forms so that you can easily give all the forms in your application a consistent look and feel. You could include a company logo, for instance, and use a consistent color scheme in all your forms by designing a template form class with these attributes. If the company logo changes, you could change the picture in the template form class and all the forms you created based on the template would automatically inherit the new logo.



You can add custom properties and methods to the Visual FoxPro form class so that these properties and methods are available to each form in your application. If you are used to creating variables and user-defined procedures that are scoped to a form, using custom properties and methods provides this functionality, and also allows you to have a cleaner encapsulation model.

You can specify form set templates the same way you set form templates. The following combinations are possible:

•Both form set and form templates are specified. Choosing Form in the New dialog box (and all the other ways to create a new form) will automatically create a form set based on the template form set class. When you choose Add New Form from the Form menu in the Form Designer, a form based on your form template is added to the form set.

•Only the form set template is specified. Choosing Form in the New dialog box (and all the other ways to create a new form) will automatically create a form set based on the template FormSet class. When you choose Add New Form from the Form menu in the Form Designer, a form based on the Visual FoxPro Form base class is added to the form set.

•Only the form template is specified. Choosing Form in the New dialog box (and all the other ways to create a new form) will automatically create a form based on the template Form class.

•No templates are specified. Choosing Form in the New dialog box (and all the other ways to create a new form) will automatically create a form based on the Visual FoxPro Form base class.


For more information, see How to: Set Form Templates.



See Also

Working with Forms

How to: Create Forms with Local and Remote Data

Creating Forms

Options Dialog Box (Visual FoxPro)

How to: Save a Form as HTML

How to: Set the Design Area for a Form

How to: Manage Multiple Instances of a Form

_________________
希望有更多人來參與
VFP wiki - 需要大家一起完成的VFP電子書與FAQ
回頂端
檢視會員個人資料 發送私人訊息 發送電子郵件 MSN Messenger
朱育興



註冊時間: 2003-08-25
文章: 661
來自: 台中市大里區

第 191 樓

發表發表於: 星期日 一月 09, 2005 7:09 pm    文章主題: 引言回覆

如何:設定表單範本


您可以用範本為所有的新表單建立您自己的表單類別,也可以利用 Visual FoxPro 的範本類別。相關詳細資訊請參閱「使用表單範本」。

當建立一個新表單時,它根據在 [選項] 對話方塊設定的範本表單。如果沒有指定範本,新表單將根據 Visual FoxPro 表單基本類別。有關 Visual FoxPro 類別的詳細內容,請參閱「物件導向程式設計」。

您可以為表單範本從註冊的類別定義函數庫中指定一個表單類別。



若要指定預設表單範本

1.從 [工具] 功能表選取 [選項]。

2.在 [選項] 對話方塊中,選定 [表單] 標籤。

3.在 [範本類別] 區,選定 [表單] 檢核方塊。

如果沒有選取表單範本,會開啟 [表單樣版] 對話方塊,這樣您可以選定一個表單類別。如果已核取表單範本,可以選定對話按鈕來選定其他的類別。

4.如果想在以後的 Visual FoxPro 中使用這個範本,選定 [設定為預設值] 按鈕。

5.選取 [確定] 按鈕。



相關資訊

處理表單

如何:使用本地和遠端資料建立表單

建立表單

[選項] 對話方塊 (Visual FoxPro)

如何:將表單存成 HTML 檔案

如何:設定表單的設計區域

如何:管理表單的多個案例




----------------------------------------------------------------------------------------------
原文:


How to: Set Form Templates


You can create your own form class to use a template for all your new forms, or you can use one of the sample classes that ship with Visual FoxPro. For more information, see Using Form Templates.

When you create a new form, it is based on the template form that is set in the Options dialog box. If no template is specified, the new form is based on the Visual FoxPro Form base class. For more information about Visual FoxPro classes, see Object-Oriented Programming.

You can specify a form class from a registered class library for your form template.



To specify a default form template

1.From the Tools menu, choose Options.

2.In the Options dialog box, choose the Forms tab.

3.In the Template classes area, select the Form check box.

If no form template has been selected, the Open dialog box opens so that you can choose a form class. If a form template has been selected, you can change it by choosing the dialog button and selecting another class.

4.Choose Set as Default if you want the template to be used in subsequent sessions of Visual FoxPro.

5.Choose OK.



See Also

Working with Forms

How to: Create Forms with Local and Remote Data

Creating Forms

Options Dialog Box (Visual FoxPro)

How to: Save a Form as HTML

How to: Set the Design Area for a Form

How to: Manage Multiple Instances of a Form

_________________
希望有更多人來參與
VFP wiki - 需要大家一起完成的VFP電子書與FAQ
回頂端
檢視會員個人資料 發送私人訊息 發送電子郵件 MSN Messenger
朱育興



註冊時間: 2003-08-25
文章: 661
來自: 台中市大里區

第 192 樓

發表發表於: 星期一 一月 10, 2005 11:20 pm    文章主題: 引言回覆

如何:儲存表單


在執行表單之前需要先將它儲存。如果在未儲存之前就嘗試執行這個表單或關閉 [表單設計工具],Visual FoxPro 將提示是否儲存已做過的修改。



若要儲存表單

•在 [表單設計工具] 中,從 [檔案] 功能表中選定 [儲存] 命令。表單儲存為具有 .scx 副檔名的檔案。



將表單和控制項儲存為類別

您也可以將表單或表單上的控制項子集儲存為類別定義。如果您打算建立根據表單的次類別,或在其他表單中重新使用這些控制項,可將表單作為類別定義來儲存。


若要將表單或已核取的控制項儲存為類別定義

1.從 [檔案] 功能表中選定 [另存類別]。

2.在 [另存類別] 對話方塊中,選取 [目前作用表單] 或 [選定控制項]。

3.在 [類別名稱] 方塊中輸入類別的名稱。

4.在 [檔案] 方塊中輸入儲存類別的檔案名稱。

5.選取 [確定] 按鈕。


如果您沒有給副檔名,儲存檔案時會加上預設 .vcx 副檔名,如果將表單儲存為類別定義,您就可以用 MODIFY CLASS 命令對它進行修改。有關建立類別的詳細內容,請參閱「物件導向程式設計」。



相關資訊

如何:將表單存成 HTML 檔案

如何:編輯事件和方法程序的程式碼

建立表單

處理表單

如何:執行表單

如何:在執行時期設定屬性

處理物件範例




----------------------------------------------------------------------------------------------
原文:


How to: Save Forms


You need to save your form before you can run it. If you try to close the Form Designer when the form has not been saved, Visual FoxPro prompts you to save or discard the changes you've made.



To save a form

•In the Form Designer, choose Save from the File menu. Forms are saved as files with an .scx extension.



Saving Forms and Controls as Classes

You can also save a form, or a subset of the controls on a form, as a class definition. If you intend to create subclasses based on the form or reuse the controls in other forms, save the form as a class definition.


To save a form or selected controls as a class definition

1.From the File menu, choose Save As Class.

2.In the Save As Class Dialog Box, choose Current form or Selected controls.

3.In the Name box, enter a name for the class.

4.In the File box, enter a filename for the class to be stored to.

5.Choose OK.


If you don't give the filename an extension, the default extension of .vcx is added when the file is saved. Once a form has been saved as a class definition, you can modify it with the MODIFY CLASS command. For more information about creating classes, see Object-Oriented Programming.



See Also

How to: Save a Form as HTML

How to: Edit Event and Method Code

Creating Forms

Working with Forms

How to: Run a Form

How to: Set Properties at Run Time

Example of Manipulating Objects

_________________
希望有更多人來參與
VFP wiki - 需要大家一起完成的VFP電子書與FAQ
回頂端
檢視會員個人資料 發送私人訊息 發送電子郵件 MSN Messenger
朱育興



註冊時間: 2003-08-25
文章: 661
來自: 台中市大里區

第 193 樓

發表發表於: 星期二 一月 11, 2005 11:21 pm    文章主題: 引言回覆

如何:將表單存成 HTML 檔案


在建立表單時,可以使用 [檔案] 功能表上的 [存成 HTML] 選項將表單中的內容存成 HTML (超文字標記語言) 檔案。



若要將表單存成 HTML 檔案

1.開啟表單。

2.選擇 [檔案] 功能表中的 [存成 HTML] 指令 (如果修改了表單,系統將詢問您是否要儲存修改)。

3.單擊 [...] 按鈕,輸入要建立的 HTML 檔案名稱,然後選擇 [儲存] 按鈕。



相關資訊

如何:儲存表單

如何:傳遞參數給表單

如何:管理表單的多個案例

建立表單

處理表單

如何:設定表單的設計區域

如何:使用本地和遠端資料建立表單




----------------------------------------------------------------------------------------------
原文:


How to: Save a Form as HTML


You can use the Save As HTML option on the File menu when you're creating a form to save the contents of a form as an HTML (Hypertext Markup Language) file.



To save a form as HTML

1.Open the form.

2.Choose Save As HTML on the File menu. (You will be asked to save the form if it has been modified.)

3.Enter the name of the HTML file to create and choose Save.



See Also

How to: Save Forms

How to: Pass Parameters to a Form

How to: Manage Multiple Instances of a Form

Creating Forms

Working with Forms

How to: Set the Design Area for a Form

How to: Create Forms with Local and Remote Data

_________________
希望有更多人來參與
VFP wiki - 需要大家一起完成的VFP電子書與FAQ
回頂端
檢視會員個人資料 發送私人訊息 發送電子郵件 MSN Messenger
朱育興



註冊時間: 2003-08-25
文章: 661
來自: 台中市大里區

第 194 樓

發表發表於: 星期三 一月 12, 2005 10:50 pm    文章主題: 引言回覆

使用控制項


使用者主要使用表單上的控制項與應用程式互動。例如,在應用程式中的透過在表單的控制項上執行按一下、鍵入和導覽搜尋,使用者可以處理資料和完成他們需要執行的任務。Visual FoxPro 提供了多種可包含在表單上的控制項來輔助使用者完成任務。下列清單描述可以使用控制項完成應用程式任務的主要類別:

•為使用者提供一組預先設定的選取。
•接受無法預先設定的使用者輸入。
•在指定範圍內接受使用者輸入。
•允許使用者執行特定的指令。
•在指定的時間間隔內執行特定的指令。
•顯示訊息。

例如,透過提供使用者一組指定的選項或值,可以保證在資料庫中僅儲存有效的資料。若要提供這些預先設定的選取,可以使用下列控制項:

•選項按鈕或選項按鈕組。
•列示方塊和下拉式列示方塊。
•檢核方塊。

雖然可以用各種控制項來完成某個特定的任務,但您應始終如一地選擇和使用控制項。這樣,當使用者使用您的應用程式的界面,就很容易瞭解或知道自己能做什麼。例如,標籤和指令按鈕都具有 Click 事件,但熟悉圖形界面的使用者更習慣按一下指令按鈕 (而不是標籤) 來執行指令。



在本章節中


用以顯示清單的控制項

描述列示方塊與下拉式列示方塊的一般用途、方法程序和屬性。


用以接受輸入的控制項

描述可接受使用者輸入但不能預先設定的 Visual FoxPro 控制項之一般用途、方法程序和屬性。


用以顯示訊息的控制項

說明可顯示和排序訊息的各種 Visual FoxPro 的控制項與物件。


用以處理資料記錄的控制項

描述 Visual FoxPro 的多筆編輯控制項之一般用途、方法程序和屬性。


用以允許特定指令的控制項

描述 Visual FoxPro 的控制項允許使用者透過使用者界面或者計時延遲來使用特定預先編寫好的指令。


用以加強表單功能的控制項

描述分頁框物件和使用 ActiveX 控制項如何擴充可使用工作區以及使用的 Visual FoxPro 表單。


控制項和資料概念

說明在表單上兩種控制項之間的區別以及列出在不同的控制項上設定 ControlSource 屬性的效果。


建立拖放控制項

描述在 Visual FoxPro 應用程式中包含的兩種型態的拖放功能:OLE 拖放和控制項拖放。


如何:方便控制項的使用

提供如何使用對應鍵、Tab 鍵遞移次序、工具文字提示或者有選定地使某些類無效來建立更易於使用的設計之說明。



相關章節


建立使用者界面

使用 Visual FoxPro 的表單、類別、控制項、功能表和工具列,您可以建立幫助使用者得到存取對程式的完整潛在性的界面。


建立表單

您的應用程式必須有表單讓使用者檢視和輸入資料。不過,可以透過視覺化方式或程式撰寫模式對標準表單進行自訂,從而建立滿足使用者要求的應用環境。


處理表單

在建立表單之後,可以執行、隱藏或以不同的方式改變它。


設計功能表與工具列

一個好的功能表系統可以使使用者瞭解許多關於應用程式的設計和結構的訊息。精心規劃功能表與工具列系統將提高應用程式的可用性以及幫助使用者速成一些日常任務。




----------------------------------------------------------------------------------------------
原文:


Using Controls


Users interact with applications primarily using controls on forms. For example, by clicking, typing into, and navigating controls on forms in your application, users can manipulate data and accomplish the tasks they need to perform. Visual FoxPro provides a variety of controls that you can include on forms to help users perform tasks. The following list describes main categories of application tasks you can perform using controls:

•Provide users with a set of predetermined choices.
•Accept user input that cannot be predetermined.
•Accept user input in a given range.
•Allow users to perform specific actions.
•Perform specific actions at given intervals.
•Display information.

For example, you can make sure that only valid data is stored in a database by providing users a specified set of options or values. To provide these predetermined choices, you can use the following controls:

•Option buttons or option button groups.
•List boxes and drop-down list boxes.
•Check boxes.

Though you can use a variety of controls to perform any particular task, you should select and use controls consistently so that users can easily understand or know what to expect when they interact with your application's interface. For example, a label might contain the same Click event as a command button; however, users who are familiar with graphical interfaces expect to click command buttons, not labels, to perform actions.



In This Section


Controls for Displaying Lists

Describes the common uses, methods, and properties of list boxes and drop-down list boxes.


Controls for Accepting Input

Describes the common uses, methods, and properties of Visual FoxPro controls that accept user input that cannot be predetermined.


Controls for Displaying Information

Explains various Visual FoxPro controls and objects that can display and order information.


Controls for Manipulating Rows of Data

Describes the common uses, methods, and properties of the Visual FoxPro grid control.


Controls for Allowing Specific Actions

Describes the Visual FoxPro controls that allow users to take specific preprogrammed actions either by user interaction or by timed delay.


Controls for Extending Forms

Describes how the Page Frame object and the use of ActiveX controls can expand the workable area and use of Visual FoxPro forms.


Controls and Data Concepts

Explains the difference between the two kinds of controls you can have on your forms and lists the effects of a ControlSource property setting on different controls.


Creating Drag-and-Drop Controls

Describes the two types of drag-and-drop functionality that can be included in your Visual FoxPro application, OLE drag-and-drop and control drag-and-drop.


How to: Make Controls Easier to Use

Offers instructions on how to use access keys, tab order, ToolTip text, and selective disabling to create a more design that is easier to use.



Related Sections


Creating the User Interface

Using Visual FoxPro forms, classes, controls, menus, and toolbars, you can build interfaces that help users gain access to the full potential of your programs.


Creating Forms

Your application must have forms to make it possible for users to view and enter data. However, you can customize standard forms visually and programmatically to create a specialized environment for your users.


Working with Forms

After creating your form, you can run, hide, or alter it in different ways.


Designing Menus and Toolbars

A good menu system tells your users a lot about the design and structure of your application. Planning menus and toolbars carefully can improve the usability of your application and provide immediate access to common tasks.

_________________
希望有更多人來參與
VFP wiki - 需要大家一起完成的VFP電子書與FAQ
回頂端
檢視會員個人資料 發送私人訊息 發送電子郵件 MSN Messenger
朱育興



註冊時間: 2003-08-25
文章: 661
來自: 台中市大里區

第 195 樓

發表發表於: 星期五 一月 14, 2005 5:50 am    文章主題: 引言回覆

用以顯示清單的控制項


列示方塊控制項和下拉式列示方塊控制項提供列示方塊和下拉式列示方塊給使用者可以捲動看到選項或一些資訊。當下拉式列示方塊每次顯示一個項目時,列示方塊可以顯示多個項目。不過,在列示方塊中,使用者可以按一下捲動箭號來顯示和捲動所有項目的清單。

提示:
如果表單上有足夠的空間,並且想強調可以選定的項目,請使用列示方塊;要想節省空間,並且想強調目前已選取的選項,請使用下拉式列示方塊。


透過設定 RowSourceType 和 RowSource 屬性,列示方塊或下拉式列示方塊可以設定不同資料來源的選項。相關詳細資訊請參閱「如何:為列示方塊或下拉式列示方塊選定資料來源型態」。

若要檢視如何使用列示方塊和下拉式列示方塊的展示範例,請執行 Visual FoxPro 目錄下的 ...\Samples\Solution 目錄的 Solution.app。



在本章節中


如何:為列示方塊或下拉式列示方塊選定資料來源型態

描述可用來填入列示方塊控制項或下拉式列示方塊控制項的各種來源型態。


如何:建立具有多行的列示方塊

描述如何建立可顯示的多行列示方塊。


如何:允許使用者選定列示方塊中的多個列示方塊項目

說明如何允許選定列示方塊中的多個列示方塊項目。


如何:允許使用者在列示方塊中新增項目

描述如何以交談方式使用 AddItem 方法程序在列示方塊中新增項目。


如何:根據列示方塊值重新整理一對多的資料顯示

描述如何根據本地資料集或遠端資料集設計一對多的列示方塊。


如何:在列示方塊中顯示子記錄

說明如何在列示方塊中顯示子記錄。


如何:將圖片新增到列示方塊項目中

提供如何在列示方塊中顯示圖片的資訊。



相關章節


使用控制項

可以利用各種控制項來改善使用者與應用程式之間的對話模式。Visual FoxPro 提供了多種控制項以增強應用程式的界面功能。


在早期版本中建立的控制項和物件

描述支援在早期 FoxPro 版本中建立的控制項和物件以及在 Visual FoxPro 中新增的控制項。




----------------------------------------------------------------------------------------------
原文:


Controls for Displaying Lists


The ListBox and ComboBox controls provide list boxes and drop-down list boxes that the user can scroll through to see options or pieces of information. List boxes can display multiple items, while drop-down list boxes can display one item at a time. However, the user can click the scroll arrow to display and scroll through a list of all the items in the list box.

Tip:
If you have space on the form and want to emphasize the choices the user can make, use a list. To conserve space and emphasize the currently selected item, use a drop-down list box.


You can fill a list box or combo box with items from a variety of sources by setting the RowSourceType and RowSource properties. For more information, see How to: Choose the Type of Data for a List or Combo Box.

To see several examples demonstrating list boxes and drop-down list boxes, run Solution.app in the Visual FoxPro directory, ...\Samples\Solution.



In This Section


How to: Choose the Type of Data for a List or Combo Box

Describes the various source types that can be used to populate a ListBox or ComboBox control.


How to: Create Multicolumn List Boxes

Describes how to create a list with multiple columns displayed.


How to: Allow Users to Select Multiple Items in a List Box

Explains how to allow multiple items in a list to be selected.


How to: Allow Users to Add Items to a List Box

Describes how to add items to a list interactively using the AddItem method.


How to: Refresh a One-to-Many Display Based on a List Value

Describes how to design a one-to-many list based on local or remote views.


How to: Display Child Records in a List

Explains how to display child records in a list.


How to: Add Pictures to Items in a List

Provides information on how to display pictures in a list.



Related Sections


Using Controls

Controls manage the interactions between users and your application. Visual FoxPro offers a variety of controls to enhance your application interface.


Controls and Objects Created in Earlier Versions

Describes support for controls and objects created in earlier FoxPro versions and new controls added to Visual FoxPro.

_________________
希望有更多人來參與
VFP wiki - 需要大家一起完成的VFP電子書與FAQ
回頂端
檢視會員個人資料 發送私人訊息 發送電子郵件 MSN Messenger
從之前的文章開始顯示:   
發表新主題   回覆主題    VFP 愛用者社區 首頁 -> VFP 討論區 所有的時間均為 台北時間 (GMT + 8 小時)
前往頁面 上一頁  1, 2, 3 ... , 12, 13, 14  下一頁
13頁(共14頁)

 
前往:  
無法 在這個版面發表文章
無法 在這個版面回覆文章
無法 在這個版面編輯文章
無法 在這個版面刪除文章
無法 在這個版面進行投票
無法 在這個版面附加檔案
無法 在這個版面下載檔案


Powered by phpBB © 2001, 2005 phpBB Group
正體中文語系由 phpbb-tw 維護製作