| |
|
|
- Page 1 - |
|
| CompileMarkSeparation
IF GETFOCUS(b01%)
CaseNot MID$(editor$,2,1)=":":2WINDOWS_CONFIG "1"
SHELL editor$
ELSEIF GETFOCUS(b02%)
CaseNot MID$(viewer$,2,1)=":":2WINDOWS_CONFIG "2"
SHELL viewer$
ELSEIF GETFOCUS(b03%)
CaseNot MID$(ziper$,2,1)=":":2WINDOWS_CONFIG "3"
SHELL ziper$
ELSEIF GETFOCUS(b04%)
CaseNot MID$(mailer$,2,1)=":":2WINDOWS_CONFIG "4"
SHELL mailer$
ELSEIF GETFOCUS(b05%)
CaseNot MID$(prg_05$,2,1)=":":2WINDOWS_CONFIG "5"
SHELL prg_05$
ENDIF
this neckline a Program-code functions correct. write I but for GetFocus the modernere CLICKED into code, becomes the Parameter for Procedur 2WINDOWS_CONFIG not transfer - alike, whom Button I use, it'll always the Parameter 1 transfer - make I what wrong or works that here with CLICKED not ? |
|
|
| |
|
|
|
| |
|
- Page 1 - |
|
| @Jörg have now $D... in each Buttonabfrage inserted and How You see can, becomes to Click on the Button5 too the Focus on the Button5 staid. the goes but only with Getfocus - swaps I against Clicked from, becomes Irvan-View launched, because the under Button1 tuned is and Clicked only whom Parameter 1 commit |
|
|
| |
|
|
|
Jörg Sellmeyer | I suspect but time, that the Button treotzdem correctly. triggered and is the Error in the Parameter Evaluation lying. How sounds whom The Parameterabfrage in the procedure ZWEI_WINDOWS_CONFIG? it depends probably so together, that with GetFocus the whole evtl. 2-times through becomes, during it with Clicked Correctly only once expires. But only wildes specultate, there it without code only one guessing game is.
Greeting Jörg |
|
|
| Windows XP SP2 XProfan X4... und hier mal was ganz anderes als Profan ... | 10/29/06 ▲ |
|
|
|
| |
|
- Page 2 - |
|
|
| with TNT can you among other things The ID your Buttons to check on. which IDs having your Buttons? |
|
|
| |
|
|
|
| alas Yes - and where find which very??? |
|
|
| |
|
|
|
| ...and - which User Messages verwendest You? |
|
|
| |
|
|
|
| [quote:3b05b579b6] I suspect but time, that the Button treotzdem correctly. triggered and is the Error in the Parameter Evaluation lying. How sounds whom The Parameterabfrage in the procedure ZWEI_WINDOWS_CONFIG?[/quote:3b05b579b6] CompileMarkSeparation @Jörg The problem must be Mainwindow lying. If I print target$ activate, I get with GetFocus whom right Übergabeparameter 1,2,3,4 or 5 - with Clicked remaining it always The 1 -
@Andreas User Message 16
[offtopic] get grade whom außerehelichen commands, with walk to go and the last Sonnenstrahlen here in Heidelberg auszunutzen - there can nothing make - ...and Tschüss[/offtopic] |
|
|
| |
|
|
|
Jörg Sellmeyer | you have The question to whom ButtonIds not yet answers. means having your Buttons with Parameters Exe$,Index&,Window&,X&,Y&,W&,H&,ID& whom equal or different values? Clicked asks these IDs faith I ex, circa to find out whether the element only whom Focus has or really pressed and losgelassen been is. If any whom equal worth having, is it only logical, that the first Button always triggered becomes.
plenty Fun at außerehelichen Was_Auch_Immer. Jörg |
|
|
| Windows XP SP2 XProfan X4... und hier mal was ganz anderes als Profan ... | 10/29/06 ▲ |
|
|
|
|
Frank Abbing | even. Seh you time your own code on. your function CreateIconButton expects 8 Parameter, transfer do You but only 7. The ID unterschlägst You. If you whom ID Parameter with aufsteigenden Values vergibst, becomes Clicked too correctly. works, because it intern whom ID-Parameter auswertet. |
|
|
| |
|
|
|
| As I said, the Sachverhalt ließe itself with TNT in few sec to check on. |
|
|
| |
|
|
|
| You could means as respect Parameter simply newId() indicate.
in the Hauptprogramm deklarierst then a Globale: CompileMarkSeparation and setting simply a function one: CompileMarkSeparationthen is ensured the each Control its Own ID has.
Gibts Verbesserungsvorschläge for +9999 ? |
|
|
| |
|
|
|
| there Gibts yet GetDlgItem, I from the Automatisierung such stories but nothing stops, write I there now none first dran rum. |
|
|
| |
|
|
|
| [quote:d5434d16dd]even. Seh you time your own code on. your function CreateIconButton expects 8 Parameter, transfer do You but only 7. The ID unterschlägst You. If you whom ID Parameter with aufsteigenden Values vergibst, becomes Clicked too correctly. works, because it intern whom ID-Parameter auswertet.[/quote:d5434d16dd] on any aide - Jörg, Frank, If and Andreas It can so simply his. i'm not noticed, that The ID missing ! man, be I stupid - but now works everything fine. @ Jörg - on the weekend becomes everything with Clicked functions ! [quote:d5434d16dd]plenty Fun at außerehelichen Was_Auch_Immer. Jörg[/quote:d5434d16dd] 3 hours Schaufenster-stroll |
|
|
| |
|
|