Results 1 to 2 of 2

Thread: How do I create a really cool icon?

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Jul 2000
    Location
    Novi Sad, Serbia and Montenegro (formerly known as Yugoslavia)
    Posts
    148

    Cool

    Go to Prject Properties, select Make tab and in field
    Icon choose form whos icon you would like to see in Exporer

    Is this what you wanted?

    Here's a few tips about icons and your exe size:

    You can put default Windows icon on any form by going to
    icon property and pressing Delete on your keyboard. This
    icon is not saved in your exe

    If you'r using one icon on two or more forms, use previus
    tip to delete icons on Form2 and other forms except Form1.
    Then place fallowing code to Form_Load on Form2 and other
    forms:

    me.icon=form1.icon

    You can use this same thing if you have more than one
    PictureBox with same picture, but code would be:

    Picture2.Picture = Picture1.Picture
    Picture3.Picture = Picture1.Picture
    and so on

    [Edited by ns-code on 09-03-2000 at 01:54 AM]
    ( : ns-code : )
    FCP Products

  2. #2
    Guest

    Cool Changing icons on the fly

    You can also change icons while a program is running. I have an alarm monitoring program which runs minimized on the taskbar and it changes icons with the alarm state. to do this the app has 4 additional forms to the main one. Three of these forms have different a icon for different alarms and the fourth has a duplicate of the main form. To change icons you can use "mainform.icon = form1.icon" etc and to restore the original use "mainform.icon = form4.icon". The text on the task bar also changes by using "mainform.caption = textstring"

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