Dear bro/ sis
How to set MDI Form parent background image and auto re-size mdi form with background fit inside msi form
6 Replies - 867 Views - Last Post: 03 February 2013 - 05:06 PM
#1
MDI Form parent background image setting and auto resize mdi form
Posted 28 January 2013 - 11:23 AM
Replies To: MDI Form parent background image setting and auto resize mdi form
#2
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.
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
#3
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).
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).
#4
Re: MDI Form parent background image setting and auto resize mdi form
Posted 31 January 2013 - 11:13 PM
andrewsw, 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).
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).
#5
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.
Thank alots for your help.
#6
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
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
#7
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.
Page 1 of 1
|
|

New Topic/Question
Reply



MultiQuote




|