👉

Did you like how we did? Rate your experience!

Rated 4.5 out of 5 stars by our customers 561

Award-winning PDF software

review-platform review-platform review-platform review-platform review-platform

Video instructions and help with filling out and completing How Form 2220 Toggle

Instructions and Help about How Form 2220 Toggle

Okay, now let's add a toggle button to our form. A toggle button looks like this - it's just a button. Let's change some properties of this toggle button. I'm going to call this the name of "toggle_button_model_on/off". Let's change the caption to "on", the back color to something like blue, and the font to bold and 24. The text should be something more meaningful than just "on", let's do "meta line". The toggle button acts like a switch - you either want it on or off. This is a very generic example. When you click the toggle button, it will appear depressed and the coloring will change. Let me move this down here and run it. When I run it, you can see that when I click the toggle button, the caption changes. If the value is on, the caption will say "model is off". If the value is off, the caption will say "the model is now on". By default, the model is on. Let's change the caption to "switch". So if the value is true, that means the toggle button is pressed, and I will change the caption to "switch off". If the value is false, that means the toggle button is not pressed, and I will change the caption to "switch on". I can go to my worksheet now and go to "switch on/off" in my code for the button. I can place whatever the caption is onto the worksheet. So if I enter some data and close it, you can see that the "switch on/off" column says "switch off". That's all a toggle button is - it's like a light switch. You can turn it on or off, and you can actions based on its state. In the next video, we will add a picture...