|
Post by alincon on Nov 13, 2018 16:47:49 GMT -5
I have a little calendar program written in LB. I use the leftbttn.bmp and 'rghtbttn.bmp to move one month backward or forward. I want to add the ability to move one year backward or forward. I know there are bmp buttons with two or three triangles but I don't know their names. Someone here must know. Thanks in advance. r.m.
|
|
|
Post by Brandon Parker on Nov 13, 2018 20:27:43 GMT -5
I do not recall the ones you mention and a quick search didn't find them, but you can easily take the left/ right arrow bitmaps and turn them into what you want by opening them in Paint, or some other tool, and copying the arrow.
{:0)
Brandon R. Parker
|
|
|
Post by metro on Nov 14, 2018 6:14:46 GMT -5
not sure if this is what you are after
RGHTBTTN =http://i66.tinypic.com/1zc0os1.jpg
edit
sorry re-read the post, you already have these
|
|
|
Post by tenochtitlanuk on Nov 14, 2018 7:05:31 GMT -5
I knocked up some that might be closer to what you want ( ?) ( right-click and save from here..) nomainwin
WindowWidth =260 WindowHeight =200
graphicbox #w.gb, 20, 20, 200, 50
bmpbutton #w.L2stop, "L2stop.bmp", L2stopClicked, LR, 150, 10 bmpbutton #w.L2, "L2.bmp", L2Clicked, LR, 120, 10 bmpbutton #w.pause, "pause.bmp", pauseClicked, LR, 90, 10 bmpbutton #w.R2, "R2.bmp", R2Clicked, LR, 60, 10 bmpbutton #w.R2stop, "R2stop.bmp", R2stopClicked, LR, 30, 10
open "Button Example" for window as #w wait
sub L2stopClicked bttnHandle$ #w.gb "fill 255 0 0" end sub
sub L2Clicked bttnHandle$ #w.gb "fill 0 255 0" end sub
sub pauseClicked bttnHandle$ #w.gb "fill 40 40 40" end sub
sub R2Clicked bttnHandle$ #w.gb "fill 0 0 255" end sub
sub R2stopClicked bttnHandle$ #w.gb "fill 220 220 80" end sub
sub quit h$ close #w end end sub
Save the bmp from here to the directory you save the program code...
|
|
|
Post by alincon on Nov 14, 2018 20:29:08 GMT -5
Thanks tenochtitlanuk, that's what I was looking for.
|
|