| | |
show current and previous forms
Please support our Visual Basic 4 / 5 / 6 advertiser: Programming Forums - DaniWeb Sister Site
![]() |
Are you going to make that form behaves like a wizard form?
A conclusion is the place where you got tired of thinking. http://www.martin2k.co.uk/forums/index.php?showforum=4
http://www.a1vbcode.com/a1vbcode/vbforums/Forum3-1.aspx
http://www.developerfusion.co.uk/for...orum&ForumID=4
•
•
Join Date: Nov 2007
Posts: 58
Reputation:
Solved Threads: 2
No forms are not the sequence forms I gave different name to all forms like AdmissionFrm , blockwiseFrm etc
Actuially I have two forms for viewing information and when I select one option from the treeview it opens one form say form blockwiseFrm and when i click other option it opens other form say districtFrm. So when i click districtFrm then i want to see the blockwiseFrm information using Previous button. I make one previous button and store blockwiseFrm in the form object say frm but what is happening is it reloads all data in the blockwise form but i want to see the data which i previously saw there.
Actuially I have two forms for viewing information and when I select one option from the treeview it opens one form say form blockwiseFrm and when i click other option it opens other form say districtFrm. So when i click districtFrm then i want to see the blockwiseFrm information using Previous button. I make one previous button and store blockwiseFrm in the form object say frm but what is happening is it reloads all data in the blockwise form but i want to see the data which i previously saw there.
Hi,
Say, you have Populated FirstForm based on some DistrictName/id.. Now, Keep a Global Variable to save that ID, When you load district form, in Formload, check if that ID <> blank/zero, then Re-load the data accordingly...
Other option is not to unload the prev Form, Just Hide it.. :
Me.Hide
And when you want to show it again, Me.Show
Regards
Veena
Say, you have Populated FirstForm based on some DistrictName/id.. Now, Keep a Global Variable to save that ID, When you load district form, in Formload, check if that ID <> blank/zero, then Re-load the data accordingly...
Other option is not to unload the prev Form, Just Hide it.. :
Me.Hide
And when you want to show it again, Me.Show
Regards
Veena
yEAH! I agree with Qveen, used the hide button then make a global variable that stores the name of the form...
A conclusion is the place where you got tired of thinking. http://www.martin2k.co.uk/forums/index.php?showforum=4
http://www.a1vbcode.com/a1vbcode/vbforums/Forum3-1.aspx
http://www.developerfusion.co.uk/for...orum&ForumID=4
![]() |
Similar Threads
- Collins: Why this scientist believes in God (Geeks' Lounge)
- Problem with pointers (C#)
- If computation help (Visual Basic 4 / 5 / 6)
- memory management in wndows 2000 (Windows NT / 2000 / XP)
- "Cannot find server or DNS Error" (Viruses, Spyware and other Nasties)
Other Threads in the Visual Basic 4 / 5 / 6 Forum
- Previous Thread: proxy program using a vb6
- Next Thread: help me about more coding in SQL code except (SELECT, INSERT, UPDATE & DELETE)
| Thread Tools | Search this Thread |
* 6 429 2007 access activex add age append application basic beginner birth bmp calculator cd cells.find click client code college column component connection connectionproblemusingvb6usingoledb copy creat ctrl+f data database datareport date delete dissertations dissertationthesis dissertationtopic edit error excel excelmacro file filename form hardware header iamthwee image inboxinvb internetfiledownload keypress label listbox listview liveperson login looping machine microsoft movingranges number objectinsert open oracle password prime program prompt range-objects readfile reading record refresh remotesqlserverdatabase report retrieve save search sendbyte sites sort sql sql2008 sqlserver subroutine table tags textbox time urldownloadtofile vb vb6 vb6.0 vba visual visualbasic visualbasic6 web window windows





