Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win


Disable EnableIncrementDecrementButtons at runtime

Posted on 2011-02-25
Medium Priority
Last Modified: 2013-11-08

I am using Iron Speed to generate my code and I would like to know if someone knows how to disable Increment and Decrement buttons at runtime.

Question by:ThinkerB
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
LVL 42

Expert Comment

by:Meir Rivkin
ID: 34995089

Author Comment

ID: 34997378
I tried this at run time : Me.Location.Attributes("EnableIncrementDecrementButtons") = "False" but it did not work.
LVL 42

Expert Comment

by:Meir Rivkin
ID: 34997462
Use the Application Generation Options dialog (Tools->Application Generation Options) to enable or disable them globally for your entire application.

Use the Properties dialog, Attributes tab to enable or disable them for a single control.
Free Backup Tool for VMware and Hyper-V

Restore full virtual machine or individual guest files from 19 common file systems directly from the backup file. Schedule VM backups with PowerShell scripts. Set desired time, lean back and let the script to notify you via email upon completion.  


Author Comment

ID: 34999006
Maybe I did not explain properly. I don't want to disable the enable and disable button when the code is generated.
What I want to do is make this textbox not visible depending of a value that I just know when the code is executed (at runtime) but when I make the field not visible the incrementdecrement button still show.
LVL 42

Expert Comment

by:Meir Rivkin
ID: 35004736
can u post a screenshot?

Accepted Solution

ThinkerB earned 0 total points
ID: 35444225
I found that the increment/decrement button will not disappear if the field is disabled as per design.
I solved it adding a panel before the button and make it visible=false

Author Closing Comment

ID: 35465266
It seemed to me that the person who was trying to answer had no experience with Iron Speed and I end up using an alternative way to solve the issue

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Curious about the latest ransomware attack? Check out our timeline of events surrounding the spread of this new virus along with tips on how to mitigate the damage.
Ever wonder what it's like to get hit by ransomware? "Tom" gives you all the dirty details first-hand – and conveys the hard lessons his company learned in the aftermath.
This video will demonstrate how to find the puppet warp tool from the edit menu and where to put the points to edit.
The viewer will learn how to successfully download and install the SARDU utility on Windows 8, without downloading adware.

636 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question