There is only one user control this is where the lblUser label is. WebUserControl1 was code I didnt write - added by the system and I dont really know what its for but it was working fine so I just went with it. The button I want to do the assignment of the
textbox text to the label is just in a .aspx file so its on a web form. I added the code in the Logon class below trying to do what you said earlier so the Logon class didnt exist before this.
Public Class Logon
Inherits System.Web.UI.UserControl
Protected WithEvents lblUser As System.Web.UI.WebControls.Label
Private username As String
Public Property Name() As String
Get
Return username
End Get
Set(ByVal Value As String)
username = Value
End Set
End Property
End Class
SO if the button is in the user control, you need a Protected WithEvents definition for that too; that should be generated by VS.NET if you are using that; are you? If you have that to, for the link button's click event, then if the user logs in, assign the
user name text in the textbox (also needing a protected withevents statement) to the label. You wouldn't need the property if you didn't want to, or could use it as readonly to state what the username was. I wouldn't assign the value to a string, but would
assign it directly to the label. Brian
Brian
"Trust in the Lord and do what is good; dwell in the land and live securely. Take delight in the Lord, and He will give you your heart's desires" (Psalm 37: 3-4).
Also in continuing, it may help to post the entire .ascx.cs file for login control and the entire HTML code .ascx. Leave out the other code that you aren't using; that's generated by the .NET editor. Brian
Brian
"Trust in the Lord and do what is good; dwell in the land and live securely. Take delight in the Lord, and He will give you your heart's desires" (Psalm 37: 3-4).
The button is not in the user control it is in the web form. Yes I am using VS.NET. Here is all the code as it was before I started trying to assign the textbox to label text: GENav.ascx.vb file:
Public MustInherit Class WebUserControl1
Inherits System.Web.UI.UserControl
Protected WithEvents btnHome As System.Web.UI.WebControls.Button
Protected WithEvents btnSearch As System.Web.UI.WebControls.Button
Protected WithEvents btnUpdate As System.Web.UI.WebControls.Button
Protected WithEvents btnView As System.Web.UI.WebControls.Button
Protected WithEvents btnLogout As System.Web.UI.WebControls.Button
Protected WithEvents btnGuide As System.Web.UI.WebControls.Button
Protected WithEvents lblUser As System.Web.UI.WebControls.Label
Protected WithEvents lblTime As System.Web.UI.WebControls.Label
Protected WithEvents PnlHeader As System.Web.UI.HtmlControls.HtmlGenericControl
Protected WithEvents PnlNav As System.Web.UI.HtmlControls.HtmlGenericControl
Protected WithEvents HyperLink1 As System.Web.UI.WebControls.HyperLink
Protected WithEvents lblHeader As System.Web.UI.WebControls.Label
#Region " Web Form Designer Generated Code "
'This call is required by the Web Form Designer.
Private Sub InitializeComponent()
End Sub
Private Sub Page_Init(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Init
'CODEGEN: This method call is required by the Web Form Designer
'Do not modify it using the code editor.
InitializeComponent()
End Sub
#End Region
Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
'Put user code to initialize the page here
'Display date and time
Dim dtNow As DateTime = DateTime.Now
lblTime.Text = dtNow.ToString
End Sub
Sub Login_OnNavigate(ByVal sender As Object, ByVal e As EventArgs)
'lblUser.Text = ((CType(sender, Control).ID))
End Sub
Private Sub lkAdmin_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)
End Sub
Private Sub btnHome_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnHome.Click
End Sub
Private Sub btnLogout_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnLogout.Click
End Sub
Private Sub btnView_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnView.Click
End Sub
End Class
The GENav.ascx file:
<%@ Control Language="vb" AutoEventWireup="false" Codebehind="GENav.ascx.vb" Inherits="WebApplication1.WebUserControl1" TargetSchema="http://schemas.microsoft.com/intellisense/ie5" %>
<script type="text/javascript">
window.moveTo(0,0);
if (document.all) {
top.window.resizeTo(
screen.availWidth,
screen.availHeight);
} else if (document.layers
|| document.getElementById) {
if (top.window.outerHeight < screen.availHeight ||
top.window.outerWidth < screen.availWidth){
top.window.outerHeight = screen.availHeight;
top.window.outerWidth = screen.availWidth;
}
}
</script>
<script runat="server">
Event Navigate As EventHandler
Sub btnHome_Click(ByVal sender As Object, ByVal e As EventArgs) Handles btnHome.Click
OnNavigate(sender, e)
End Sub
Sub btnSearch_Click(ByVal sender As Object, ByVal e As EventArgs) Handles btnSearch.Click
OnNavigate(sender, e)
End Sub
Sub btnView_Click(ByVal sender As Object, ByVal e As EventArgs) Handles btnView.Click
OnNavigate(sender, e)
End Sub
Sub btnUpdate_Click(ByVal sender As Object, ByVal e As EventArgs) Handles btnUpdate.Click
OnNavigate(sender, e)
End Sub
Sub btnGuide_Click(ByVal sender As Object, ByVal e As EventArgs) Handles btnGuide.Click
OnNavigate(sender, e)
End Sub
Sub btnLogout_Click(ByVal sender As Object, ByVal e As EventArgs) Handles btnLogout.Click
OnNavigate(sender, e)
btnLogout.Text = "Logout"
End Sub
Overridable Sub OnNavigate(ByVal sender As Object, ByVal e As EventArgs)
RaiseEvent Navigate(sender, e)
End Sub
</script>
<div id="PnlHeader" style="LEFT: 15%; WIDTH: 88%; POSITION: absolute; TOP: 0%; HEIGHT: 20%; BACKGROUND-COLOR: #2b4d96" onclick="BtnHome_Click" runat="server" ms_positioning="GridLayout">Header</div>
<div id="PnlNav" style="LEFT: -14px; WIDTH: 20.69%; POSITION: absolute; TOP: -14px; HEIGHT: 100%; BACKGROUND-COLOR: #2b4d96" runat="server" ms_positioning="GridLayout">Administrator</div>
This is the web form:
<%@ Page Language="vb" AutoEventWireup="false" Codebehind="GELogin.aspx.vb" Inherits="WebApplication1.WebForm2"%>
<%@ Register TagPrefix="ACME" TagName="GETEST" Src="GENav.ascx" %>
GELogin
<script runat="server">
Sub TestControl_OnNavigate(ByVal sender As Object, ByVal e As EventArgs)
Response.Write((CType(sender, Control).ID + " was clicked"))
lblNavClick.Text = ((CType(sender, Control).ID))
if lblNavClick.Text = "btnLogout" Then
PnlPassword.Visible = True
txtUsername.Text = ""
txtPassword.Text = ""
End If
End If
End Sub 'TestControl_OnNavigate
</script>
<form id="Form1" method="post" runat="server">
<div id="PnlPassword" style="Z-INDEX: 106; LEFT: 20%; WIDTH: 60%; BORDER-TOP-STYLE: groove; BORDER-RIGHT-STYLE: groove; BORDER-LEFT-STYLE: groove; POSITION: absolute; TOP: 22%; HEIGHT: 70%; BACKGROUND-COLOR: #ffffff; BORDER-BOTTOM-STYLE: groove" runat="server" ms_positioning="GridLayout">
<div id="lblUsername" style="DISPLAY: inline; LEFT: 5%; WIDTH: 30%; POSITION: absolute; TOP: 30%; HEIGHT: 10%" ms_positioning="FlowLayout">User
Name:</div>
<div id="lblPassword" style="DISPLAY: inline; LEFT: 5%; WIDTH: 20%; POSITION: absolute; TOP: 50%; HEIGHT: 10%" ms_positioning="FlowLayout">Password:</div>
Enter your User Name and Password
below:New User
Change PasswordForgotten your
Password?
</div>
</form>
And this is the GELogin.aspx.vb file (codebehind for Web Form)
Imports System.Data
Imports System.Data.SqlClient
Public Class WebForm2
Inherits System.Web.UI.Page
Protected WithEvents txtnewPwd2 As System.Web.UI.WebControls.TextBox
Protected WithEvents lblnewPwd2 As System.Web.UI.WebControls.Label
Protected WithEvents txtnewPwd1 As System.Web.UI.WebControls.TextBox
Protected WithEvents lblnewPwd1 As System.Web.UI.WebControls.Label
Protected WithEvents txtUserpwdchange As System.Web.UI.WebControls.TextBox
Protected WithEvents lblPwdChangeuser As System.Web.UI.WebControls.Label
Protected WithEvents txtoldpwd As System.Web.UI.WebControls.TextBox
Protected WithEvents lbloldpwd As System.Web.UI.WebControls.Label
Protected WithEvents lblGivenemail As System.Web.UI.WebControls.Label
Protected WithEvents btnchangePwdBack As System.Web.UI.WebControls.Button
Protected WithEvents lblChangepwd As System.Web.UI.WebControls.Label
Protected WithEvents btnGoChangePwd As System.Web.UI.WebControls.Button
Protected WithEvents Label1 As System.Web.UI.WebControls.Label
Protected WithEvents txtemail As System.Web.UI.WebControls.TextBox
Protected WithEvents lblemail As System.Web.UI.WebControls.Label
Protected WithEvents btnGo As System.Web.UI.WebControls.Button
Protected WithEvents txtUsername As System.Web.UI.WebControls.TextBox
Protected WithEvents txtPassword As System.Web.UI.WebControls.TextBox
Protected WithEvents lblDirections As System.Web.UI.WebControls.Label
Protected WithEvents lkNewAccount As System.Web.UI.WebControls.LinkButton
Protected WithEvents lblResponse As System.Web.UI.WebControls.Label
Protected WithEvents btnClear As System.Web.UI.WebControls.Button
Protected WithEvents lkChangePwd As System.Web.UI.WebControls.LinkButton
Protected WithEvents lkForgotten As System.Web.UI.WebControls.LinkButton
Protected WithEvents PnlPassword As System.Web.UI.HtmlControls.HtmlGenericControl
Protected WithEvents lblWelcome As System.Web.UI.WebControls.Label
Protected WithEvents lblNavClick As System.Web.UI.WebControls.Label
Protected WithEvents lkLogon As System.Web.UI.WebControls.LinkButton
Protected WithEvents lblUserLoggedIn As System.Web.UI.WebControls.Label
#Region " Web Form Designer Generated Code "
'This call is required by the Web Form Designer.
Private Sub InitializeComponent()
End Sub
Private Sub Page_Init(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Init
'CODEGEN: This method call is required by the Web Form Designer
'Do not modify it using the code editor.
InitializeComponent()
End Sub
#End Region
Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
'Put user code to initialize the page here
End Sub
Private Sub btnGo_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnGo.Click
If txtUsername.Text = "" Or txtPassword.Text = "" Then
PnlPassword.Visible = True
'Its here I want the text from txtUserName.Text to be assigned to the label in the user control
'Generates the message:
Dim strMessage As String
strMessage = "Enter a User Name & Password to proceed"
'finishes server processing, returns to client.
Dim strScript As String = "<script language=JavaScript>"
strScript += "alert(""" & strMessage & """);"
strScript += "</script>"
If (Not Page.IsStartupScriptRegistered("clientScript")) Then
Page.RegisterStartupScript("clientScript", strScript)
End If
Else
PnlScreen.Visible = True
PnlPassword.Visible = False
End If
End Sub
Private Sub btnClear_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnClear.Click
txtUsername.Text = ""
txtPassword.Text = ""
PnlPassword.Visible = True
PnlScreen.Visible = False
End Sub
End Class
Can you see what I am trying to achieve a bit clearer now?
i will assume the following, correct me if i'm wrong. 1) you have an aspx page with a textbox and a button and a usercontrol containing a label 2) the user enters a name, and clicks submit, the page then does a postback 3) the usercontrol label changes to the
textbox text. to do this... 1) add this to the aspx page Protected WithEvents m_UserControl As WebUserControl1 (your control type) 2) in design view of the aspx page, click the button and add the following code.. change the findcontrol string to the name of
the control in the TagName attribute at the top of the aspx page. m_UserControl= CType(FindControl("Webusercontrol11"), WebUserControl1) m_UserControl.TextValue = txtname.Text this should do what you need. i think it has all been said in the post earlier,
but it looks like things got confusing.
Hello, Yes I do. Follow what richy_roo said, as well as: Don't declare WebUserControl1 as MustInherit; that requires another class to inherit from it, which isn't what you want since you are using it in a page. You can't instantiate a class declared as MustInherit.
Why is there code in <script runat="server"> tags as well as the code-behind? Brian
Brian
"Trust in the Lord and do what is good; dwell in the land and live securely. Take delight in the Lord, and He will give you your heart's desires" (Psalm 37: 3-4).
I have done as you siad and put Protected WithEvents m_UserControl As WebUserControl1 at the top of my .aspx.vb file and the following under the click event of hte button. m_UserControl = CType(FindControl("GETEST"), WebUserControl1) m_UserControl.TextValue
= txtUsername.Text However, I am getting a build error: 'TextValue' is not a member of 'WebApplication1.WebUserControl1'. Do I need to add something else?
Create this function in the user control code-behind: Public Sub SetUser(strUserName As String) lblUser.Text = strUserName End Sub Do this instead in the page: m_UserControl = CType(FindControl("GETEST"), WebUserControl1) m_UserControl.SetUser(txtUsername.Text)
Brian
Brian
"Trust in the Lord and do what is good; dwell in the land and live securely. Take delight in the Lord, and He will give you your heart's desires" (Psalm 37: 3-4).
Im afraid it still is not working. I am getting the same message as before: 'SetUser' is not a member of 'WebApplication1.WebUserControl1'. I put this code in the user control code-behind: Public Sub SetUser(strUserName As String) lblUser.Text = strUserName
End Sub And tried this in the .aspx page: m_UserControl = CType(FindControl("GETEST"), WebUserControl1) m_UserControl.SetUser(txtUsername.Text) with this at the top of my user control code behind file. Protected WithEvents m_UserControl As WebUserControl1
Can you see anything wrong here?
"Trust in the Lord and do what is good; dwell in the land and live securely. Take delight in the Lord, and He will give you your heart's desires" (Psalm 37: 3-4).
eclair21
Participant
980 Points
196 Posts
Re: Setting label text = textbox text on other form
Jan 05, 2005 06:18 PM|LINK
Public Class Logon Inherits System.Web.UI.UserControl Protected WithEvents lblUser As System.Web.UI.WebControls.Label Private username As String Public Property Name() As String Get Return username End Get Set(ByVal Value As String) username = Value End Set End Property End Classbmains
All-Star
29116 Points
5886 Posts
MVP
Re: Setting label text = textbox text on other form
Jan 05, 2005 07:47 PM|LINK
"Trust in the Lord and do what is good; dwell in the land and live securely. Take delight in the Lord, and He will give you your heart's desires" (Psalm 37: 3-4).
bmains
All-Star
29116 Points
5886 Posts
MVP
Re: Setting label text = textbox text on other form
Jan 05, 2005 07:48 PM|LINK
"Trust in the Lord and do what is good; dwell in the land and live securely. Take delight in the Lord, and He will give you your heart's desires" (Psalm 37: 3-4).
eclair21
Participant
980 Points
196 Posts
Re: Setting label text = textbox text on other form
Jan 06, 2005 08:07 AM|LINK
Public MustInherit Class WebUserControl1 Inherits System.Web.UI.UserControl Protected WithEvents btnHome As System.Web.UI.WebControls.Button Protected WithEvents btnSearch As System.Web.UI.WebControls.Button Protected WithEvents btnUpdate As System.Web.UI.WebControls.Button Protected WithEvents btnView As System.Web.UI.WebControls.Button Protected WithEvents btnLogout As System.Web.UI.WebControls.Button Protected WithEvents btnGuide As System.Web.UI.WebControls.Button Protected WithEvents lblUser As System.Web.UI.WebControls.Label Protected WithEvents lblTime As System.Web.UI.WebControls.Label Protected WithEvents PnlHeader As System.Web.UI.HtmlControls.HtmlGenericControl Protected WithEvents PnlNav As System.Web.UI.HtmlControls.HtmlGenericControl Protected WithEvents HyperLink1 As System.Web.UI.WebControls.HyperLink Protected WithEvents lblHeader As System.Web.UI.WebControls.Label #Region " Web Form Designer Generated Code " 'This call is required by the Web Form Designer. Private Sub InitializeComponent() End Sub Private Sub Page_Init(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Init 'CODEGEN: This method call is required by the Web Form Designer 'Do not modify it using the code editor. InitializeComponent() End Sub #End Region Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load 'Put user code to initialize the page here 'Display date and time Dim dtNow As DateTime = DateTime.Now lblTime.Text = dtNow.ToString End Sub Sub Login_OnNavigate(ByVal sender As Object, ByVal e As EventArgs) 'lblUser.Text = ((CType(sender, Control).ID)) End Sub Private Sub lkAdmin_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) End Sub Private Sub btnHome_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnHome.Click End Sub Private Sub btnLogout_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnLogout.Click End Sub Private Sub btnView_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnView.Click End Sub End ClassThe GENav.ascx file:<%@ Control Language="vb" AutoEventWireup="false" Codebehind="GENav.ascx.vb" Inherits="WebApplication1.WebUserControl1" TargetSchema="http://schemas.microsoft.com/intellisense/ie5" %> <script type="text/javascript"> window.moveTo(0,0); if (document.all) { top.window.resizeTo( screen.availWidth, screen.availHeight); } else if (document.layers || document.getElementById) { if (top.window.outerHeight < screen.availHeight || top.window.outerWidth < screen.availWidth){ top.window.outerHeight = screen.availHeight; top.window.outerWidth = screen.availWidth; } } </script> <script runat="server"> Event Navigate As EventHandler Sub btnHome_Click(ByVal sender As Object, ByVal e As EventArgs) Handles btnHome.Click OnNavigate(sender, e) End Sub Sub btnSearch_Click(ByVal sender As Object, ByVal e As EventArgs) Handles btnSearch.Click OnNavigate(sender, e) End Sub Sub btnView_Click(ByVal sender As Object, ByVal e As EventArgs) Handles btnView.Click OnNavigate(sender, e) End Sub Sub btnUpdate_Click(ByVal sender As Object, ByVal e As EventArgs) Handles btnUpdate.Click OnNavigate(sender, e) End Sub Sub btnGuide_Click(ByVal sender As Object, ByVal e As EventArgs) Handles btnGuide.Click OnNavigate(sender, e) End Sub Sub btnLogout_Click(ByVal sender As Object, ByVal e As EventArgs) Handles btnLogout.Click OnNavigate(sender, e) btnLogout.Text = "Logout" End Sub Overridable Sub OnNavigate(ByVal sender As Object, ByVal e As EventArgs) RaiseEvent Navigate(sender, e) End Sub </script> <div id="PnlHeader" style="LEFT: 15%; WIDTH: 88%; POSITION: absolute; TOP: 0%; HEIGHT: 20%; BACKGROUND-COLOR: #2b4d96" onclick="BtnHome_Click" runat="server" ms_positioning="GridLayout">Header </div>
<div id="PnlNav" style="LEFT: -14px; WIDTH: 20.69%; POSITION: absolute; TOP: -14px; HEIGHT: 100%; BACKGROUND-COLOR: #2b4d96" runat="server" ms_positioning="GridLayout">Administrator </div>
This is the web form: And this is the GELogin.aspx.vb file (codebehind for Web Form)Imports System.Data Imports System.Data.SqlClient Public Class WebForm2 Inherits System.Web.UI.Page Protected WithEvents txtnewPwd2 As System.Web.UI.WebControls.TextBox Protected WithEvents lblnewPwd2 As System.Web.UI.WebControls.Label Protected WithEvents txtnewPwd1 As System.Web.UI.WebControls.TextBox Protected WithEvents lblnewPwd1 As System.Web.UI.WebControls.Label Protected WithEvents txtUserpwdchange As System.Web.UI.WebControls.TextBox Protected WithEvents lblPwdChangeuser As System.Web.UI.WebControls.Label Protected WithEvents txtoldpwd As System.Web.UI.WebControls.TextBox Protected WithEvents lbloldpwd As System.Web.UI.WebControls.Label Protected WithEvents lblGivenemail As System.Web.UI.WebControls.Label Protected WithEvents btnchangePwdBack As System.Web.UI.WebControls.Button Protected WithEvents lblChangepwd As System.Web.UI.WebControls.Label Protected WithEvents btnGoChangePwd As System.Web.UI.WebControls.Button Protected WithEvents Label1 As System.Web.UI.WebControls.Label Protected WithEvents txtemail As System.Web.UI.WebControls.TextBox Protected WithEvents lblemail As System.Web.UI.WebControls.Label Protected WithEvents btnGo As System.Web.UI.WebControls.Button Protected WithEvents txtUsername As System.Web.UI.WebControls.TextBox Protected WithEvents txtPassword As System.Web.UI.WebControls.TextBox Protected WithEvents lblDirections As System.Web.UI.WebControls.Label Protected WithEvents lkNewAccount As System.Web.UI.WebControls.LinkButton Protected WithEvents lblResponse As System.Web.UI.WebControls.Label Protected WithEvents btnClear As System.Web.UI.WebControls.Button Protected WithEvents lkChangePwd As System.Web.UI.WebControls.LinkButton Protected WithEvents lkForgotten As System.Web.UI.WebControls.LinkButton Protected WithEvents PnlPassword As System.Web.UI.HtmlControls.HtmlGenericControl Protected WithEvents lblWelcome As System.Web.UI.WebControls.Label Protected WithEvents lblNavClick As System.Web.UI.WebControls.Label Protected WithEvents lkLogon As System.Web.UI.WebControls.LinkButton Protected WithEvents lblUserLoggedIn As System.Web.UI.WebControls.Label #Region " Web Form Designer Generated Code " 'This call is required by the Web Form Designer. Private Sub InitializeComponent()
End Sub
Private Sub Page_Init(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Init
'CODEGEN: This method call is required by the Web Form Designer
'Do not modify it using the code editor.
InitializeComponent()
End Sub
#End Region
Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
'Put user code to initialize the page here
End Sub
Private Sub btnGo_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnGo.Click
If txtUsername.Text = "" Or txtPassword.Text = "" Then
PnlPassword.Visible = True
'Its here I want the text from txtUserName.Text to be assigned to the label in the user control
'Generates the message:
Dim strMessage As String
strMessage = "Enter a User Name & Password to proceed"
'finishes server processing, returns to client.
Dim strScript As String = "<script language=JavaScript>"
strScript += "alert(""" & strMessage & """);"
strScript += "</script>"
If (Not Page.IsStartupScriptRegistered("clientScript")) Then
Page.RegisterStartupScript("clientScript", strScript)
End If
Else
PnlScreen.Visible = True
PnlPassword.Visible = False
End If
End Sub
Private Sub btnClear_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnClear.Click
txtUsername.Text = ""
txtPassword.Text = ""
PnlPassword.Visible = True
PnlScreen.Visible = False
End Sub
End Class
Can you see what I am trying to achieve a bit clearer now?richy_roo
Participant
805 Points
161 Posts
Re: Setting label text = textbox text on other form
Jan 06, 2005 11:34 AM|LINK
bmains
All-Star
29116 Points
5886 Posts
MVP
Re: Setting label text = textbox text on other form
Jan 06, 2005 11:48 AM|LINK
"Trust in the Lord and do what is good; dwell in the land and live securely. Take delight in the Lord, and He will give you your heart's desires" (Psalm 37: 3-4).
eclair21
Participant
980 Points
196 Posts
Re: Setting label text = textbox text on other form
Jan 06, 2005 01:48 PM|LINK
bmains
All-Star
29116 Points
5886 Posts
MVP
Re: Setting label text = textbox text on other form
Jan 06, 2005 03:23 PM|LINK
"Trust in the Lord and do what is good; dwell in the land and live securely. Take delight in the Lord, and He will give you your heart's desires" (Psalm 37: 3-4).
eclair21
Participant
980 Points
196 Posts
Re: Setting label text = textbox text on other form
Jan 06, 2005 03:47 PM|LINK
bmains
All-Star
29116 Points
5886 Posts
MVP
Re: Setting label text = textbox text on other form
Jan 06, 2005 05:07 PM|LINK
"Trust in the Lord and do what is good; dwell in the land and live securely. Take delight in the Lord, and He will give you your heart's desires" (Psalm 37: 3-4).