Build user form data with code only
CADForums.net Forum Index CADForums.net
Discussion of AutoCAD and other CAD software.
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web cadforums.net
Build user form data with code only

 
Post new topic   Reply to topic    CADForums.net Forum Index -> VBA
Author Message
macleodjb
Guest





Posted: Sun Dec 26, 2004 7:34 pm    Post subject: Build user form data with code only Reply with quote

Does anyone know of a way you can build a user form without having to manually input all the form objects yourself, instead build it by typing code and modifying values.

Back to top
Mike Tuersley
Guest





Posted: Mon Jan 03, 2005 7:58 pm    Post subject: Re: Build user form data with code only Reply with quote

On form Load or Initialize, just add the controls --

Dim oCBX as New CheckBox
With oCBX
.Left = 1
.Top = 1
.Width = 12
.....etc.....
End With


-- Mike
___________________________
Mike Tuersley
CADalyst's CAD Clinic
Rand IMAGINiT Technologies
___________________________
the trick is to realize that there is no spoon...
Back to top
 
Post new topic   Reply to topic    CADForums.net Forum Index -> VBA All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




Windows Server DSP VoIP Electronics New Topics
Powered by phpBB