KiXforms Forum Index KiXforms
The Forum for the KiXforms Community
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 Quick Links 
Site News
Downloads
Documentation
Donations
Script Archive
Tracking Systems

image resize?

 
Post new topic   Reply to topic    KiXforms Forum Index -> KiXforms.NET Discussion
View previous topic :: View next topic  
Author Message
Lonkero
KiXforms Devotee
KiXforms Devotee


Joined: 13 Mar 2003
Posts: 1022
Location: Espoo, Finland

PostPosted: Tue Jun 06, 2006 9:29 pm    Post subject: image resize? Reply with quote

me stupid was playing with IE and when rose up after some hours noticed, I can do the stuff lot easier with KF...
maybe.

can I resize image that does not fit to screen?

any help is welcome.

_________________
Hammer
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Lonkero
KiXforms Devotee
KiXforms Devotee


Joined: 13 Mar 2003
Posts: 1022
Location: Espoo, Finland

PostPosted: Tue Jun 06, 2006 9:59 pm    Post subject: Reply with quote

hmm...
the sizemode should do it.
I just can't get it do what I want.

$picturebox.sizemode = $system.pictureboxsizemode_stretchImage

stretches the image.
when what I want is make the image fit to the screen but if smaller, increase the size.


anyways, looks like I have to code it myself...

_________________
Hammer
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
benny69
KiXforms Advocate
KiXforms Advocate


Joined: 30 Oct 2003
Posts: 567
Location: Lincoln, Ne

PostPosted: Tue Jun 06, 2006 10:02 pm    Post subject: Reply with quote

kf.net has a property called 'BackgroundImageLayout' that can tile, center, stretch and zoom. this property is a part of all the containers, you know form, groupbox, panel and tabpage, but shawn has not implemented it, i am not even sure it will give you the results you are looking for.
_________________
Wait don't order yet,... get KiXforms Designer .NET 2.0 (Beta)
KiXforms Designer .NET 2.0 (Beta)
Back to top
View user's profile Send private message Send e-mail
Lonkero
KiXforms Devotee
KiXforms Devotee


Joined: 13 Mar 2003
Posts: 1022
Location: Espoo, Finland

PostPosted: Tue Jun 06, 2006 10:15 pm    Post subject: Reply with quote

hmm...
ja, shawn da basta.

can't use the picturebox sizemode = zoom either.

but I really would want to have is sizemode_zoom + sizemode_centerImage

_________________
Hammer
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
benny69
KiXforms Advocate
KiXforms Advocate


Joined: 30 Oct 2003
Posts: 567
Location: Lincoln, Ne

PostPosted: Tue Jun 06, 2006 10:22 pm    Post subject: Reply with quote

yep picturebox and sizemode thats it
_________________
Wait don't order yet,... get KiXforms Designer .NET 2.0 (Beta)
KiXforms Designer .NET 2.0 (Beta)
Back to top
View user's profile Send private message Send e-mail
Lonkero
KiXforms Devotee
KiXforms Devotee


Joined: 13 Mar 2003
Posts: 1022
Location: Espoo, Finland

PostPosted: Tue Jun 06, 2006 10:26 pm    Post subject: Reply with quote

for everyone else, shawn hasn't added all the sizemodes to the enum.

use constant 4 to gain access to size mode zoom.

_________________
Hammer
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Shawn
KiXforms Developer
KiXforms Developer


Joined: 22 Feb 2003
Posts: 1983
Location: Canada

PostPosted: Tue Jun 06, 2006 10:36 pm    Post subject: Reply with quote

Sadly...

Control.BackgroundImageLayout Property

Note: This property is new in the .NET Framework version 2.0.

:0(
Back to top
View user's profile Send private message
Lonkero
KiXforms Devotee
KiXforms Devotee


Joined: 13 Mar 2003
Posts: 1022
Location: Espoo, Finland

PostPosted: Tue Jun 06, 2006 10:44 pm    Post subject: Reply with quote

shawn, doesn't matter.
we not using it anyways Wink

and I already have other issues...

_________________
Hammer
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    KiXforms Forum Index -> KiXforms.NET Discussion All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group