I have a window with a tab control tab_1.
tab_1 has 9 tab pages.
I want to modify the selectionchanged event of tab_1 from
if newindex=8 then
this.tabpage_notes.triggerevent("ue_receive"
end if
to be something like
if tab_1.tab_1.control(newindex).text="Notes" then
this.tabpage_notes.triggerevent("ue_recieve"
end if
because... the tab order of the notes tab will not always be 8 [visiblity of other tabs can be customized by the user..]
PB complains that the syntax of the above statement is wrong.
Any suggestions?
tab_1 has 9 tab pages.
I want to modify the selectionchanged event of tab_1 from
if newindex=8 then
this.tabpage_notes.triggerevent("ue_receive"
end if
to be something like
if tab_1.tab_1.control(newindex).text="Notes" then
this.tabpage_notes.triggerevent("ue_recieve"
end if
because... the tab order of the notes tab will not always be 8 [visiblity of other tabs can be customized by the user..]
PB complains that the syntax of the above statement is wrong.
Any suggestions?