Some small discovery during the use of VFP (mainly in the VFP8 introduction), slowly collect slowly. .
Function set:
1-ca.cursorrefresh method and request () has an equivalent effect
The 2-wait command now supports non-character types, such as Wait Wind 123 or Wait Wind .f.
3-Sys (1037) affects the report print settings, as many people are interested in this, Ning Tested: http://61.145.116.139/bbs/dispbs.asp?boardid=1&ID=205519
BUG set:
1 - In the Alias property box of the CA, you will then delete it, let Alias values become (None), save, open, error, and report attribute values cannot be found. Solve: Use xxx.vcx, find the CA, change the Property value
2-CA cannot directly express thisform resolution: Pass the ThisForm object to CA, can receive or pass it directly to the custom attribute directly to the CA
3- Set allowcellselection to .f. You can achieve the same effect as Readonly, the data is not edited and beautiful, but don't forget that when the control in the column is DROPDOWN LIST STYLE COMBOX, he is a problem with readonly, he still pulls change data. Solve: ASSIGN method for Grid class
4-CA reads garbled when SQL Server exceeds 256 length nvarchar type
-Fbilo offers
5- After the parameter declaration is made in the class method, the editing state is wrong, for example
In the Form class. Written LPARA TO message in a method AS _ message CST OF base class .vcx
6-http://www.vfp.cn/forum_view.asp? Forum_id = 1 & view_id = 2051 & Page = 1
-Fbilo offers
7- Tab direction of the page frame is left, save, change it to the right side, more change several times, the discovery page box width is automatically widened, then save each time, it is automatically widened until the location is changed to Or stop this behavior, SP1 page does not improve
8-VFP8 previous version When you call a custom method with parameters in Form, IntelliSense will errors, and the VFP8's IntelliSense is no longer supported.
9-XMLADAPTER supports Chinese data in the table, but does not support the Chinese column name.
Note:
1 -VFP7 legacy, the ExecScript function does not support this / thisform et al.
2 -Bindevent Binding, the THIS in the agent method refers to a proxy object, not a source object, and vice versa.
3 -raiseEvent Execute an object's event or code, but does not trigger its default behavior, such as: raiseelent (thisform.grid, 'setfocus'), if there is code in SetFocus, she will execute, but set Focus This behavior is invalid 4 - When Grid already has a data source, replace its RecordSource can't affect the columnCount property, see: http://www.myf1.net/bbs/dispbbs.asp? BoardId = 1 & id = 223221
5 - Some occasions (not all) are not allowed to use this / thisform, such as processing Menu in Grid.rightClick, can pass variables, such as logrid = this, then use LOGRID instead of this Try
6 -pcount () and parameters () are different, the former is the number of parameters of this process, the latter is the number of last process parameters, generally consistent, but 2 after the process calls other processes The result of the function is inconsistent
The KEY value in the 7 -collection class is case sensitive, please pay attention when operating. .
8 - If a CursoraDapter object has multiple references in the Form, the last reference is released when the CA is released, if a CA is loaded, generates a CURSOR name to CSRCA, a = CREATEOBJECT (this CA) B = A c = a only in A, B, and C are all set to NULL, CSRCA will be closed.
9 - Many foxers like to add m., Such as M.LcName, please note that in Try ... EndTry Catch TO variable, the variable here cannot be added to M., Otherwise the "TRY structure is errors) "
The 10-select-sql statement cannot be able to modify / delete / add data in Cursor (regardless of the view generation or CA-generated CURSOR), unless you TableUpdate This Cursor is then SELECT. This is a problem with it. .