Toggle Button..?

TWELVE

Active Member
Licensed User
Hello,

i miss a toggle button in B4P.Same like normal button, but it stays pressed once clicked and comes out again if clicked second time.Can be useful to enable/disable or start/stop something.

regards

TWELVE
 

willisgt

Active Member
Licensed User
I'll have to look, but I thought that it was possible to do this with an ImageButton...


Gary
 

Cableguy

Expert
Licensed User
Longtime User
Easily done using a normal button or image button, and estableshing a flag...
Here's a simple example...
 

Attachments

  • tooglebutton.sbp
    722 bytes · Views: 233

TWELVE

Active Member
Licensed User
Hello,

i really appreciate your work, but that's not the same like a toggle button.
Apart from this, i do not want colored buttons every time.
Have a look at other IDEs/Languages, most of i know do have a Toggle button as a standard GUI element/control.

regards

TWELVE
 

TWELVE

Active Member
Licensed User
Hi Erel,

the toolbar button is not appropriate replacement for a button control with toggle property.

Is it that hard to implement such a toggle button..? It can save space on the GUI and also makes some other things easier.

cheers

TWELVE
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…