English
Source / code snippets

inquire Input-Elements Ids

 
with the request of IDs over %MENUITEM can itself a crowd Abfragearbeit save. here in the example react three Input-Elements (System Menu, exhaust, Button) on The same request. Buttons react moreover rather as with GetFocus.
CompileMarkSeparation
WINDOWSTYLE 31+512
WINDOWTITLE "IDs - was kann man damit tun?"
WINDOW 0,0-640,440
POPUP "&Programm"
Appendmenu 2,"&beenden"
DECLARE BEENDEN&
Print "Der Quelltext zeigt das Abfragen von Eingabeelementen über die ID."
Print "Hier: Drei Elemente reagieren auf die gleiche Abfrage!"
PRINT "Die ID des angeklickten Elements läßt sich sehr einfach über"
PRINT "%MENUITEM ermitteln."
LET BEENDEN&=@Control("Button","Programm beenden",$40000000+$10000000,120,280,200,30,%HWND,2,%HINSTANCE)

WHile 0=0

    WAITINPUT

    IF @ABS(%MENUITEM)=2

        Setmenuitem 0
        @Messagebox("Programm wird beende!","Hinweis",64)
        END

    endif

wend

 
09/19/04  
 



Zum Quelltext


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

3.914 Views

Untitledvor 0 min.
AndreasS11/27/18
rquindt02/21/16
lange-jens07/10/14
Manfred Barei12/27/13
More...

Themeninformationen

this Topic has 1 subscriber:

unbekannt (1x)


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