6 Replies - 4946 Views - Last Post: 03 February 2013 - 05:06 PM Rate Topic: -----

#1 kiki2009  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 3
  • Joined: 26-April 11

MDI Form parent background image setting and auto resize mdi form

Posted 28 January 2013 - 11:23 AM

Dear bro/ sis

How to set MDI Form parent background image and auto re-size mdi form with background fit inside msi form
Is This A Good Question/Topic? 0
  • +

Replies To: MDI Form parent background image setting and auto resize mdi form

#2 andrewsw  Icon User is online

  • Fire giant boob nipple gun!
  • member icon

Reputation: 3231
  • View blog
  • Posts: 10,851
  • Joined: 12-December 12

Re: MDI Form parent background image setting and auto resize mdi form

Posted 28 January 2013 - 11:37 AM

A form has a Picture property to use as a background.

I know that Access has PictureSizeMode -> Stretch to stretch the image to the size of the form, but I don't believe VB6 has an equivalent to stretch the form to the picture.

If you are programmatically changing the background image then I believe you would need to write the code to resize the form(s) as well.

Sounds to me that you might want to use a PictureBox control instead. You can add borders and other controls to it (it is a Container) so that it behaves as a form.

This post has been edited by andrewsw: 28 January 2013 - 11:41 AM

Was This Post Helpful? 0
  • +
  • -

#3 andrewsw  Icon User is online

  • Fire giant boob nipple gun!
  • member icon

Reputation: 3231
  • View blog
  • Posts: 10,851
  • Joined: 12-December 12

Re: MDI Form parent background image setting and auto resize mdi form

Posted 28 January 2013 - 11:43 AM

Quote

AutoSize Property
In Visual Basic 6.0, the AutoSize property determines whether a PictureBox control retains its design-time size (AutoSize = False) or is resized dynamically to fit the dimensions of the picture (AutoSize = True).

Was This Post Helpful? 0
  • +
  • -

#4 BobRodes  Icon User is offline

  • Your Friendly Local Curmudgeon
  • member icon

Reputation: 574
  • View blog
  • Posts: 2,989
  • Joined: 19-May 09

Re: MDI Form parent background image setting and auto resize mdi form

Posted 31 January 2013 - 11:13 PM

View Postandrewsw, on 28 January 2013 - 12:43 PM, said:

Quote

AutoSize Property
In Visual Basic 6.0, the AutoSize property determines whether a PictureBox control retains its design-time size (AutoSize = False) or is resized dynamically to fit the dimensions of the picture (AutoSize = True).
Yes, but you can't put controls on MDI Parent forms.
Was This Post Helpful? 0
  • +
  • -

#5 kiki2009  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 3
  • Joined: 26-April 11

Re: MDI Form parent background image setting and auto resize mdi form

Posted 02 February 2013 - 03:25 AM

Dear All,

Thank alots for your help.
Was This Post Helpful? 0
  • +
  • -

#6 kiki2009  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 3
  • Joined: 26-April 11

Re: MDI Form parent background image setting and auto resize mdi form

Posted 02 February 2013 - 03:30 AM

Dear all,

I want to be clear with data report, it is possible to query one data from database access 2003 from textbox and display the selected query in data report with out using data environment.

Regards,

Kiki2009
Was This Post Helpful? 0
  • +
  • -

#7 BobRodes  Icon User is offline

  • Your Friendly Local Curmudgeon
  • member icon

Reputation: 574
  • View blog
  • Posts: 2,989
  • Joined: 19-May 09

Re: MDI Form parent background image setting and auto resize mdi form

Posted 03 February 2013 - 05:06 PM

google "vb6 data report with ado" and read the first topic you find. :)
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1