i am new in this great firum
i have a question about tabpages
>>>>>>
i have two forms ,the first form has two buttons and the second form has two tabpages
i want when clicking on the first button in the first form
,the tabpage1 only appeared and tabpage2 is disabled(that is o say it will not appear when i click on tabpage2)
and when clicking on button2 of form1 the tabpage2 is enabled
>>>>>
please i want a help
because its so important to me in my project
>>
i have searched here and i found a way by declaring a global variable but it doesn't work
and i also tried those codes with no use
Form2.TabControl1.TabPages.Item(0).Enabled = False
also
Form2.TabControl1.TabPages(Form2.TabControl1.SelectedIndex).Focus()
>>>>>>>
thanks alot
INCOMPLETE

New Topic/Question
Reply




MultiQuote



|