|
|
发表于 5-4-2005 12:39 PM
|
显示全部楼层
|
|
|
|
|
|
|
|
|
|
发表于 6-4-2005 12:55 AM
|
显示全部楼层
白日梦 于 5-4-2005 09:20 AM 说 :
请参考狐狸精的编程示范
C:\Program files\Microsoft Visual FoxPro 8\Samples\Solution\Controls\Timer\swatch.scx
就是看不懂它的 Parent code,所以才来请教大家的。 |
|
|
|
|
|
|
|
|
|
|
发表于 6-4-2005 08:58 AM
|
显示全部楼层
parent. 的用法是酱子
拿个比方说,
Thisform
└ Grid1
├ Column1
│└ Text1
└ Column2
└ Text1
假如你 Thisform.Grid1.Column1.Text1.When 编码
This.Parent.ReadOnly = .T.
等于
Thisform.Grid1.Column1.ReadOnly = .T. |
|
|
|
|
|
|
|
|
|
|
发表于 7-4-2005 04:47 PM
|
显示全部楼层
|
|
|
|
|
|
|
|
|
|
发表于 8-4-2005 08:40 AM
|
显示全部楼层
进不到,错误信息:You ID/Password is invalid |
|
|
|
|
|
|
|
|
|
|
发表于 8-4-2005 10:48 PM
|
显示全部楼层
|
|
|
|
|
|
|
|
|
|
发表于 9-4-2005 10:39 AM
|
显示全部楼层
enry98,
这次出现酱的错误信息,
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, mrwebmaster@maritz.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
可能我答几次 Very Disatisfy |
|
|
|
|
|
|
|
|
|
|
发表于 9-4-2005 12:50 PM
|
显示全部楼层
白日梦 于 9-4-2005 10:39 说 :
enry98,
这次出现酱的错误信息,
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administra ...
哈哈.....最近 streamyx的线 有些问题......不知道是不是 这个原因造成.....
里面 有几个有趣的问题 ....如 未来会不会 用 Linux.....我全勾  ,
有考虑 转用 dot net 等等 之类的问题..... |
|
|
|
|
|
|
|
|
|
|
发表于 12-4-2005 08:51 PM
|
显示全部楼层
1.Visual FoxPro 的疑难杂症的作者怎么换成别人了?
2.当 grid 的 scroll bar 在移动时,请问如何让在 grid 里 setfocus 的那一行也跟着移动? |
|
|
|
|
|
|
|
|
|
|
发表于 13-4-2005 09:35 AM
|
显示全部楼层
1.主题合并的后遗症 
2.不懂是不是 Grid.ActiveCell(nRow,nCol) |
|
|
|
|
|
|
|
|
|
|
发表于 22-4-2005 12:02 PM
|
显示全部楼层
|
请问有没有 command 用来寻找在 table 里的 field 的名称? |
|
|
|
|
|
|
|
|
|
|
发表于 23-4-2005 08:53 AM
|
显示全部楼层
FIELD( n ) 函数
n 是第几栏
e.g. ? Field(1) |
|
|
|
|
|
|
|
|
|
|
发表于 3-5-2005 11:52 AM
|
显示全部楼层

请问在 foxpro 里要显示象以上 pic 的进行过程应该如何设计?
1.显示当前正在进行那一行资料。
2.显示已经处理了多少百分比。
3.框框随着百分比的增加而填满。 |
|
|
|
|
|
|
|
|
|
|
发表于 9-5-2005 05:29 PM
|
显示全部楼层
tstan135 于 3-5-2005 11:52 AM 说 :

请问在 foxpro 里要显示象以上 pic 的进行过程应该如何设计?
1.显示当前正在进行那一行资料。
2.显示已经处理了多少百分比。
3.框框随着百分 ...
可以用foxpro里的 thermometer 啊 , 可是当然, 我总觉得foxpro的thermometer bar 不美 |
|
|
|
|
|
|
|
|
|
|
发表于 12-5-2005 10:58 AM
|
显示全部楼层
可以使用 ActiveX 的 ProgressBar 控件。
我则用 Label, TextBox 和 Shape 物件自制。 |
|
|
|
|
|
|
|
|
|
|
发表于 15-5-2005 10:50 AM
|
显示全部楼层
weisely 于 9-5-2005 05:29 PM 说 :
可以用foxpro里的 thermometer 啊 , 可是当然, 我总觉得foxpro的thermometer bar 不美
1.请问 thermometer bar 在哪里?
2.请问您又如何让它应用在 program 里?
白日梦 于 12-5-2005 10:58 AM 说 :
可以使用 ActiveX 的 ProgressBar 控件。
我则用 Label, TextBox 和 Shape 物件自制。
1.请问哪里有 ProgressBar 的控件?
2.请问您是如何自制那些物件的呢? |
|
|
|
|
|
|
|
|
|
|
发表于 15-5-2005 10:51 AM
|
显示全部楼层
1.请问如何让 program 执行 webcam 的 on , off ?
2.在一个 program 里,当输入的资料和资料库里的资料是符合的时候,它就会让 webcam capture 当时的影像而后储存在一个文件夹里。请问这样的程序应该怎样写?
3.在一个 form 里,当我们按 maximize 和 restore down 的按钮时,请问要如何让 form 里的 object 也跟着 form 的比率变大或变小?
4.请问要如何让 program 记住 user 在 grid box 里所调的 size?
这样 user 就不必在每次应用 program 时从新调过。 |
|
|
|
|
|
|
|
|
|
|
发表于 16-5-2005 09:02 AM
|
显示全部楼层
tstan135 于 15-5-2005 10:50 AM 说 :
1.请问 thermometer bar 在哪里?
C:\Program files\Microsoft Visual FoxPro 8\Samples\Solution\Ffc\Therm.scx
既然是 Sample,你就可以修改它的原始码
Tools menu -> Options -> Controls -> ActiveX controls -> [√] Microsoft ProgressBar Control 6.0 (SP4)
把上述的物件 Group 在同一个 Class,用百分比换成 shape 显现。由于是自定义的门类,所以不用另安装 ActiveX 的 *.ocx
5.请问如何让 program 执行 webcam 的 on , off ?
不会
6.在一个 program 里,当输入的资料和资料库里的资料是符合的时候,它就会让 webcam capture 当时的影像而后储存在一个文件夹里。请问这样的程序应该怎样写?
不会
7.在一个 form 里,当我们按 maximize 和 restore down 的按钮时,请问要如何让 form 里的 object 也跟着 form 的比率变大或变小?
在 Form.Init 和 Form.Refresh event (Windows XP 情况下执行),只是 Grid1 跟着变大。
Thisform.Grid1.Height = _Screen.Height - 34
Thisform.Grid1.Width = _Screen.Width - 8
8.请问要如何让 program 记住 user 在 grid box 里所调的 size?
这样 user 就不必在每次应用 program 时从新调过。
使用 Grid1.Column?.AutoFix 自动调整 column?.width
[ Last edited by 白日梦 on 16-5-2005 at 09:19 AM ] |
|
|
|
|
|
|
|
|
|
|
发表于 17-5-2005 05:42 PM
|
显示全部楼层
1.在 ubs 里的 invoice no,可以由多个字母和数字组成的,而它同样可动自动 increase invoice no。请问各位可否知道这样的 code 是怎样写的呢?
2.请问 foxpro 可否可以在出 barcode 的标签?如果可以应该怎样做?
[ Last edited by tstan135 on 19-5-2005 at 03:38 AM ] |
|
|
|
|
|
|
|
|
|
|
发表于 19-5-2005 09:13 AM
|
显示全部楼层
tstan135 于 17-5-2005 05:42 PM 说 :
1.在 ubs 里的 invoice no,可以由多个字母和数字组成的,而它同样可动自动 increase invoice no。请问各位可否知道这样的 code 是怎样写的呢?
Command?.Click 编码
- Go Bottom
- cRef = 'INV:'+Padl(Int(Val(Right(Ref,6)))+1,3,'0')
- Insert Into Bill1 (Ref,DateTime,Usr) Values (cRef,Datetime(),cUsr)
- Thisform.Refresh
复制代码
Ref 的资料栏是 Character 10,号码就像酱子
INV:000001
INV:000002
2.请问 foxpro 可否可以在出 barcode 的标签?如果可以应该怎样 ...
可以呱~ 试搜寻 VFP+Barcode |
|
|
|
|
|
|
|
|
| |
本周最热论坛帖子
|