on 02-12-2009 5:22 AM
Hi Friends,
I have created 2 folder in GRN.1st folder works completly fine but when I clicked on 2nd folder its open Content Folder of GRN, means in Panelevel 1 not in Panelevel which I have declared for 2nd Folder.
I have written Item Press event also in which I have given Panelevel to Form.i.e.
oForm = SBOApplication.Forms.Item(FormUID)
oForm.PaneLevel = 11
but still its open in Content Folder of GRN.Is there any problem while creating 2 folder in System form??
Please help me to solved this problem.
Thanks & Regards,
Swati
Try placing a DataSource for the folder. It should work. I know it seems like you don't need one, but this is how B1 works. You need a datasource for a folder, checkbox, option button .
If you don't believe me make a form in ScreenPainter and add folders to it. Then save it and open the srf file and look at the xml entries. You'll see folders are bounded .
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Do you have DataSources for you two folders ( a DS for each) ? You need to have them and also the ItemPressed events where you set the appropriate form PaneLevel .
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
There is no problem in creating any number of folders in system forms. Perhaps you should check your folder / item definitions and also if the pane level you are using for your item, is not already in use.
Rahul
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Thanks for reply but I have check all the Condition but its not working.I removed 1st folder and only used 2nd folder code than its also works correctly but If I added 2 folder one work correctly and another last folder get opened in Content folder of GRN.And I have given panelevel also for Items.
Thanks & Regards,
Swati
Hi Swati,
Try this,
on Click Event and BeforeAction= true i.e. ClickBeforeAction
set the pane level of the form as the pane level that u assigned to your panes,
like,
if (pVal.ItemUID == "oFldrCost1")
{
oForm.PaneLevel = 222 ; //pane level of your first pane
}
if (pVal.ItemUID == "oFldrCost2")
{
oForm.PaneLevel = 223; //panelevel of your 2nd pane.
}
Edited by: anuj singh on Feb 12, 2009 11:22 AM
User | Count |
---|---|
99 | |
11 | |
11 | |
6 | |
6 | |
4 | |
4 | |
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.