| |
|
|
GDL | Hi, i want gladly my News proposition faster make and thereby could me very helped his if I The ständigen Überprüfungsmethoden with the Checkbox lane had.that is,( The Abfragemethode with getfocus(checkbox&) is not ,there here always reacted becomes),it should something to that inquire give what only on a Änderung in the Checkbox reacted.
if getfocus(checkbox&) old%=val(gettext$(checkbox&)) new%=val(gettext$(checkbox&)) casenot old%=neu%:ausfuehren endif
this part goes unfortunately neither, there getfocus always The Loop(already to one on the arrow down pressing) new launch and therefore in old% and new% always the same thing standing.
In prfellow there were one sbl_changed(...) for Listboxes, Perhaps knows of/ one of you whether it for Check boxes something like too gives.thanks.
Hello Georg |
|
|
| |
|
|
|
| say we time so
if getfocus(checkbox&) old%=val(gettext$(checkbox&)) new%=val(gettext$(checkbox&)) casenot old%=neu%:ausfuehren endif
should too eigendlich
if getfocus(checkbox&) old%=neu% new%=val(gettext$(checkbox&)) casenot old%=neu%:ausfuehren endif
heissen. |
|
|
| |
|
|
|
GDL | Hello iF
really already.now have I me already so often with such small Umwegen helped only this time saw I the worm not.Well badly day today.
Hello Georg |
|
|
| |
|
|
|
Jörg Sellmeyer | Why take You do not GetCheck()?
i don't know How your Loop looks but so might The Abfragelast relatively small his: CompileMarkSeparation |
|
|
| Windows XP SP2 XProfan X4... und hier mal was ganz anderes als Profan ... | 11/15/06 ▲ |
|
|
|
|
Nico Madysa | |
|
|
|
GDL | Hi,
each Selection of 30 has 256 Entries, which too Change can.therefore would like I only each Box with of/ one Änderung with gettext inquire. there but the Box with getfocus already at arrow down You can(circa nachzusehen which new values hinzukamen) reacted, the detour with old% and new%.otherwise would too with same selection constantly the Unterprogramm called.
Hello Georg |
|
|
| |
|
|
|
Jörg Sellmeyer | can it his, that You Choiceboxen mean? |
|
|
| Windows XP SP2 XProfan X4... und hier mal was ganz anderes als Profan ... | 11/16/06 ▲ |
|
|
|
|
GDL | Hello Jörg,
I mean these here reset&[1]=create(choicebox,%hwnd,1,10,190,50,400)
I Have ne dunkle Vorahnung, I there what durcheinanderbrachte.
Hello Georg |
|
|
| |
|
|
|
Jörg Sellmeyer | Hello Georg, thought ichs me still! the functions, has but whom disadvantage, that wmcommand as UserMessage declared his must. CompileMarkSeparationUserMessages $0111 wm_commad
Def ChoiceBoxSelChange(1) If(Equ(%umessage,$0111),And(Equ(&ulparam,&(1)),Equ(Div&(&uwparam,$10000),1)),0)
Cls
Declare ChoiceBox&,ende%
Decimals 0
ChoiceBox&=CreateChoiceBox(%hwnd,,10,10,100,400)
WhileLoop 5
AddString Test + Str$(&Loop)
Wend
MoveListToChoice(ChoiceBox&)
WhileNot ende%
WaitInput
If %key=2
ende%=1
ElseIf ChoiceBoxSelChange(ChoiceBox&)
WindowTitle GetText$(ChoiceBox&)
EndIf
Wend
the whole only with: CompileMarkSeparation and without User Messages $0111 functions unfortunately not. Perhaps can You nevertheless what so begin or anyone else white moreover.
Greeting Jörg |
|
|
| Windows XP SP2 XProfan X4... und hier mal was ganz anderes als Profan ... | 11/16/06 ▲ |
|
|
|
|
GDL | Hello Jörg,
have it already use can,thanks. only these row understand I not at all
Def ChoiceBoxSelChange(1) If(Equ(%message,$0111),And(Equ(&lparam,&(1)),Equ(Div&(&wparam,$10000),1)),0)
Perhaps could you, if You like, the me a little bit explain.
Hello Georg |
|
|
| |
|
|
|
Jörg Sellmeyer | The row is really The same, as in the Codeteil supra with the Difference, that I The UserMessage-values through normal Messages supplant have, in the hope, these would of Profan ditto ausgewertet. Konkret means The row, that the suitable Message (CBN_SELCHANGE) not directly on the program übermittelt becomes. For this becomes wmcommand (here therefore as UserMessage declared) on the program gesendet and ulparam is the lever the Fensterelementes (The Choicebox). in the Lowword of uwparam is then The suitable Message. The is in this drop 1. this is namely the worth of CBN_SELCHANGE. with wmcommand as UserMessage functions it too. I have but no idea, Why not functions if one it so uses: CompileMarkSeparationDef ChoiceBoxSelChange(1) If(Equ(%message,$0111),And(Equ(&lparam,&(1)),Equ(Div&(&wparam,$10000),1)),0)
Cls
Declare ChoiceBox&,ende%
Decimals 0
ChoiceBox&=CreateChoiceBox(%hwnd,,10,10,100,400)
WhileLoop 5
AddString Test + Str$(&Loop)
Wend
MoveListToChoice(ChoiceBox&)
WhileNot ende%
WaitInput
If %key=2
ende%=1
ElseIf ChoiceBoxSelChange(ChoiceBox&)
WindowTitle GetText$(ChoiceBox&)
EndIf
Wend
Perhaps white someone other there More... |
|
|
| Windows XP SP2 XProfan X4... und hier mal was ganz anderes als Profan ... | 11/16/06 ▲ |
|
|
|