LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default checkbox in runtime

Hi, I hope that you can help me about this question.

I have a form with a tabstrip, in some of the frames that I'm using in
the tabstrip I need to create some checkboxes, until here everything
its ok but when I try to work with the click event of the checkbox it
doesn't work. Which is the correct form to do it?

With TabStrip1
Load Frame1(i)

Set chk = Controls.Add("vb.checkbox", "check1" & (i), Frame1(i))
chk.Move 3120, 3480, 255, 255
chk.Visible = True
If check1(i).Value = Checked Then 'error Object variable or With
variable not set
For h = 0 To 8
Set t = Controls.Add("VB.TextBox", "TextBox" & (i) & (h),
Frame1(i))
t.Move xcor(h), ycor(h) + 4000, twidth(h), theight(h)
t.Visible = True
Next
End If
End With

xcor, ycor, twidth y theight are Arrays

thanks in advance

Javier Martinez

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Runtime Sundowner Excel Discussion (Misc queries) 0 February 27th 10 01:31 AM
How to have Checkbox A uncheck with checked Checkbox B Texas Aggie Excel Discussion (Misc queries) 3 July 20th 07 10:58 PM
Add a label at runtime Ron Excel Programming 3 December 4th 05 08:23 PM
checkbox on form reset from checkbox on sheet raw[_12_] Excel Programming 1 December 3rd 05 05:08 AM
ADO runtime files ? [email protected] Excel Programming 1 October 26th 05 04:49 AM


All times are GMT +1. The time now is 06:03 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"