By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
432,441 Members | 998 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 432,441 IT Pros & Developers. It's quick & easy.

Updating text fields on another form

P: 4
Hello,

I am currently working on a project that has many tabs all on one form. Since you can only have so many controls on one form, my job is to seperate these tabs into forms. One problem that I am having is updating text fields with a user's information on another form when double-clicking a MSFlexgrid row. Please help!
Jan 29 '08 #1
Share this Question
Share on Google+
4 Replies


daniel aristidou
100+
P: 491
Since you can only have so many controls on one form, my job is to seperate these tabs into forms
Do you mean in terms of space.......? Or is there actually a restriction as to how many controls are allowed in each form?
Jan 29 '08 #2

jamesd0142
100+
P: 469
I think we need a little more info, but from what i understand is this helpful...

<formName>.<textbox>.text = value
Jan 30 '08 #3

Expert 5K+
P: 8,434
Do you mean in terms of space.......? Or is there actually a restriction as to how many controls are allowed in each form?
There is a section in the documentation for VB6 titled Control Limitations. Here is an excerpt...
Total Number of Controls
The maximum number of controls allowed on a single form depends on the type of controls used and available system resources. However, there is a fixed limit of 254 control names per form. A control array counts only once toward this limit because all the controls in the array share a single control name.

The limit on control array indexes is 0 to 32,767 on all versions.

If you layer controls on top of each other, such as using several frame controls within other frames, Visual Basic will generally accept no more than 25 levels of nested controls.
Note that "all versions" most likely means "all versions up to and including VB6". Presumably this doesn't apply to later versions.
Jan 30 '08 #4

P: 68
I am currently working on a project that has many tabs ...
Hi,
You can try by, the 'Row' Property of 'MSFlexgrid'. Row number of MSFlexgrid indicates 1 less than the Index of that data. Then you can go to that record position & update the record.

If you get success, reply me.
Get Better.

Regards,
shuvo2k6
Jan 31 '08 #5

Post your reply

Sign in to post your reply or Sign up for a free account.