• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 472
  • Last Modified:

Disable EnableIncrementDecrementButtons at runtime

Hi,

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.

Thanks,
ThinkerB
0
ThinkerB
Asked:
ThinkerB
  • 4
  • 3
1 Solution
 
Meir RivkinFull stack Software EngineerCommented:
0
 
ThinkerBAuthor Commented:
I tried this at run time : Me.Location.Attributes("EnableIncrementDecrementButtons") = "False" but it did not work.
0
 
Meir RivkinFull stack Software EngineerCommented:
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.
0
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
ThinkerBAuthor Commented:
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.
0
 
Meir RivkinFull stack Software EngineerCommented:
can u post a screenshot?
0
 
ThinkerBAuthor Commented:
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
0
 
ThinkerBAuthor Commented:
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
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 4
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now