on 09-18-2008 6:44 AM
hi all,
In my form 3 tab's are there....in each tab there is a matrix.Initially when the form opened tab 1 will be displayed.so in particular situation that is in validation point if null value is there in tab 2 means then the control should got to tab 1 to tab2....so how to raise the event to shift from tab1 to tab2..(is there any click event to click on TAB 2)
regards,
shangai.
Hi,
i guess you mean Tab = Folder.
to change the Tab do the following:
Click on the Tab with oForm.Items.Item("Tab2").Click
and set the oForm.PaneLevel = 2
Tab changed
lg David
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
U can set the pane level on the form load.
Or u can click on the pane (tab) which u want to show on form load.
Hope it helps,
Vasu Natari.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi vasu,
i think i have explained u in a wrong way....this is my coding...
If Double.Parse(IIf(NoOfPcs.Value = "", "0", NoOfPcs.Value)) = 0 Then
objSBO_Application_Tag.MessageBox("Row : " & I.ToString & " No. Of PCS should be greater than zero")
*<----In this point my form should open tab2 & show the column in matrix,but it shows the tab1 only-------------------->*
*<--tem id for tab 2 is 'tab_2'->
objMatStone.Columns.Item("NoOfPcs").Cells.Item(I).Click(BoCellClickType.ct_Regular)
Return False
End If
I think now u understand the problem....
regards,
shngai.
Edited by: shangai Nights on Sep 18, 2008 7:57 AM
Hi,
PLz check the below modifications,
If Double.Parse(IIf(NoOfPcs.Value = "", "0", NoOfPcs.Value)) = 0 Then
objSBO_Application_Tag.MessageBox("Row : " & I.ToString & " No. Of PCS should be greater than zero")
*<----In this point my form should open tab2 & show the column in matrix,but it shows the tab1 only-------------------->*
'LOad ue form here.. and after load Click on the tab_2
oItem = oForm.Items.Item("tab_2")
oItem.Click()
'Now u set the pane level of the form.
oForm.PaneLevel = 2 'Whatever the pane level is for tab_2 plz set that here.
*<--tem id for tab 2 is 'tab_2'->
objMatStone.Columns.Item("NoOfPcs").Cells.Item(I).Click(BoCellClickType.ct_Regular)
Return False
End If
Hope it helps,
Vasu Natari.
User | Count |
---|---|
98 | |
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.