Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. How

How

Scheduled Pinned Locked Moved C#
debugginghelp
11 Posts 6 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    Silvyster
    wrote on last edited by
    #1

    Im planning that when the form loads it is invisible. So what i did was in the constructor of the FORM I called the form or set the form to hide by setting the VISIBLE property to false or called the hide function. It doesnt work.. so I used the form load event, and i set the properties and or function there and it doesnt work.. so i used the form shown event, it worked but the problem is, the form shows then dissappears and its kinda look ugly that way.. what i want is that when executed the form is invisible without a trace.

    realJSOPR E M 3 Replies Last reply
    0
    • S Silvyster

      Im planning that when the form loads it is invisible. So what i did was in the constructor of the FORM I called the form or set the form to hide by setting the VISIBLE property to false or called the hide function. It doesnt work.. so I used the form load event, and i set the properties and or function there and it doesnt work.. so i used the form shown event, it worked but the problem is, the form shows then dissappears and its kinda look ugly that way.. what i want is that when executed the form is invisible without a trace.

      realJSOPR Offline
      realJSOPR Offline
      realJSOP
      wrote on last edited by
      #2

      Set the opacity to 0 in the form properties.

      "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
      -----
      "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001

      1 Reply Last reply
      0
      • S Silvyster

        Im planning that when the form loads it is invisible. So what i did was in the constructor of the FORM I called the form or set the form to hide by setting the VISIBLE property to false or called the hide function. It doesnt work.. so I used the form load event, and i set the properties and or function there and it doesnt work.. so i used the form shown event, it worked but the problem is, the form shows then dissappears and its kinda look ugly that way.. what i want is that when executed the form is invisible without a trace.

        E Offline
        E Offline
        Ed Poore
        wrote on last edited by
        #3

        It's a problem in your calling code, not the form itself.  You can create a form by calling it's constructor, everything will happen then (if written properly) but it will not be visible.

        1 Reply Last reply
        0
        • S Silvyster

          Im planning that when the form loads it is invisible. So what i did was in the constructor of the FORM I called the form or set the form to hide by setting the VISIBLE property to false or called the hide function. It doesnt work.. so I used the form load event, and i set the properties and or function there and it doesnt work.. so i used the form shown event, it worked but the problem is, the form shows then dissappears and its kinda look ugly that way.. what i want is that when executed the form is invisible without a trace.

          M Offline
          M Offline
          Mbah Dhaim
          wrote on last edited by
          #4

          if you want your form invisible, why use form? i mean how about just create an object that hold all information (field, method, properties) of your "invisible form". hope it helps.

          dhaim programming is a hobby that make some money as side effect :)

          realJSOPR 1 Reply Last reply
          0
          • M Mbah Dhaim

            if you want your form invisible, why use form? i mean how about just create an object that hold all information (field, method, properties) of your "invisible form". hope it helps.

            dhaim programming is a hobby that make some money as side effect :)

            realJSOPR Offline
            realJSOPR Offline
            realJSOP
            wrote on last edited by
            #5

            The "why" is irrelevant. If you can't help the guy, refrain from posting.

            "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
            -----
            "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001

            M 1 Reply Last reply
            0
            • realJSOPR realJSOP

              The "why" is irrelevant. If you can't help the guy, refrain from posting.

              "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
              -----
              "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001

              M Offline
              M Offline
              Mbah Dhaim
              wrote on last edited by
              #6

              Just make a suggestion. If you don't need a visual object why you use that?. You can create an object substantially similar of "invisible form" and you don't have to set Visible property to false. :laugh:

              dhaim programming is a hobby that make some money as side effect :)

              realJSOPR 1 Reply Last reply
              0
              • M Mbah Dhaim

                Just make a suggestion. If you don't need a visual object why you use that?. You can create an object substantially similar of "invisible form" and you don't have to set Visible property to false. :laugh:

                dhaim programming is a hobby that make some money as side effect :)

                realJSOPR Offline
                realJSOPR Offline
                realJSOP
                wrote on last edited by
                #7

                You don't see to get it. The original poster asked how to do something - NOT for alternatives to what he was doing or opinions about his coding. Answering someone's question AS POSTED is a lot more important that trying to prove you're clever (which you aren't).

                "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
                -----
                "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001

                M G 2 Replies Last reply
                0
                • realJSOPR realJSOP

                  You don't see to get it. The original poster asked how to do something - NOT for alternatives to what he was doing or opinions about his coding. Answering someone's question AS POSTED is a lot more important that trying to prove you're clever (which you aren't).

                  "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
                  -----
                  "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001

                  M Offline
                  M Offline
                  Mbah Dhaim
                  wrote on last edited by
                  #8

                  so you are clever enough with your answer : 'Set the opacity to 0 in the form properties.' don't be rude dude.

                  John Simmons / outlaw programmer wrote:

                  a lot more important that trying to prove you're clever (which you aren't).

                  I don't need to prove that I'm clever or not. I know you are MVP in CP, IMO nothing special with your knowledge. In this forum, peoples can share all possible answer to help others as you do with writing all your articles. aren't you?

                  dhaim programming is a hobby that make some money as side effect :)

                  1 Reply Last reply
                  0
                  • realJSOPR realJSOP

                    You don't see to get it. The original poster asked how to do something - NOT for alternatives to what he was doing or opinions about his coding. Answering someone's question AS POSTED is a lot more important that trying to prove you're clever (which you aren't).

                    "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
                    -----
                    "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001

                    G Offline
                    G Offline
                    Guffa
                    wrote on last edited by
                    #9

                    John Simmons / outlaw programmer wrote:

                    Answering someone's question AS POSTED is a lot more important that trying to prove you're clever

                    Many people don't know what to ask for, how to ask for it, or where to ask for it. If you only ever answer exactly what people ask for, you often can not give them the answer that they want, or the answer that they need.

                    Despite everything, the person most likely to be fooling you next is yourself.

                    B realJSOPR 2 Replies Last reply
                    0
                    • G Guffa

                      John Simmons / outlaw programmer wrote:

                      Answering someone's question AS POSTED is a lot more important that trying to prove you're clever

                      Many people don't know what to ask for, how to ask for it, or where to ask for it. If you only ever answer exactly what people ask for, you often can not give them the answer that they want, or the answer that they need.

                      Despite everything, the person most likely to be fooling you next is yourself.

                      B Offline
                      B Offline
                      Blue_Boy
                      wrote on last edited by
                      #10

                      I agree with you dude. :)


                      I Love T-SQL "Don't torture yourself,let the life to do it for you." If my post helps you kindly save my time by voting my post.

                      1 Reply Last reply
                      0
                      • G Guffa

                        John Simmons / outlaw programmer wrote:

                        Answering someone's question AS POSTED is a lot more important that trying to prove you're clever

                        Many people don't know what to ask for, how to ask for it, or where to ask for it. If you only ever answer exactly what people ask for, you often can not give them the answer that they want, or the answer that they need.

                        Despite everything, the person most likely to be fooling you next is yourself.

                        realJSOPR Offline
                        realJSOPR Offline
                        realJSOP
                        wrote on last edited by
                        #11

                        Guffa wrote:

                        Many people don't know what to ask for, how to ask for it, or where to ask for it

                        If a person's communication skills aren't adequate, maybe they should learn better English. That *is* the language used on this site.

                        Guffa wrote:

                        If you only ever answer exactly what people ask for, you often can not give them the answer that they want, or the answer that they need.

                        How could that guys question have been interpreted as "give me an alternative". He wanted to set the form to be invisible when it started up. I gave him the solution to *that* question. I don't care why he wants to do it. I do some pretty whacked out stuff myself (like most of us have), and I personally don't like being quizzed as to my motives, or have some nimrod in a foreign country second-guessing me - I just want an answer to the question I posted. If you can't get your pointed little heads around that concept, then please don't answer my questions. In any case, this conversation doesn't belong in this forum.

                        "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
                        -----
                        "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001

                        1 Reply Last reply
                        0
                        Reply
                        • Reply as topic
                        Log in to reply
                        • Oldest to Newest
                        • Newest to Oldest
                        • Most Votes


                        • Login

                        • Don't have an account? Register

                        • Login or register to search.
                        • First post
                          Last post
                        0
                        • Categories
                        • Recent
                        • Tags
                        • Popular
                        • World
                        • Users
                        • Groups