• 软件测试技术
  • 软件测试博客
  • 软件测试视频
  • 开源软件测试技术
  • 软件测试论坛
  • 软件测试沙龙
  • 软件测试资料下载
  • 软件测试杂志
  • 软件测试人才招聘
    暂时没有公告

字号: | 推荐给好友 上一篇 | 下一篇

初识object-如何获得object?

发布: 2007-6-21 21:57 | 作者:   | 来源:   | 查看: 17次 | 进入软件测试论坛讨论

领测软件测试网

   
  Where can I pick up objects?

You注释:ve probably got loads on your desk, but don注释:t bother looking if your filing system is anything like mine!

You can actually make your own objects in VB (as we注释:ll discuss in a min), but for the moment you can load some of the more complex objects that come with VB. Here are a few simple steps to get you started:

- Open up VB, and select Standard EXE.
- Click Project, Components.
- Scroll down and select Microsoft RichTextBox Control 6.0 (or 5.0 if you注释:re running VB5)

Your should have some thing that looks like this:

Righty ho, now click OK. The RichTextBox icon should be on your toolbox:

Go back to the object browser (F2 in case you forgot) and click on that combo box thingy again and select RichTextLib. Uhhh? What注释:s all those things down the left hand side? This looks a bit more complicated then the Textbox.

Well, don注释:t fret! I注释:m here to guide you through the murky depths of the RichTextBox control (Ooops, this isn注释:t Shakespeare in VB).

Where were we? Oh yeah, scroll down and select RichTextBox (it has a little icon that looks like some Bassets AllSorts - ok, so it doesn注释:t then :)

If you take a look on the right hand pane, then you will see a load of cool methods and properties. (If you have ever used this control before, then you will recognise some of them.)

So, there you have an easy way to find out about objects. But, (I here you cry), why should I use them? Lets find out....

文章来源于领测软件测试网 https://www.ltesting.net/


关于领测软件测试网 | 领测软件测试网合作伙伴 | 广告服务 | 投稿指南 | 联系我们 | 网站地图 | 友情链接
版权所有(C) 2003-2010 TestAge(领测软件测试网)|领测国际科技(北京)有限公司|软件测试工程师培训网 All Rights Reserved
北京市海淀区中关村南大街9号北京理工科技大厦1402室 京ICP备10010545号-5
技术支持和业务联系:info@testage.com.cn 电话:010-51297073

软件测试 | 领测国际ISTQBISTQB官网TMMiTMMi认证国际软件测试工程师认证领测软件测试网