var sidebar_align = 'right';
var content_container_margin = parseInt('290px');
var sidebar_width = parseInt('270px');
Unanswered: how do I write code to an event when creating a control?
I am creating about 80 controls on a form using the CreateControl method.
Is there a way that I can also create some code for the 'OnClick' event at the same time?
This works to attach the subroutine "Test" to the onclick event of a form:
Forms("Form1").Controls("Command1").OnClick = "=Test()"