Jump to content

Inserting script into a tab


Recommended Posts

I wrote a script that created tabs in a window and was wondering as to how to execute a script to appear on that tab as to assign it. Right now it produces two windows, one with only tabs and the other of the script that I want to be assigned on it as being seperate windows. Also, as to how to assign an image to my first tab as well.

Link to comment
Share on other sites

Hi there,

Some line code would be useful.

Care to share with us?

Cheers

Old Scriptology

Visual Ping 1.8 - Mass Ping Program with export to txt delimited.

Desktop 2 RGB and YMCK - Pick a color in the desktop and get the RGB and YMCK code.

Desktop 2 RGB - Pick a color in the desktop and get the RGB code.

ShootIT 1.0 - Screen Capture full and partial screen

[font="'Arial Black';"]Remember Remember The Fifth of November.[/font]

Link to comment
Share on other sites

Tabs()

Func tabs()
GUICreate("Chronos", 650, 650) ; will create a dialog box that when displayed is centered

GUISetBkColor(0xffffff)
GUISetFont(9, 300)

    GUICtrlCreateTab(10, 10, 600, 600)
GUICtrlCreateTabItem("TabA")
GUICtrlCreateTabItem("TabB")
GUICtrlCreateTabItem("Tabc")
Guictrlcreatetabitem("TabD")
GUICtrlCreateTabItem("TabE")
GUICtrlCreateTabItem("TabF")
GUICtrlCreateTabItem("TabG")
GUICtrlCreateTabItem("TabH")
       GUICtrlCreateTabItem("") ; end tabitem definition

    GUISetState(@SW_SHOW)
      Local $idMsg
    ; Loop until the user exits.
    While 1
        $idMsg = GUIGetMsg()

        If $idMsg = $GUI_EVENT_CLOSE Then ExitLoop
    WEnd
EndFunc   ;==>Tabs

 

(Copy with notes)

Tabs()

Func tabs()
GUICreate("Chronos", 650, 650) ; will create a dialog box that when displayed is centered

GUISetBkColor(0xffffff)
GUISetFont(9, 300)

    GUICtrlCreateTab(10, 10, 600, 600)
GUICtrlCreateTabItem("TabA") <----------- code to be added to tabA to show background image
GUICtrlCreateTabItem("TabB") <-----------Code to be inserted to TabB to show checkboxes of script written below in program, not shown here)
GUICtrlCreateTabItem("Tabc")
Guictrlcreatetabitem("TabD")
GUICtrlCreateTabItem("TabE")
GUICtrlCreateTabItem("TabF")
GUICtrlCreateTabItem("TabG")
GUICtrlCreateTabItem("TabH")
       GUICtrlCreateTabItem("") ; end tabitem definition

    GUISetState(@SW_SHOW)
      Local $idMsg
    ; Loop until the user exits.
    While 1
        $idMsg = GUIGetMsg()

        If $idMsg = $GUI_EVENT_CLOSE Then ExitLoop
    WEnd
EndFunc   ;==>Tabs

Edited by blackmarket
Link to comment
Share on other sites

Look mate, the problem here is we do not know just what Chronos is. A screen shot would be helpful. Also a link to the software vender would be great. The reason I ask is I would like to read up on the software's help file so we would have a better skill set in able to help you.

Link to comment
Share on other sites

Look mate, the problem here is we do not know just what Chronos is. A screen shot would be helpful. Also a link to the software vender would be great. The reason I ask is I would like to read up on the software's help file so we would have a better skill set in able to help you.

Software vender??????? I am the one that wrote my own scripts and it is not from a vender. Plus, I do not have enough posts to be able to post images.

post-86739-0-34462900-1406081269_thumb.j

Link to comment
Share on other sites

Nice couple of icons on your desktop, that will convince the cynics ... just saying. :blink:

How about you give us a description of what your program is going to do. What it's all about etc.

With a clearer picture, many more may be enthusiastic enough to help.

Make sure brain is in gear before opening mouth!
Remember, what is not said, can be just as important as what is said.

Spoiler

What is the Secret Key? Life is like a Donut

If I put effort into communication, I expect you to read properly & fully, or just not comment.
Ignoring those who try to divert conversation with irrelevancies.
If I'm intent on insulting you or being rude, I will be obvious, not ambiguous about it.
I'm only big and bad, to those who have an over-active imagination.

I may have the Artistic Liesense ;) to disagree with you. TheSaint's Toolbox (be advised many downloads are not working due to ISP screwup with my storage)

userbar.png

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...