Link to home
Start Free TrialLog in
Avatar of ThinkerB
ThinkerBFlag for Canada

asked on

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
Avatar of Meir Rivkin
Meir Rivkin
Flag of Israel image

Avatar of ThinkerB

ASKER

I tried this at run time : Me.Location.Attributes("EnableIncrementDecrementButtons") = "False" but it did not work.
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.
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.
can u post a screenshot?
ASKER CERTIFIED SOLUTION
Avatar of ThinkerB
ThinkerB
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
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