Page 2 of 2 FirstFirst 12
Results 11 to 13 of 13

Thread: Switch button ?

  1. #11
    SMKFree liquid_smoke's Avatar
    Join Date
    Aug 2003
    Location
    Chicago
    Posts
    4,842
    This is giveing me the biggest headache, literaly.

    im trying to combine 5 buttons and 5 labels in to one button using switchbutton and setlabel (i tried switchlable for hours till i found this post).
    After bangin my head on the keyboard for god knows how long, i think i finally almost have it working.
    I can get all of these commands working by thereself no problem, its when i try to combine everything i run into problems.

    this is my current button code

    Code:
    "showsimlist||SETLABEL;!CUSTOM2;SIM||SWITCHBUTTON;1>>showdialedcalls||SETLABEL;!CUSTOM3;OUT||SWITCHBUTTON;1>>showreceivedcalls||SETLABEL;!CUSTOM4;IN||SWITCHBUTTON;1>>showmissedcalls||SETLABEL;!CUSTOM5;MISSED||SWITCHBUTTON;1>>showphonelist||SETLABEL;!CUSTOM1;PHONE||SWITCHBUTTON;1"
    these are all the labels in the .skin file
    Code:
    /, L, x, y, w, h, color R;RGB, G, B, font size;FONT, font name, Code;LABELCODES, Tooltip;LABELALIGNMENT
    L,122,19,75,23,255,255,255,14,"Arial:B","!CUSTOM1","PHONE",
    L,114,390,570,20,0,0,0,16,"Arial:B","=||TAGARTIST||= / ||TAGALBUM","SCROLL-CENTER"
    L,314,19,75,23,255,255,255,14,"Arial:B","!CUSTOM3","OUT","CENTER"
    L,409,19,75,23,255,255,255,14,"Arial:B","!CUSTOM4","IN","CENTER"
    L,504,19,75,23,255,255,255,14,"Arial:B","!CUSTOM5","MISSED","CENTER"
    L,597,19,83,23,255,255,255,14,"Arial:B","=RELOAD","CENTER"
    L,218,19,75,23,255,255,255,14,"Arial:B","!CUSTOM2","SIM","CENTER"
    what happens when i try to test this out:
    when i first load the skin, all the labels are visible (i only want one of them to be visible at first) and they are all in lower case letters (i want all caps).

    When i click the button that has all the switch stuff, the switchbuttons work fine, and the labels seem to change also, they go from lower case to uppper case on the correct click.
    What i want them to do is turn on and turn off like switchlabel (couldnt get that to work with switchbutton).

    somebody throw me a lifesaver, im sinking overhere.

    Thanks!!
    01101100 01101001 01110001 01110101 01101001 01100100 01011111 01110011
    01101101 01101111 01101011 01100101

    beer replenishment fund
    http://www.mp3car.com/vbulletin/rr-faq/
    mp3car live search

    i have joost invites, just hit me up for one.

  2. #12
    FLAC Chuck's Avatar
    Join Date
    Sep 2003
    Location
    Ellicott City, MD
    Posts
    1,671
    Well you can forget upper case that way some thing to do with RR

    You can do something like this

    The Button "SWITCHLABEL;1||SWITCHLABEL;2||SWITCHLABEL;3 ||SWITCHBUTTON;1>>SWITCHLABEL;1||SWITCHLABEL;2||SW ITCHLABEL;3||SWITCHBUTTON;1


    L1,371,341,135,35,192,192,192,18,"Arial:B",">>=Nig ht","CENTER"---- this will start as blank then switch to Night
    L,218,306,110,75,0,255,0,28,"Verdana:B","=Day>>"," RIGHT"------this will start day then switch to blank
    L,218,306,110,75,0,255,0,28,"Verdana:B","=Day>>=Ni ght","RIGHT"------this will start day then switch to Night
    L,218,306,110,75,0,255,0,28,"Verdana:B","=Day>>=Ni ght>>","RIGHT"------this will start day then switch to Night then switch to blank
    2001 S10 ZR2

    Chucks Skin - to old

  3. #13
    SMKFree liquid_smoke's Avatar
    Join Date
    Aug 2003
    Location
    Chicago
    Posts
    4,842
    so i do want to use switchlabel instead of setlabel? Whats confuseing me about your button is why is the switchlablel set 3 times before the first switchbutton, and 3 times again?

    do you know if there is a label that list what phonebook you are currently viewing (for phoco) and i can just skip the whole switchlabel nightmare. There needs to be like a wizzard for these switchbuttons and labels, the syntax and order etc is just confuseing, and the examples in skincommands.txt only confuse you more, maybe thats a request for skineditor I think more people would use them if they knew how.
    01101100 01101001 01110001 01110101 01101001 01100100 01011111 01110011
    01101101 01101111 01101011 01100101

    beer replenishment fund
    http://www.mp3car.com/vbulletin/forumdisplay.php?f=93
    mp3car live search

    i have joost invites, just hit me up for one.

Page 2 of 2 FirstFirst 12

Similar Threads

  1. New product - PC Power switch with wired remote
    By hd54321 in forum General Hardware Discussion
    Replies: 5
    Last Post: 03-08-2006, 11:48 PM
  2. Capture GPS data at the flip of a switch
    By Mr. Inquisitive in forum GPS
    Replies: 4
    Last Post: 02-02-2005, 07:06 PM
  3. I want my pc to come on with a toggle switch
    By muldrick in forum Power Supplies
    Replies: 13
    Last Post: 07-04-2004, 11:10 AM
  4. Installing On/Off Switch with Opus 90W
    By Judgement in forum Power Supplies
    Replies: 6
    Last Post: 07-02-2004, 02:43 AM
  5. Need clairification on wiring on/off switch
    By syclone477 in forum Newbie
    Replies: 9
    Last Post: 03-23-2004, 05:59 PM

Bookmarks

Posting Permissions

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