Wall Paper for FORM

Wall Paper for FORM

Post by Kiran Dho » Mon, 13 May 1996 04:00:00



Hi,

I would like to have my form's background filled up with some kind of
nice wall paper files(bmp, wmf..?). VB's backcolor property has solid,
plain color choices, and I didn't like any of those.

For eg. in sample example of Access 7, some form have nice stone type
background, but it is actually .BMP file of fixed size. Even if you
stretch it, it looses its resolution.

What is the work around this requirement.

Please help me.

Thanks,

-- Kiran


 
 
 

Wall Paper for FORM

Post by H Robinso » Tue, 14 May 1996 04:00:00



>Hi,

>I would like to have my form's background filled up with some kind of
>nice wall paper files(bmp, wmf..?). VB's backcolor property has solid,
>plain color choices, and I didn't like any of those.

>For eg. in sample example of Access 7, some form have nice stone type
>background, but it is actually .BMP file of fixed size. Even if you
>stretch it, it looses its resolution.

>What is the work around this requirement.

>Please help me.

>Thanks,

>-- Kiran



I have always used:

    'Tile of background
    'img' is the name of the image control placed on the form with
    'the follow properties set: visible=false, index=0, name=img
    'and the Forms.Autoredraw property set to true for good measure.
    img(0).Picture = LoadPicture("TILE.BMP")
    maxx = Int(Screen.Width / img(0).Width) + 1
    maxy = Int(Screen.Height / img(0).Height) + 1
    For i = 0 To maxx - 1
        For j = 0 To maxy - 1
            itm = i * maxy + j + 1
            Load img(itm)
            img(itm).Enabled = True
            img(itm).Visible = True
            img(itm).Left = i * img(0).Width
            img(itm).Top = j * img(0).Height
        Next j
    Next i

--------------------------------------------------------------
Computer analyst to programmer:
         "You start coding.  I'll go find out what they want."
--------------------------------------------------------------
VB Site:               http://www.qns.com/~robinson/vb/vb.html
--------------------------------------------------------------

 
 
 

Wall Paper for FORM

Post by E. Lakervel » Wed, 15 May 1996 04:00:00


On maandag 13 mei 1996, Kiran Dhole wrote...

> Hi,

> I would like to have my form's background filled up with some kind of
> nice wall paper files(bmp, wmf..?). VB's backcolor property has solid,
> plain color choices, and I didn't like any of those.

> For eg. in sample example of Access 7, some form have nice stone type
> background, but it is actually .BMP file of fixed size. Even if you
> stretch it, it looses its resolution.

> What is the work around this requirement.

> Please help me.

> Thanks,

> -- Kiran



Resize the BMP in a drawing-tool like PaintShop Pro
 
 
 

1. Getting a computer form from an existing paper form

  What is the best way to transform a paper form to a form that you can
fill-in in MS Access or some other software? I've tried having someone
scan the form but it comes out less than perfect and I'd like to be able
to fax it or print it out with letter quality.

--
Posted via CNET Help.com
http://www.help.com/

2. Visual C++ with Foxpro?

3. Selecting paper size during report form printing

4. Getting ID from newly insert record

5. Paper based forms

6. Help - DataGrid - problems with ButtonClick event

7. FPW 2.6 Report Form - printing to odd siz paper

8. How to get count using OCI?

9. Printing Forms (in need of LS Paper 32bit)

10. FPD - Output (paper) forms to HP printer

11. FP26 Report Form with continuous paper in Windows

12. Ejecting Page using Continuous Paper Form

13. Printing forms on 8 1/2x5 1/2 paper HELP