Hi,
I am looping through a series of tab pages on a tab control, and I need to see wether the tab pages match their control name in a string. However, I am not sure how to get the name as a sting?
The variable ls_control_name is a string and I need to match it with the "tab_control.control[i_count]"
Code below:
i_count_tabs = UpperBound(tab_control.Control[])
For i_count = 1 to i_count_tabs
If ls_control_name = tab_control.control[i_count] Then
tab_control.control[i_count].Visible = False
end if
Next
Any help would be great.
I am looping through a series of tab pages on a tab control, and I need to see wether the tab pages match their control name in a string. However, I am not sure how to get the name as a sting?
The variable ls_control_name is a string and I need to match it with the "tab_control.control[i_count]"
Code below:
i_count_tabs = UpperBound(tab_control.Control[])
For i_count = 1 to i_count_tabs
If ls_control_name = tab_control.control[i_count] Then
tab_control.control[i_count].Visible = False
end if
Next
Any help would be great.