Jump to content


Photo

Forms help


  • Please log in to reply
4 replies to this topic

#1 crushed

crushed

    Young Padawan

  • Members
  • Pip
  • 30 posts

Posted 27 March 2005 - 09:54 PM

I have a form, w/ tabs in it, like this:

(tabs)Home|View Records|Add/Delete(tabs)
then a logo, login message, and then password fields..

I need it so that before you login, the tabs (except for home, which you are in) are grey, and in italics. I have seen this in windows forms, and it makes it so you cannot go to it, or click it. Here's what I'm thinking..

1) If txtUsername.Text = "crushed" And txtPassword.Text = "mypass" Then
2) make tabs go where you can click them.

ANy help? THX :P

#2 crushed

crushed

    Young Padawan

  • Members
  • Pip
  • 30 posts

Posted 27 March 2005 - 09:56 PM

maybe if


Dim f2 As New form2

(this is guessing here..)

If f2.Loaded Then
LOAD FORM, and make tabs clickable.

#3 Faken

Faken

    Pimpmaster G

  • Admin
  • 5,966 posts
  • Gender:Male
  • Location:Montreal, Canada

Posted 28 March 2005 - 11:27 PM

Sorry I don't know jack about programming, but what language are you using to code?

Faken

#4 crushed

crushed

    Young Padawan

  • Members
  • Pip
  • 30 posts

Posted 29 March 2005 - 06:44 PM

using .net...thx though

#5 peterk

peterk

    Young Padawan

  • Members
  • Pip
  • 17 posts

Posted 24 April 2006 - 01:34 PM

hope fully this will help

If txtUsername.Text = "crushed" And txtPassword.Text = "mypass" Then
command1.visible = False
like that and then to make it visible again just make the False equal True




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users