1 Replies - 673 Views - Last Post: 17 April 2009 - 03:26 AM Rate Topic: -----

#1 incomplete  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 1
  • Joined: 09-April 09

question about tabpages

Posted 16 April 2009 - 05:38 AM

hi
i am new in this great firum :D
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

Is This A Good Question/Topic? 0
  • +

Replies To: question about tabpages

#2 Asscotte  Icon User is offline

  • D.I.C Addict
  • member icon

Reputation: 35
  • View blog
  • Posts: 610
  • Joined: 08-February 09

Re: question about tabpages

Posted 17 April 2009 - 03:26 AM

Try visible = true and also changing the selected page so some thing like tabcontrol1.selectedtab = whichevertyab you want:).

enjoy,
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1