Solved

Disable EnableIncrementDecrementButtons at runtime

Posted on 2011-02-25
7
445 Views
Last Modified: 2013-11-08
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
Comment
Question by:ThinkerB
  • 4
  • 3
7 Comments
 
LVL 42

Expert Comment

by:sedgwick
ID: 34995089
0
 

Author Comment

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

Expert Comment

by:sedgwick
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.
0
Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

 

Author Comment

by:ThinkerB
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.
0
 
LVL 42

Expert Comment

by:sedgwick
ID: 35004736
can u post a screenshot?
0
 

Accepted Solution

by:
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
0
 

Author Closing Comment

by:ThinkerB
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
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
This guide will walk you through the essential considerations and tech stack for building scalable websites. Know how to grow your business the smart way!
This video shows how use content aware, what it’s used for, and when to use it over other tools.
The viewer will learn how to create multiple layers to apply various filters and how to delete areas from each layer’s filter.

838 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