Italia
Fonte/ Codesnippets

Array Controls Erstellen Viele

 

KompilierenMarkierenSeparieren
Source wurde am 15.07.2007 aus der MMJ-Quellcodesammlung (Dietmar Horn) in die Babyklappe auf XProfan.Com abgelegt:
Array: Viele Controls erstellen
declare e&[100]
declare x%,y%,z%
cls
x%=5
y%=10

whileloop 100

    inc z%

    if x% > 500

        y%=(y%+20)
        x%=5

    endif

    e&[z%]=create(Edit,%hwnd,str$(z%),x%,y%,100,18)
    x%=(x%+110)

endwhile

waitinput
 
16.07.2007  
 




Jörg
Sellmeyer
Dazu paßt dann noch das hier: [...] 
KompilierenMarkierenSeparieren
declare e&[100]
declare x%,y%,z%
cls
x%=5
y%=10

Proc ClickedMultiItem

    Parameters b&[]
    Declare I%
    I% = IndexOf(b&[],%getfocus)

    If (I%) > -1

        Return Clicked(%getfocus)

    EndIf

EndProc

whileloop 100

    inc z%

    if x% > 500

        y%=(y%+20)
        x%=5

    endif

    e&[z%]=create("Edit",%hwnd,str$(z%),x%,y%,100,18)
    x%=(x%+110)

endwhile

While 1

    WaitInput

    If ClickedMultiItem(e&[])

        Print GetText$(%getfocus),"Hier sind die Edits"

    EndIf

Wend

 
Windows XP SP2 XProfan X4
... und hier mal was ganz anderes als Profan ...
28.10.2011  
 



Zum Quelltext


Topictitle, max. 100 characters.
 

Systemprofile:

Kein Systemprofil angelegt. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Bitte anmelden um einen Beitrag zu verfassen.
 

Topic-Options

5.845 Views

Untitledvor 0 min.
E.T.14.01.2024
ecki28.07.2023
RudiB.07.03.2022
p.specht18.11.2021
Di più...

Themeninformationen

Dieses Thema hat 2 subscriber:

Jörg Sellmeyer (1x)
unbekannt (1x)


Admins  |  AGB  |  Applications  |  Autori  |  Chat  |  Informativa sulla privacy  |  Download  |  Entrance  |  Aiuto  |  Merchantportal  |  Impronta  |  Mart  |  Interfaces  |  SDK  |  Services  |  Giochi  |  Cerca  |  Support

Ein Projekt aller XProfaner, die es gibt!


Il mio XProfan
Private Notizie
Eigenes Ablageforum
Argomenti-Merkliste
Eigene Beiträge
Eigene Argomenti
Zwischenablage
Annullare
 Deutsch English Français Español Italia
Traduzioni

Informativa sulla privacy


Wir verwenden Cookies nur als Session-Cookies wegen der technischen Notwendigkeit und bei uns gibt es keine Cookies von Drittanbietern.

Wenn du hier auf unsere Webseite klickst oder navigierst, stimmst du unserer Erfassung von Informationen in unseren Cookies auf XProfan.Net zu.

Weitere Informationen zu unseren Cookies und dazu, wie du die Kontrolle darüber behältst, findest du in unserer nachfolgenden Datenschutzerklärung.


einverstandenDatenschutzerklärung
Ich möchte keinen Cookie