Help required with Smart Folders

Paul Gale

New Member
Hi all,

First Posting :blush:

I use Version 9.1D07 .... and I'm new to smart objects and progress.
One problem has me stumped.

I have a Smart Folder with two tabs that display seperate Smart Browsers and Viewers. I also have a Smart Tool bar. How do I lock the smart Folder when the user selects update or add in the smart tool bar ? I believe that I need to overide a procedure somewhere...

I look forward to some helpful answers :awink:

Paul Gale
 
Technique

Your answer is in Coding techniques. You were trying to be too clever doing it, think what you require to do more simply.
What you require is when in ADD/UPDATE/AMMEND mode not to be able to change the page.
Set a flag on local-enable-fields (ADM1 refference there, when the widgets are enabled so you can ammend the values, we want to know so set a flag)
Then in local-change-page (ADM1) check to see if we CAN change the page or if we are in update mode. If we have set the flag then DON'T change page, if flag = false then we are not in update mode so change the page. Do a check on the flag/var before standard behaviour in the change-page procedure. IF our flag = TRUE THEN LEAVE NO-RETURN.
 
Back
Top