[progress Communities] [progress Openedge Abl] Forum Post: Re: Accessing Textbox In...

  • Thread starter Thread starter stingray70m
  • Start date Start date
Status
Not open for further replies.
S

stingray70m

Guest
Thanks! Could you provide me with an example of how to programmatically access the textbox value? I'm still relatively new to programming in Developer Studio and can't get my head around how to access the value on the screen. I've created a method in FormA: method public character GetFields( ): define variable aa as character initial "abc" no-undo. aa = this-object:vTextbox1:text. <-- if I pass "abc" instead of the Textbox1:text it works. return aa. end method. In FormB: method private void bButton_Click( input sender as System.Object, input e as System.EventArgs ): define variable fOBJ as FormA no-undo. fOBJ = new FormA(). < -this is my problem.. initializes the form but don't know another way this-object:vTextbox2:text = fOBJ:GetFields(). return. end method. Thanks Mark

Continue reading...
 
Status
Not open for further replies.
Back
Top