Form with Tab Control and OpenArgs

G

Guest

I have encountered an interesting problem.
I have a working form using OpenArgs to determine from where the form was
opened so I can set the controls as required.
I need to reconfigure the form to add additional controls and separate the
controls in logical groups. I decided to use a tab control.
I copied the original form, added the tab control, and moved the existing
controls to the appropriate tabs.
Now, although I have traced the code, the new version of the form will not
recognize the OpenArgs - It is Null. I am referencing the OpenArgs in the
Load event.
The original form recongnizes the OpenArgs, the New form with the tab
control does not.
Is there an issue with OpenArgs and a tab control?
 
G

Guest

Never mind, it is working.
I have no idea what I did, but after I posted, I went back to do additional
testing and it started working.
 
G

Guest

Thanks for posting, Doug. I didn't think so. As I posted, it magically
started working. I did nothing, but now it is working as it should.
I HATE COMPUTERS!

But, if it were not for computers, I would have to get a real job :(
 
D

Douglas J. Steele

That's the magic of newsgroups! You know, the standard "As soon as you post
a question, the answer comes to you." <g>
 
G

Guest

yep

And, even though I said I didn't do anything, I can't be sure.
Also from my book "Murphy is an Optimist":

I only changed one line of code and that was a comment!
 
J

Joan Wild

Klatuu said:
yep

And, even though I said I didn't do anything, I can't be sure.
Also from my book "Murphy is an Optimist":

I only changed one line of code and that was a comment!

Was it a rude one? Access can be sensitive, y' know.
 
G

Guest

Thanks, Joan. I wasn't aware of that. It is true that many of my comments
are unpostable :)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top