button

  1. stevel05

    B4J Code Snippet {DSE] Button Shapes

    These methods are now included in DSE_Shapes class which provides more functionality. Here are several Designer script extension methods that allow buttons to be shaped and rotated. It's a bit of a novelty, but may come in useful at some time. Each shape method also attempts to apply...
  2. P

    Spanish Reiniciar las variables como si se usara por primera vez la app.

    Hola Foro. Saludos. Tengo un proyecto de calculadora básica (suma,resta,multiplicación,división). De los ejemplos, la mayoría usan el edittext para ingresar los datos, yo quiero usar botones y etiquetas para ingresar los datos, hacer la app tipo calculadora.... Aclaro, mucho de lo que he...
  3. Alexander Stolte

    B4A Library [B4X] [XUI] AS TextFieldAdvanced - Title, Information, Counter, Password, Button, Prefix, Suffix, Icons

    With this view you can quickly and easily add good looking text fields, with title and or bottom text. Additionally you can make the TextField a button, so that you can open menus, but still keep the design of the text fields. The view speeds up development because you don't have to worry about...
  4. R

    Android Question Difference DefaultDrawable and StateListDrawable buttons regarding button edge

    Trying to place button on a panel and set the gap between those buttons. Noticed there seems to be a difference between DefaultDrawable and StateListDrawable buttons as how the edge of the button shows on the panel. These 2 layout scripts show the difference: For StateListDrawable buttons this...
  5. mmrafiei

    Android Question Shape the Button

    hello guys, I have a question how can i shape the button in b4a. for example make a round button. may you help me.I am a novice in b4a, please guide me completely.
  6. I

    Android Question Add Image to button in code

    Hi There, I am trying to add an image to a button via code and achieve the look as in this post: https://www.b4x.com/android/forum/threads/how-to-add-image-to-button-with-text.117775/ 1. keep Round corners 2. Keep the elevation 3. Set background color (if Possible only) I have seen the replies...
  7. F

    Android Question auto_clicking a button

    auto_clicking a button to do something.not with finger exem: button.autoclick(x,y) how to code?
  8. Ja8

    Games Trying to put a "fire button" in my stage with LibGDX

    Hi everybody: First of all, this is my first message in the forum. I have read the rules, but I'm sorry if I had some errors writing this. I'm trying to make a very simple game in LibGDX with a main screen, a stage, an actor, a camera that follows the actor and a couple of buttons (to shot and...
  9. N

    Android Question B4A Buttons Alignment

    Hello I have multiple buttons that I want to center, I also want these buttons to adapt with screen sizes, for example on tablet, these four buttons must be in one row since they can fit all together on the tablet's screen. Thank you, Nataly
  10. A

    B4A Library [B4X] [XUI Views] - AMProgressButton

    Hello, My New Cross Platform Library is ready now :) A new styled button with built-in progressbar Features Cross-platform compatible A good text animation Changeable values Custom Colors Custom Border And CornerRadius Tested in B4A B4J * I don't have tested it with B4I, but it should...
  11. A

    B4A Library [B4X] [XUI Views] AMButton - New flexible and attractive button

    Hello, I have made a new styled button Features cross-platform compatible a good animation Changeable values custom values Tested in B4A B4J * I don't have tested it with B4I, but it should work * B4A: B4J: AMButton Author: AmirMK82 Version: 1.00 AMButton Events: Click Fields...
  12. Alexander Stolte

    B4A Library [B4X] [XUI] AS FloatingActionButton [Payware]

    HeyHo, this is a cross platform Floating Action Button. This library is not free, because, it cost a lot of time and gray hair to create such views. Donations from 5€ are valid. (You can donate any amount you want :)) Please write FloatingActionButton in the order description, thanks. Thanks...
  13. K

    German Adventskalender

    Guten Morgen allerseits 😊 Ich versuche einen Adventskalender zu machen. Nun habe ich jedoch folgendes Problem : Wie kann ich das machen, dass man einen Button NUR klicken darf, wenn das Datum bereits erreicht ist?
  14. M

    iOS Question iOS Switch Centering

    hi everyone, i'm trying to center properly a native ios switch in a panel, but i don't get it done in a reliable way. in the designer How can i manage to get it done properly? :( Thanks in advance
  15. amorosik

    Italian [B4X] Button - Come farli tondi / ovali / altre forme ?

    Come si fanno i command button tondi/ovali? C'e' modo di farli anche con forme arbitrarie (ad esempio una macchinetta o simile) ? E sui button standard quelli da ambiente originale, come cambiare il colore sfondo del tasto?
  16. M

    iOS Question Text and Material Icons in b4xview Buttons

    Hi everyone, my question is: It's possibile to put a combination of Matrial Icons and Text in a button declared as B4xview? I'm used to CSBuilder, but b4xview does not have the .AttributedText parameter :( Thanks in advance
  17. M

    Android Question Insert bitmap in a button that have colordrawable

    Hi everyone, I've a round button (with border), but i want to insert a bitmap into too. i'm trying to achieve the same effect i've done in my iOS app. It's possibile to this thing? Thanks in advance!
  18. M

    Android Question SVG in button

    hi, i wanted to know if there is a way to put an svg as image in a button (int the bitmap properity) Thanks in advance!
  19. W

    Android Tutorial Hugo - ESP8266 4-button WiFi remote

    Not exactly a tutorial or Android-only, but a hint to the community for those who like playing with home automation stuff, and possibly for others as well. I happened across this very nice device (IMHO): https://www.tindie.com/products/nicethings/hugo-esp8266-4-button-wifi-remote/ and couldn't...
  20. DALB

    Android Question button crash with code inside, no crash without code inside

    Hello everyone, I've a famous and strange behaviour from a button. With the following code Sub btnCalculsMoyJ_Click Dim nc As Int=Table1.SelectedRows Log(nc) ToastMessageShow("what Happens ?'","???") End Sub the app crashes without any reason and I have no line in the log...
Top