Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers DBPro Corner / Screen size not matching loaded image size?

Author
Message
DavyBT
15
Years of Service
User Offline
Joined: 21st Mar 2009
Location:
Posted: 21st Mar 2009 22:33

Hi

another newbee here i\'m afraid, just started, have doen some VB before so get the basic idea.

The problem i have is probably real basic to you but here goes,

I\'ve set up a window size the same size as a bitmap, when i load the bitmap it does not fit the window, any ideas how i should get the image to fill the screen created?

look forward to any help
Pillarofire
20
Years of Service
User Offline
Joined: 31st Dec 2003
Location: Good Question, <looks around.>
Posted: 22nd Mar 2009 05:16
I would re-size the image to fit the screen, not the other way around. But that is just me. Are you using windowed mode or fullscreen mode?

You should provide the pertinent part of your code so that we can help you, there is a slight lack of information to solve your problem.
DavyBT
15
Years of Service
User Offline
Joined: 21st Mar 2009
Location:
Posted: 25th Mar 2009 14:34
Wha tI'm doing is having a window open and I want to place an image in the center of thatr window, it works in full screen mode so I can get around the problem. I also want to know if it is possible to get the image dimensions from within DB

eg (VB)

imageX= image(1).width
Quirkyjim
15
Years of Service
User Offline
Joined: 18th Oct 2008
Location: At my computer
Posted: 2nd Apr 2009 22:11
IMAGE WIDTH imagenum

and

IMAGE HEIGHT imagenum

That's what they WANT you to think...
Tom0001
18
Years of Service
User Offline
Joined: 30th Dec 2005
Location:
Posted: 3rd Apr 2009 01:18
Quote: "IMAGE WIDTH imagenum

and

IMAGE HEIGHT imagenum"


Actually, it's:

BITMAP WIDTH(imagenumber) and BITMAP HEIGHT(imagenumber)

There isn't a default command for finding an -image- height and width, I don't think, but there is for finding a bitmap height and width.
Quirkyjim
15
Years of Service
User Offline
Joined: 18th Oct 2008
Location: At my computer
Posted: 4th Apr 2009 16:32
Except that there is: look in your help file. There is for a bitmap though, too.

That's what they WANT you to think...

Login to post a reply

Server time is: 2024-09-28 04:14:03
Your offset time is: 2024-09-28 04:14:03