readme.txt
来自「FormShaper 1.0 用着不错的一个控件」· 文本 代码 · 共 37 行
TXT
37 行
FormShaper 1.0
This was an easy one! and a cool one too...
Just after downloading a sample from a newsgroup on how to deal with the API
functions to control the shape of a form, it just took me half an hour to code
this control... I hope you enjoy it as I did making it!
How to use the FormShaper OCX Control:
First of all create a Form, with the BorderStyle property set to "none". (This is
a limitation that some future version may correct.)
Now include the FormShaper OCX control to your project, and drop it over
your Form.
Now, use the Shape control that comes with VB and begin to draw the new shape you
want the form to be. You can use ANY shape, rectangle, oval, round square, any
one... For a better explanation, you may want to look the sample included.
And now, simply add this line of code: FormShaper1.ShapeIt
And that's it!!! Your Window will take the form of all the shapes combined!
Easy uh?
If you have some comment, or bug, or suggestion you may contact me at:
prgsupport@xfx.net
http://xfx.net/Programs
---------------------
Properties:
(none)
Methods:
ShapeIt (optional sTag as string)
Use the shape it method to shape your form.
If your form contains shapes that you don't want to be part of the shape formation,
just tag the shapes that make the form with the same name and pass this parameter
to the method, this way, ShapeIt will only read the shapes with that particular tag.
Events:
(none)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?