I am using a textbox as a user visible log on my form1. The following code works as long as it is used only on form1.cs.
lboxLog.Items.Insert(0,"Log this message");
If it is used on any other form I get the following message
The name 'lboxLog' does not exist in the current context.
I have tried to qualify the lboxLog as frm1.lboxLog but get the same message. Suggestions?!
history84084 0 Newbie Poster
ddanbe 2,724 Professional Procrastinator Featured Poster
sknake 1,622 Senior Poster Featured Poster
sknake 1,622 Senior Poster Featured Poster
history84084 0 Newbie Poster
sknake 1,622 Senior Poster Featured Poster
history84084 0 Newbie Poster
sknake 1,622 Senior Poster Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.