Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Need clarification on what too use?

Status
Not open for further replies.

ixian

Programmer
Jul 13, 2001
128
0
0
US
Hey all,

Okay. I have some coding(alot) but here is the small of it

A private sub RTF1_keyup(KeyCode As Integer, Shift As Integer)
and private sub lstSMART_keypress(KeyAscii As Integer)
about 800 lines of code. if the user keyup/keypress 5 different keys then a smart lsitbox opens. Would it be easier to put each different keyup/keypress in a class module or module and use Case Select and Load each if is selected?

Aaron

Fear is the mind killer!!!!!!
 
Normally when adding functions into modules, it would be for the main reason that other forms would be able to use. In your case, if this is the only form using the keyup and keypress, then I guess it would not be useful or easier to do so. Wouldn't it be the same if you put them within the same form? :)

Regards,
Leon
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top