InfraWorks General

Reply
Active Member
b.banzer
Posts: 10
Registered: ‎04-04-2011
Message 1 of 2 (183 Views)

Enable/Disable a control in a form and set values to a control with VB?

183 Views, 1 Replies
07-25-2012 06:38 AM

Hello everybody,

 

I have the following problem.

 

I have a form with a check box, which indicates if the feature needs to be payed or not. If the checkbox is set to TRUE, the control (textbox) next to it, should be enabled in order to add a price. If it is set to FALSE, the contol next to it should be disable and it's value should be set to "0".

 

I suppose all this is possible with some VB code in the "validation code" property of the checkbox, but I couldn't find anything on this topic, which helped to solve my problem.

 

Does anybody could help me on this one?

 

Best regards,

 

Bob 

 

 

Employee
konstantin.baumann
Posts: 87
Registered: ‎01-04-2011
Message 2 of 2 (180 Views)

Re: Enable/Disable a control in a form and set values to a control with VB?

07-25-2012 09:33 AM in reply to: b.banzer

Since AIM does not support VB scripting, I think this probably belongs into one of the MapGuide groups here: http://forums.autodesk.com/t5/Additional-Product-Forums/ct-p/1 ?

You are not logged in.

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

Announcements
Are you interested in helping shape the Autodesk Community?
We’re looking at a few different ways to improve the “All Forums” landing page and need your feedback! If interested, please take a few minutes to fill out the following Usability Study. Thank you for your time!

Need installation help?

Start with some of our most frequented solutions to get help installing your software.

Ask the Community