View Poll Results: How useful was this code to you?

Voters
3. You may not vote on this poll
  • Very

    1 33.33%
  • Some

    0 0%
  • Little

    0 0%
  • None

    2 66.67%
Results 1 to 6 of 6

Thread: Some Free Source Code

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Oct 2000
    Location
    Oregon
    Posts
    962

    Some Free Source Code

    The zip fire that is attached to this message contains some neifty code that I wrote. The code includes code to draw and use circle buttons, and gradations. To do the custom gradation, I had to write a function that takes a long color code, and converts it to RPG. There are also a bunch of other functions that may come in handy. Feel free to download, use, modify, and redisturbute the code. I would like it if you posted any modifitions of the code back up here, or e-mailed them to me so I can.

    The code doesn't contain any comments, so you will have to read though it to figure out how to use the code. The custom procuiders are pretty much self-exploritory. It should be easy for any advanced programer to figure out how to recreate the code. The program runs as is, as long as you have the common dialog control (which I couldn't admagin some one with out it).

    The current code allows the buttons to be horizantal, along with verchicel.
    The verchiel button does not work properly, I am working on figuring out why. Also, in the current verson, the starting gradant randomly changers
    The current verson allows you to use 16 bit color mode, instead of just 24 bit.
    Now, the current verson allows drag and drop. Right-click on the frame you wish to move, then drag it, then drop it.
    Last edited by Gaming_World; Aug 3rd, 2001 at 04:35 AM.

  2. #2
    Retired VBF Adm1nistrator plenderj's Avatar
    Join Date
    Jan 2001
    Location
    Dublin, Ireland
    Posts
    10,359
    Gradient looks nice.
    Last edited by plenderj; Aug 3rd, 2001 at 04:43 AM.
    Microsoft MVP : Visual Developer - Visual Basic [2004-2005]

  3. #3

    Thread Starter
    Fanatic Member
    Join Date
    Oct 2000
    Location
    Oregon
    Posts
    962
    How do you know if the gradiants look nice, if the bottons don't work?

  4. #4
    Retired VBF Adm1nistrator plenderj's Avatar
    Join Date
    Jan 2001
    Location
    Dublin, Ireland
    Posts
    10,359
    Because when I ran the app, it created a gradient automatically for me.
    Microsoft MVP : Visual Developer - Visual Basic [2004-2005]

  5. #5

    Thread Starter
    Fanatic Member
    Join Date
    Oct 2000
    Location
    Oregon
    Posts
    962
    Forgot I put that in. Look at the border color of the buttons. When the mouse is not over it is red, When the mouse is over it is blue, when you click, it is yellow.

  6. #6
    billfaceuk
    Guest
    Buttons very flickery but all the gradients were very nice

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