on 11-01-2004 6:20 PM
I have the AffectsFormMode property set to false for all my Folder buttons. However, when I click a Folder button it is setting the Form mode to Update.
I have commented out all code that is triggered when the Folder button is clicked, yet it still affects the Form mode.
I am setting this property in the FORM_LOAD event like this:
sboForm.Items.Item(FOLDER_UID).AffectsFormMode = false;
Does this property not work in version 6.5? Is there a workaround?
Hi,
I've tested this issue on SAP Business One Ver. 6.50.99.20 e.g. 6.5 SP1 EF20
It works as designed.
meaning it does not affect the form mode.
I'll be happy to send you a sample that worked fine for me.
you can also send me a short VB sample that recreates the problem.
Regards,
Yaniv G.
SDK Consultant,
SAP manage Israel.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yaniv, we have still not found the problem with our Folder buttons. On a simple form, the Folder buttons do not affect the form mode.
On our more complex forms, we can debug print the form mode in the event handler to track what is happening. The form mode is changed in the after click event of the Folder button (not the before click or pressed events).
Is there anything we could send you to help us on this one? Maybe the form xml?
We also had this problem with SBO 6.5 after adding a new tab to a system form. Our solution (a really bad workarround) was just to already change the pane level on the before-click-event and set bubbleevent to false. This way, the form mode was not changed, but the tab was not shown as active either - it doesn't look nice at all but worked as we needed it.
I don't have a 6.5 installation anymore, and i don't know which version it was exactly. The version.asc in the installation directory says "2004/01/26 51020721 #", whatever this means. Maybe there was a special version for Switzerland?
However, we do not have this problem in 2004A anymore. The AffectsFormMode-property works as described. My XML looks as follows:
<Item [...] enabled="1" from_pane="0" to_pane="0" type="99">
-
<Specific caption="My Caption" AffectsFormMode="0" [...] />
</Item>
--
Florian Zeller
User | Count |
---|---|
104 | |
12 | |
11 | |
6 | |
6 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.