English
Forum

Group boxes as go wrong Window

 

Nico
Madysa
XProfan10 brigt me to Time completely to that Verzweifeln.
an short narrative of my Problems:
I have on my Window a GroupBox in the a ListBox is. The GroupBox have I, so rather looks what about me wants neither on tappt im dunkeln dispense. only The ListBox power me care.
take I Namely %hWnd as the your go wrong Window, so becomes tappt im dunkeln from the GroupBox überdeckt, what really not well looks.
take I against it, How me already recommended, The GroupBox as übergeordnetes Window, shining everything To klappen. though is me noticed, that one Click into ListBox now suddenly no waitinput More abbricht.
and the trouble is, I two Buttons have, The, if The ListBox filled is, activate go should (you're before with EnableWindow disengaged).
so, and this is simply thick, if one Click in that vain The Buttons activate, I on the ListBox against it stupid and dämlich clicking can.
I faith, there must Roland The thing yet something revise.

here's one small Beispielcode:
CompileMarkSeparation
declare gb1& , gb2& , lb1& , lb2& , b1& , b2&
Window 100 , 100 - 300 , 200
gb1& = Create("GroupBox",%hWnd,"%hWnd als Parent"   ,  5,5,130,150)
gb2& = Create("GroupBox",%hWnd,"GroupBox als Parent",150,5,130,150)
lb1& = Create("ListBox",%hWnd,0,10,20,120,120)
lb2& = Create("ListBox",gb2&,0,5,20,120,120)
b1&  = Create("Button",%hWnd,"Activated by ListBox",  5,160,100,25)
b1&  = Create("Button",%hWnd,"Activated by ListBox",150,160,100,25)
EnableWindow b1& , 0
EnableWindow b2& , 0

whilenot %Key = 2

    waitinput

    if Clicked(lb1&)

        EnableWindow b1& , 1

    endif

    if Clicked(lb2&)

        EnableWindow b2& , 1

    endif

wend

end

so, I hope, that this eilig zusammengeschriebene Beispielcode just as functions, How my Program.
 
Nico Madysa
06/27/06  
 




Michael
Wodrich
really strange the whole.

with whom Group boxes have I times the Order staid, as for RadioButtons heard - but since does itself too nothing (thereby have I but Error discover).

The code ought to before again tested go - for is the Interpreter Yes very useful.

here korrigiert:
CompileMarkSeparation
Declare Gb1& , Gb2& , Lb1& , Lb2& , B1& , B2&
Window 100 , 100 - 320 , 300
Gb1& = Create("GroupBox",%Hwnd,"%hWnd als Parent" , 5,5,130,150)
Lb1& = Create("ListBox",%Hwnd,0,10,20,100,100)
B1& = Create("Button",%Hwnd,"Act. by L1", 5,160,100,25)
Gb2& = Create("GroupBox",%Hwnd,"GroupBox als Parent",150,5,130,150)
Lb2& = Create("ListBox",Gb2&,0,5,20,100,100)
B2& = Create("Button",%Hwnd,"Act. by L2",150,160,100,25)
Enablewindow B1& , 0
Enablewindow B2& , 0

Whilenot %Key = 2

    Waitinput

    If Clicked(Lb1&)

        Enablewindow B1& , 1

    Endif

    If Clicked(Lb2&)

        Enablewindow B2& , 1

    Endif

Wend

End

and: namely writes one latterly objectively with h ??!?
former had we for a very einfachen Merksatz:
who namely with h writes...

Best wishes
Michael Wodrich
 
Programmieren, das spannendste Detektivspiel der Welt.
06/27/06  
 




RGH
[quote:f232fd7877=Nico Madysa]so, I hope, that this eilig zusammengeschriebene Beispielcode just as functions, How my Program.[/quote:f232fd7877]
here's not hope angesagt, separate try to the Post!

Greeting
Roland
 
Intel Duo E8400 3,0 GHz / 4 GB RAM / 1000 GB HDD - ATI Radeon HD 4770 512 MB - Windows 7 Home Premium 32Bit - XProfan X4
06/27/06  
 




Michael
Wodrich
but How setting to the whole now in function. it ought to still really not his, that a GroupBox others items covers (The ought to always integrally under in the Hierarchie stand).

Best wishes
Michael Wodrich
 
Programmieren, das spannendste Detektivspiel der Welt.
06/27/06  
 




RGH
[quote:d0195f82f8=Nico Madysa]XProfan10 brigt me to Time completely to that Verzweifeln.
an short narrative of my Problems: ...[/quote:d0195f82f8]
diving the trouble first with XProfan 10 on? was is with XProfan 9 yet differently?

Greeting
Roland
 
Intel Duo E8400 3,0 GHz / 4 GB RAM / 1000 GB HDD - ATI Radeon HD 4770 512 MB - Windows 7 Home Premium 32Bit - XProfan X4
06/27/06  
 




Michael
Wodrich


there becomes suddenly falser Parametertyp outputted. Tja, there's well one Parameter To plenty...

Best wishes
Michael Wodrich

Why recognize XProfan 10 not?
 
Programmieren, das spannendste Detektivspiel der Welt.
06/27/06  
 




Michael
Wodrich
Arrrg, It's all right here around the String, the ex v10 a number his must...

power one a String draus, then functions The first Variante correctly and the 2. Listbox reacted not one WaitInput. (v9)

the depends means objectively with the Style together, whom You well this changed have...
[quote:b4549e625f]Listboxes (Syntaxänderung ex the 7. Subscriptionslieferung / 03.05.2006)
ex the 7. Subscriptionslieferung sustain the yet ungenutzte Parameter to the lever a weight. (yet had to it one Leerstring his.) The Parameter is now numerisch and gives whom Style the Listbox on. 1 = sortiert, 2 = Multiple choice, 3 = both. One Leerstring älterer Source code becomes as 0 gewertet, so that these How yet functions. The SortedListbox is now not any more necessary, remaining but from Kompatibilitätsgründen in the bislang valid version receive.[/quote:b4549e625f]
Best wishes
Michael Wodrich
 
Programmieren, das spannendste Detektivspiel der Welt.
06/27/06  
 




RGH
now GEHTS (at least by me) again How former.
it hung of course with a, gesetzten Style together, but not whom Changes for XProfan 10.

Greeting
Roland
 
Intel Duo E8400 3,0 GHz / 4 GB RAM / 1000 GB HDD - ATI Radeon HD 4770 512 MB - Windows 7 Home Premium 32Bit - XProfan X4
06/27/06  
 




Nico
Madysa
Suppi , is the, I in the 14. Subscription-Delivery on a Korrektur hoping must?
I had the program, the the Mini-code vorausging with XProfan9 written, there diving the trouble not.
 
Nico Madysa
06/28/06  
 



Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

869 Views

Untitledvor 0 min.
Andreas Koch12/01/11

Themeninformationen



Admins  |  AGB  |  Applications  |  Authors  |  Chat  |  Privacy Policy  |  Download  |  Entrance  |  Help  |  Merchantportal  |  Imprint  |  Mart  |  Interfaces  |  SDK  |  Services  |  Games  |  Search  |  Support

One proposition all XProfan, The there's!


My XProfan
Private Messages
Own Storage Forum
Topics-Remember-List
Own Posts
Own Topics
Clipboard
Log off
 Deutsch English Français Español Italia
Translations

Privacy Policy


we use Cookies only as Session-Cookies because of the technical necessity and with us there no Cookies of Drittanbietern.

If you here on our Website click or navigate, stimmst You ours registration of Information in our Cookies on XProfan.Net To.

further Information To our Cookies and moreover, How You The control above keep, find You in ours nachfolgenden Datenschutzerklärung.


all rightDatenschutzerklärung
i want none Cookie