Go Back  Xtreme Visual Basic Talk > Legacy Visual Basic (VB 4/5/6) > General > Been a long day


Reply
 
Thread Tools Display Modes
  #1  
Old 09-25-2003, 04:17 AM
jessmas jessmas is offline
Centurion
 
Join Date: Dec 2002
Location: Hamilton, New Zealand
Posts: 166
Default Been a long day


Its been a long, long day for me and now I am stuck.

I have two forms:

frmMains1 and frmProperty

In frmMains I have a MaskEdBox named mskAmount
In frmProperty I have a textbox named txtFields(13) - (Array textbox)

I need to put the value(text) from mskAmount into txtFields(13)

This should be so easy but I am really struggling with it.

Anyhelp please

Thanks in advance
Reply With Quote
  #2  
Old 09-25-2003, 04:26 AM
Peperl's Avatar
Peperl Peperl is offline
Senior Contributor
 
Join Date: Apr 2003
Location: Cartagena, Spain
Posts: 1,371
Default

Can't you store the value of one in a global variable, and pass it to another. and when one of the values change, you refrehs the other value ... it's an idea. (I think that you have to declare the global variable in a module)
__________________
Pri Oh Persia
Reply With Quote
  #3  
Old 09-25-2003, 04:28 AM
Garmour's Avatar
Garmour Garmour is offline
Back for a little while..

Retired Leader
* Expert *
 
Join Date: Oct 2002
Location: Behind you.....Boo
Posts: 2,199
Default

This depends on where you have the code

from frmmains1

frmproperty.txtfields(13).text = mskamount.text

or from frmproperty

txtfields(13).text = frmmains1.mskamount.text
__________________

....but then, what would I know ?
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Common Dialog Question GGKauten General 13 11-20-2002 01:29 PM
read input from sound card dan1707 General 2 10-21-2001 09:52 AM
MS Winsocket gibson General 3 07-20-2001 10:03 AM
It's whats inside that counts! Dazz API 4 04-27-2001 05:16 AM

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
 
 
-->