Sub CreateAllDemoButtons()
Dim MyFont As BTN_FONT, x As Long
For x = 0 To 3
MyFont = DefaultFont()
MyFont.Size = MyFont.Size - (x * 1.5)
' ==============================
' BOUTON BLEU
' ==============================
CreatePremiumButton _
"BTN_SAVE" & CStr(x), _
ChrW(10003) & " SAUVER", _
20 + (x * 130), 20, _
120 - (x * 15), 30 - (x * 4), _
btn_blue, _
"ActionSave", _
MyFont
MyFont.Color = 0
' ==============================
' BOUTON GREEN
' ==============================
CreatePremiumButton _
"BTN_GREEN" & CStr(x), _
ChrW(9743) & " Téléphone", _
20 + (x * 130), 65, _
120 - (x * 15), 30 - (x * 4), _
btn_green, _
"ActionStart", _
MyFont
Next x
End Sub