CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Page 2 of 2 FirstFirst 12
Results 16 to 29 of 29
  1. #16
    Join Date
    Apr 2006
    Location
    Kolkata, India
    Posts
    278

    Re: need help about picture box

    'This sets the picturebox text font to whatever the textbox is, and also ensures that the label will autosize to whatever the text size is.
    'line1.
    Picture1.CurrentX = (Picture1.ScaleWidth / 2) - (Label1.Width / 2)
    Picture1.CurrentY = (Picture1.ScaleHeight / 2) - (Label1.Height / 2)
    'This uses the dimensions of the label to center the text on the picturebox.

  2. #17
    Join Date
    Apr 2006
    Location
    Kolkata, India
    Posts
    278

    Re: need help about picture box

    Dglienna
    I forgot how to make that code tag
    Pls help.

  3. #18
    Join Date
    Jan 2006
    Location
    Fox Lake, IL
    Posts
    15,007

    Re: need help about picture box

    You put (CODE)(\[CODE)
    Code:
    in tags without the ()
    But, that doesn't seem like it required such a detailed explanation. I guess I helped enough...
    David

    CodeGuru Article: Bound Controls are Evil-VB6
    2013 Samples: MS CODE Samples

    CodeGuru Reviewer
    2006 Dell CSP
    2006, 2007 & 2008 MVP Visual Basic
    If your question has been answered satisfactorily, and it has been helpful, then, please, Rate this Post!

  4. #19
    Join Date
    Jan 2006
    Location
    Fox Lake, IL
    Posts
    15,007

    Re: need help about picture box

    If it doesn't work, go back and edit it. You post code, but I don't think you have typed it. If you had a program, then you'd have different questions. We don't do your work for you.
    David

    CodeGuru Article: Bound Controls are Evil-VB6
    2013 Samples: MS CODE Samples

    CodeGuru Reviewer
    2006 Dell CSP
    2006, 2007 & 2008 MVP Visual Basic
    If your question has been answered satisfactorily, and it has been helpful, then, please, Rate this Post!

  5. #20
    Join Date
    Mar 2009
    Posts
    118

    Re: need help about picture box

    Quote Originally Posted by dglienna View Post
    Use code tags, or don't post at all, please. You'll confuse him further
    you are right brother dglienna , it is confusing ... one thing i personaly want to express .. i got lot of help here in every aspect ... but ist i am teated that i do not know anything and later i am helped by all the friends.. i have got lot code related zoom .. but what i want is already said in my previous pots .. that i want to zoom an image with mouse scroll button ... another request how can we fix the size of a picturebox so that if any size of image will fit in it.

    i am teasted now .. so i may be helpd now

    thanks in advance

  6. #21
    Join Date
    Apr 2006
    Location
    Kolkata, India
    Posts
    278

    Cool Re: need help about picture box

    [QUOTE=I got lot of help here in every aspect ... but ist i am teated that i do not know anything and later i am helped by all the friends.. i have got lot code related zoom .. but what i want is already said in my previous pots .. that i want to zoom an image with mouse scroll button ... another request how can we fix the size of a picturebox so that if any size of image will fit in it.

    i am teasted now .. so i may be helpd now

    thanks in advance[/QUOTE]

    So, Mahii

    Did you see my post ? go & give it a try with Picture boxes /Sliders etc.
    I hope you wont be dissapointed & teasted.

  7. #22
    Join Date
    Jul 2001
    Location
    Sunny South Africa
    Posts
    11,283

    Re: need help about picture box

    I'm going to be mean now.
    I am unsubscribing from this thread because the OP has no intention of trying / learning.
    Someone please wake me up when an attempt has been made from the OP.

    There are plenty other threads on these forums, from people who actually want to learn...

  8. #23
    Join Date
    Mar 2009
    Posts
    118

    Re: need help about picture box

    Quote Originally Posted by HanneSThEGreaT View Post
    I'm going to be mean now.
    I am unsubscribing from this thread because the OP has no intention of trying / learning.
    Someone please wake me up when an attempt has been made from the OP.

    There are plenty other threads on these forums, from people who actually want to learn...

    brother HanneSThEGreaT get up from ur sleep and listen .. i am not here to make myself fool .. i am also here to learn .. and i know no one dies with perfection in evrything ... so i am also here 2learn and might not get all the perfection as per my need ... so i have to ask help ... if u wish helpme ...

    so plz do not make such negative points ...

  9. #24
    Join Date
    Jan 2006
    Location
    Fox Lake, IL
    Posts
    15,007

    Re: need help about picture box

    Go back and read EVERY POST in this thread, and try each sample. The answer has been all but handed to you, and if you get anywhere near close, you'll get more help than if you do NOTHING and wait for someone else to do it
    David

    CodeGuru Article: Bound Controls are Evil-VB6
    2013 Samples: MS CODE Samples

    CodeGuru Reviewer
    2006 Dell CSP
    2006, 2007 & 2008 MVP Visual Basic
    If your question has been answered satisfactorily, and it has been helpful, then, please, Rate this Post!

  10. #25
    Join Date
    Apr 2006
    Location
    Kolkata, India
    Posts
    278

    Re: need help about picture box

    Mahii,

    Why do you wnat us to write the code for you?
    Who are you President?Corporal ,Managing Director?
    And last not the least are you our Computer teacher taking tests?
    Every one helped you guided you, but you refrain for seeing them instead just self pitying yourself.
    Try Mahii Try , use your fingers to write a code , click some buttons, instead of using them to post letters in this forum.

  11. #26
    Join Date
    Mar 2009
    Posts
    118

    Re: need help about picture box

    Quote Originally Posted by dsrahul View Post
    Mahii,

    Who are you President?Corporal ,Managing Director?
    And last not the least are you our Computer teacher taking tests?
    brother u seems to be very rude ... this is not the indication of an educated one... i am working there where managing directors works under me. i think people now a days are dreaming to be a prime minster and u are talking about managing directors .. it show ur depth ... by the way thanks for ur good compiliments ... think higher ..

  12. #27
    Join Date
    Jan 2006
    Location
    Fox Lake, IL
    Posts
    15,007

    Re: need help about picture box

    If you want, we could have this moved to Chit-Chat, as it doesn't seem to be getting anywhere in the programming forum. Did you read the posts?
    David

    CodeGuru Article: Bound Controls are Evil-VB6
    2013 Samples: MS CODE Samples

    CodeGuru Reviewer
    2006 Dell CSP
    2006, 2007 & 2008 MVP Visual Basic
    If your question has been answered satisfactorily, and it has been helpful, then, please, Rate this Post!

  13. #28
    Join Date
    Mar 2009
    Posts
    118

    Re: need help about picture box

    Quote Originally Posted by dglienna View Post
    If you want, we could have this moved to Chit-Chat, as it doesn't seem to be getting anywhere in the programming forum. Did you read the posts?
    you are true brother ...... we have gone on another side.. i personally apologise to whosoever have felt bad by my words ... i will try it myself , further i do not want to humilate more ... thanks for all .. plz leave replying this thread

  14. #29
    Join Date
    Jul 2001
    Location
    Sunny South Africa
    Posts
    11,283

    Re: need help about picture box

    I am closing this thread now. Any objections, please feel to contact me.

Page 2 of 2 FirstFirst 12

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured