Search found 2 matches

by bafometto
Thu Feb 20, 2020 3:50 pm
Forum: Coding Questions
Topic: ListIcon Header centering
Replies: 1
Views: 1480

ListIcon Header centering

This simple procedure allows you to center the header of a column of the ListIconGadget.


; ********************************************************
; Center the Header of a column
; ********************************************************
#List=0

Procedure.s Header_Center(Column, font)
lc ...
by bafometto
Wed Nov 27, 2019 2:26 pm
Forum: Coding Questions
Topic: String-Button with Icon
Replies: 10
Views: 2358

Re: String-Button with Icon

A simple way to create Buttons with a personal Icon:

Note: the height of the button must be appropriate to the size of the icon (in this example 32x32 icons are used)

OpenWindow(0, 100, 100, 640, 480, "")
LoadFont(2, "Arial", 11, #PB_Font_HighQuality)
SetGadgetFont(#PB_Default, FontID(2 ...