| |
|
|
- Page 1 - |
|
Walter | Strange behavior: the Menu shows itself first to one Click on The Menüleiste:
'+----------------------------------------------------------------------------+ ' Menu Test '+----------------------------------------------------------------------------+
DECLARE ENDE%, Button1&
SetErrorLevel 0 end%=0
cls WINDOWTITLE "Menü Test"
PopUp "&Datei" Appendmenu 201,"&Ende" PopUp "Infos" Appendmenu 301,"Aufgaben" Appendmenu 302,"Termine"
Button1&=CREATE("BUTTON",%HWND,"Ende",500,360,050,0020)
WhileNot ENDE%
WAITINPUT
If %KEY= 2 end%=1 ElseIf MenuItem(201) end%=1 ElseIf MenuItem(301)
ElseIf MenuItem(302)
ELSEIF clicked(Button1&)'Ende end%=1 endif
EndWhile '+----------------------------------------------------------------------------+
Greeting Walter |
|
|
| |
|
|
|
« this Posting watts as Solution marked. » |
|
Matthias Arlt | If you the Menu before erstellst, So the cls behind the latest AppendMenu setting, works it (by me still) normal. Perhaps helps the first time moreover. strange is But already... |
|
|
| WinXP SP2, Win7 - XProfan 10/11/FreeProfan32 - Xpia | 02/03/16 ▲ |
|
|
|
|
|
Walter | Yes, objectively! Dass I but one Menu create, before I one Window have... Thank you! Walter |
|
|
| |
|
|
|
Matthias Arlt | so integrally abwegig is the letztlich not. time on API-plain viewing, is one Menu Yes first of all fensterunabhängig. and becomes later by SetMenu with irgendeinem Window assoziiert. only has it itself in Profan yet even differently behaviour... |
|
|
| WinXP SP2, Win7 - XProfan 10/11/FreeProfan32 - Xpia | 02/03/16 ▲ |
|
|
|
|
Walter | anyway nice, that it functions! |
|
|
| |
|
|
|
RGH | strange! by me (News XProfan X3) can I this behaviour not understand. too in the geposteten Beispielcode appear the Menu immediate!
Greeting Roland |
|
|
| XProfan X3Intel Duo E8400 3,0 GHz / 4 GB RAM / 1000 GB HDD - ATI Radeon HD 4770 512 MB - Windows 7 Home Premium 32Bit - XProfan X4 | 02/03/16 ▲ |
|
|
|
|
Matthias Arlt | Hello Roland
this is then in the doing strange. I hab's under XProfan10 and the actually FreeProfan32 tested. under v10 functions everything How yet dwelt. under FreeProfan32 exactly the effect, How of Walter described... means Menüleiste present, Beschriftung appear first to Click on selbige.
Greeting Matthias |
|
|
| WinXP SP2, Win7 - XProfan 10/11/FreeProfan32 - Xpia | 02/03/16 ▲ |
|
|
|
|
RGH | Sorry, I had overlooking, that it here circa FreeProfan goes. Yes, then could I the Error understand and I it now too fixed. in the next Version functions it as should: the Menu appear naturally immediate!
Greeting Roland |
|
|
| XProfan X3Intel Duo E8400 3,0 GHz / 4 GB RAM / 1000 GB HDD - ATI Radeon HD 4770 512 MB - Windows 7 Home Premium 32Bit - XProfan X4 | 02/03/16 ▲ |
|
|
|
|
| [OFFTOPIC]I ought to the well differently divide here[/OFFTOPIC] |
|
|
| |
|
|