Results 1 to 9 of 9

Thread: Implement download from drop-down form?

  1. #1

    Thread Starter
    Fanatic Member coox's Avatar
    Join Date
    Oct 1999
    Posts
    550

    Implement download from drop-down form?

    Hi - I'd like to implement a download thang from one er them drop-down controls (html that is). I've seen it done, but can't remember where, else I'd go there and grab the code. Can anyone help? btw, it's with a VB6 IIS application if that helps/hinders.

    Oh, also - imagine you have two text-boxes on a form - how would you make the cursor default to one of them when the page opens? It seems a bit naff that the user always has to tab or click to get the cursor in the relevant box.

    THANKS!!!!!!!!!
    Nick Cook
    VB6 (SP6)

  2. #2
    DarthCooper
    Guest

    Smile

    With the second question, I'd imagine you'd set the tabIndex property to 0? I'm probably wrong though Or on form load just set it as text1.setfocus? Like I say, I'm probably wrong

  3. #3

    Thread Starter
    Fanatic Member coox's Avatar
    Join Date
    Oct 1999
    Posts
    550
    Sorry DarthCopyrightInfringer, I'm talking about HTML stuff really, not VB. Cheers anyway.
    Nick Cook
    VB6 (SP6)

  4. #4
    DarthCooper
    Guest
    Copyright infringer? And what copyrights would they be then?

    DarthCOOPER

  5. #5

    Thread Starter
    Fanatic Member coox's Avatar
    Join Date
    Oct 1999
    Posts
    550
    Well is your first name really Darth? I thought Mr. Lucas (the King of all Plagiarists) was a wee bit protective of anything like that... It was a joke, anyway
    Nick Cook
    VB6 (SP6)

  6. #6
    DarthCooper
    Guest
    Yes, my name IS Darth..... Darth James Cooper and if Mister Lucas don't like it he can blow me

    eriously though, I didn't know George Lucas was protective of stuff like that, theres thousands of people who use it as an alias or a nickname etc.. so I don't see what he can do about it I ain't changing my name for him

    Sorry I couldn't help you with that HTML question anyway. I have only just started VB myself, so HTML stuff is way out of my league. Don't suppose you know what files I need to inlcude in a DHTML page so I can use it on another computer do you?

    Darth

  7. #7

    Thread Starter
    Fanatic Member coox's Avatar
    Join Date
    Oct 1999
    Posts
    550
    Sorry mate, don't know nuffin about DHTML. Good luck!
    Nick Cook
    VB6 (SP6)

  8. #8
    DarthCooper
    Guest
    Ta! You too mate

  9. #9
    Frenzied Member monte96's Avatar
    Join Date
    Sep 2000
    Location
    Somewhere in AZ
    Posts
    1,379
    Create a window_onload event and put:

    txtMyText.focus();

    in it.
    oOOo--oOOo
    __/\/\onte96
    oOOo--oOOo
    Senior Programmer/Analyst
    MCP
    [email protected]
    [email protected]


    Your results may vary.. some restrictions may apply.. pricing and participation may vary.. not available in all states.. professional driver closed course..quantities limited..

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width