FAQ Database Discussion Community


Detect if a Form Control option button is selected in VBA

excel,vba,excel-vba,form-control,optionbutton
I have a code that work just fine using ActiveX option buttons. However, I want the macro to run on a Mac as well so I am trying to replace my ActiveX controls with form controls. With ActiveX, all I had to do in order to check if one of...

Triggering VBA code using Form Control Check Box instead of ActiveX

vba,activex,form-control
I have the code below working in a budget template for work. However, before I roll this out to all the users, I need to make it Mac friendly. Since Macs don't like ActiveX Controls, I'm trying to figure out a way to make this code work using form controls....

C# Windows Form Application - value not printing in textbox for each time

c#,winforms,textbox,windows-forms-designer,form-control
Value not printing in textbox for each time.. Iam able to see last value only (10) in textbox. private void button1_Click(object sender, EventArgs e) { for(int i = 0; i<=10; i++) { textBox1.Text = i.ToString(); Thread.Sleep(100); } } ...

Add a Canvas Form Control in Drupal Custom Module

forms,drupal,drupal-7,drupal-modules,form-control
Im currently developing a module and I have this code in html: <canvas id="cnv" name="cnv" width="500" height="100"></canvas> I want it to add in my page using form controls but when I scan through Form API Reference , there's no canvas form control available. How to make it possible in Drupal?...

How can the visibility of a button in a form be changed dynamically using x++ code?

forms,axapta,x++,dynamics-ax-2012,form-control
How can I change the visibility of my button control MyButton? I have a form MyForm where I want to set the visibility property for my MyButton button control. I used this code in the form's init method: public void init() { MyTable myTable; ; while select myTable where myTable.UserId...