Aug 13, 2002 #1 LenaS Technical User Nov 28, 2000 98 US I have a formset containing 2 forms. On form1 I have a cmd button click with the code: thisformset.form2.visible=.T. thisformset.form2.show When I run the form, I must exit and run a second time before the cmd button will work. Any clues why this happens?
I have a formset containing 2 forms. On form1 I have a cmd button click with the code: thisformset.form2.visible=.T. thisformset.form2.show When I run the form, I must exit and run a second time before the cmd button will work. Any clues why this happens?
Aug 13, 2002 #2 danceman Programmer Jun 3, 2002 1,012 US thisformset.forms(2).visible=.T. thisformset.forms(2).show Attitude is Everything Upvote 0 Downvote
Aug 13, 2002 #3 Mike Gagnon Programmer Apr 6, 2002 8,067 CA LenaS You may want to set both your forms to always-on-top. And ideally your code is correct. Code: Thisformset.form2.visible = .t. And you don't need the "thisformset.form2.show" since at the above line it should show itself. Upvote 0 Downvote
LenaS You may want to set both your forms to always-on-top. And ideally your code is correct. Code: Thisformset.form2.visible = .t. And you don't need the "thisformset.form2.show" since at the above line it should show itself.
Aug 15, 2002 Thread starter #4 LenaS Technical User Nov 28, 2000 98 US Always-on-top doesn't achieve the desired result. I still don't know to how to solve this. Upvote 0 Downvote
Aug 15, 2002 #5 Mike Gagnon Programmer Apr 6, 2002 8,067 CA LenaS Have you tried putting a "SET STEP ON" in the click event of the button, to see if the code actually "kicks" in? Upvote 0 Downvote
LenaS Have you tried putting a "SET STEP ON" in the click event of the button, to see if the code actually "kicks" in?