Setting Button to Open Folder Icon

Technical support and scripting issues

Moderators: Dorian (MJT support), JRL

Post Reply
kpassaur
Automation Wizard
Posts: 696
Joined: Wed Jul 07, 2004 1:55 pm

Setting Button to Open Folder Icon

Post by kpassaur » Tue Sep 14, 2010 8:36 am

In using ver 12, I am trying to set the image of a button to the Open Folder Icon.

I am sure this is real easy, but I have yet to figure out an easy way to do it.

I have been creating the dialog, finding the button, and then in between the lines DoubleBuffered = True and ParentDoubleBuffered = False I have inserted.

Code: Select all

    Glyph.Data = {
      F6000000424DF600000000000000760000002800000010000000100000000100
      0400000000008000000000000000000000001000000010000000000000000000
      80000080000000808000800000008000800080800000C0C0C000808080000000
      FF0000FF000000FFFF00FF000000FF00FF00FFFF0000FFFFFF00777777777777
      77777777777777777777000000000007777700333333333077770B0333333333
      07770FB03333333330770BFB0333333333070FBFB000000000000BFBFBFBFB07
      77770FBFBFBFBF0777770BFB0000000777777000777777770007777777777777
      7007777777770777070777777777700077777777777777777777}

Then I go back into the editor and adjust the size and location. This works but I know there is an easier way.

Anyone know what it is?

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts