Jump to content

Problems with TABVIEW


Recommended Posts

I have create a Menu Using GUI and the TABITEM for 3 Pages.

as the following snipset.

I have the problem that when i move with the Mouse over the Checkboxes the Background of this Text will be background darkgrey so it is highlighted/marked. I have testet with differenz backgrounds and Colors but nothing change. But not when i Use Radioboxes.

May someone help me!

**********************************

$font = "ARIAL"

GUICreate("Konfiguration Rechner", 640, 480)

$tab=GUICtrlCreateTab (5,100, 630,320)

$tab0=GUICtrlCreateTabitem ("Seite1")

GUICtrlSetState($tab0,$GUI_SHOW)

$frame1_xpos1 = 10

$frame1_ypos1 = 140

$frame1_za = 14

$frame1_spb = 190

GUICtrlCreateGroup("Explorer und Desktop", $frame1_xpos1, $frame1_ypos1, $frame1_spb + 120, 220)

$cb01 = GUICtrlCreateCheckbox("Ordneroptionen Default", $frame1_xpos1 + 5, $frame1_ypos1 + 15+ (0 * $frame1_za), $frame1_spb, $frame1_za)

GUICtrlSetTip($cb01, "TIP1")

GUICtrlSetState($cb01, $standard_check_01)

$cb02 = GUICtrlCreateCheckbox("Ordneroptionen Anpassen", $frame1_xpos1 + 5, $frame1_ypos1 + 15+ (1 * $frame1_za), $frame1_spb, $frame1_za)

GUICtrlSetTip($cb02, "TIP2")

GUICtrlSetState($cb02, $standard_check_02)

$cb03 = GUICtrlCreateCheckbox("Detailansicht aktivieren", $frame1_xpos1 + 5, $frame1_ypos1 + 15+ (2 * $frame1_za), $frame1_spb, $frame1_za)

GUICtrlSetTip($cb03, "TIP3")

GUICtrlSetState($cb03, $standard_check_03)

GUICtrlCreateGroup("", -399, -399, 1, 1) ;close group

GUICtrlCreateTabitem ("") ; end tabitem definition

; ******************

; REITER2

; ******************

$tab1=GUICtrlCreateTabitem ( "Seite2")

GUICtrlSetBkColor(-1, $GUI_BKCOLOR_TRANSPARENT)

$frame2_xpos1 = 10

$frame2_ypos1 = 140

$frame2_za = 14

$frame2_spb = 300

GUICtrlCreateGroup("XP-AntiSpy", _

$frame2_xpos1, $frame2_ypos1, $frame2_spb + 10, 140)

$cb31 = GUICtrlCreateCheckbox("Fehlerberichterstattung deaktivieren", _

$frame2_xpos1 + 5, $frame2_ypos1 + 15+ (0 * $frame2_za), $frame2_spb, $frame2_za)

GUICtrlSetTip($cb31, "TIP1")

GUICtrlSetState($cb31, $standard_check_31)

GUICtrlCreateGroup("", -399, -399, 1, 1) ;close group

GUICtrlCreateTabitem ("") ; end tabitem definition

; ******************

; Page3

; ******************

$tab2=GUICtrlCreateTabitem ("Seite3")

GUICtrlCreateGroup("Dokumentation", 20, 350, 170, 40)

$cb21 = GUICtrlCreateCheckbox("EVERST AUDIT BERICHT", 30,365, 150, 14)

GUICtrlSetTip($cb21, "TIP21")

GUICtrlCreateGroup("", -399, -399, 1, 1) ;close group

GUICtrlCreateTabitem ("") ; end tabitem definition

GUICtrlCreateTabitem ("") ; end tabitem definition

Link to comment
Share on other sites

HI,

I guess your problem comes from the heigth of the checkboxes. Set them higher and it will work fine.

So long,

Mega

Scripts & functions Organize Includes Let Scite organize the include files

Yahtzee The game "Yahtzee" (Kniffel, DiceLion)

LoginWrapper Secure scripts by adding a query (authentication)

_RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...)

Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc.

MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times

Link to comment
Share on other sites

Thanks a lot - change from 14 to 15 and the problem was gone!

Hi,

sometimes the easy things are hard to find. :whistle:

So long,

Mega

Scripts & functions Organize Includes Let Scite organize the include files

Yahtzee The game "Yahtzee" (Kniffel, DiceLion)

LoginWrapper Secure scripts by adding a query (authentication)

_RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...)

Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc.

MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times

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...