UtterAccess.com
X   Site Message
(Message will auto close in 2 seconds)

Welcome to UtterAccess! Please ( Login   or   Register )

Custom Search
 
   Reply to this topicStart new topic
> Ribbons Invalidate, Access 2013    
 
   
Nak
post Feb 24 2019, 04:04 AM
Post#1



Posts: 55
Joined: 10-January 11



Hi everybody
I have an application ribbon from which I can call 2 forms (Form1 & Form2), each having its own form ribbon (say FR1 & FR2).
FR1 has some checkboxes and a button (Invalidate) which, once pressed, invalidates them (one by one). The form (Form1) associated with FR1 allows a direct access to the form (Form2) associated with FR2.

Here is the sequence which works:
1. From the application ribbon, goto Form1
2. Click on one or more checkbox(es) on FR1
3. Click on the invalidate button of Form1 ---> All Checkboxes are OK (none is clicked)

Here is another sequence which works:
1. From the application ribbon, goto Form1
2. From Form1, goto Form2 (by clicking some text on Form1)- as Dialog (no FormRibbon!)
3. Close Form2 from its ribbon (FR2)
4. Form1 becomes current
4. Click on one or more checkbox(es) on FR1
5. Click on the invalidate button of Form1 ---> All Checkboxes are OK (none is clicked)


Here is the sequence which causes me troubles:
1. From the application ribbon, goto Form1
2. From Form1, goto Form2 (by clicking some text on Form1)- with its FormRibbon displayed
3. Close Form2 from its ribbon (FR2)
4. Form1 becomes current
4. Click on one or more checkbox(es) on FR1
5. Click on the invalidate button of Form1 ---> NOTHING HAPPEN!!!

Thanks for any help
Best
Nak
Go to the top of the page
 
Nak
post Feb 24 2019, 09:24 AM
Post#2



Posts: 55
Joined: 10-January 11



Issue Solved!

Here is the sequence which causes me troubles and its correctives!
0. Create a second Public variable to manage the ribbon: gobjRibbon2
1. From the application ribbon, goto Form1
1B. In the click event of Form1 (step1): Set gobjRibbon2=gobjRibbon1
2. From Form1, goto Form2 (by clicking some text on Form1)- with its FormRibbon displayed
2B.In the Close event of Form2, add: Set gobjRibbon1=gobjRibbon2
3.Close Form2 from its ribbon (FR2)
4. Form1 becomes current
4. Click on one or more checkbox(es) on FR1
5. Click on the invalidate button of Form1 ---> NOTHING HAPPEN!!! NOW IT WORKS!!!
Go to the top of the page
 


Custom Search


RSSSearch   Top   Lo-Fi    16th June 2019 - 12:33 PM