Tips_gui   >   Windows   >   Pushbuttons

Set Icon Size

When you assign the $iconid property to a pushbutton Studio defaults to a k16x16 size icon. To control the size of the icon when assigning the $iconid you need to do the following:

Do PushButtonRef.$iconid.$assign(2105+k48x48)

Adding the icon size constant to the icon ID controls the size of the icon.