English
Source / code snippets

Inframe

 

CompileMarkSeparation
Parameter 1: Handle des Fensters auf den das Inframe erstellt wird
Parameter 2: X-Position (auf Para1)
Parameter 3: Y-Position (auf Para1)
Parameter 4: Anzeige Breite
Parameter 5: Anzeige Höhe
Parameter 6: Innere Breite (wenn < als Para4: kein Horizontales Scrollen)
Parameter 7: Innere Höhe (wenn < als Para5: kein Vertikales Scrollen)
Rückgabe & : Handle inneres Fenster (siehe unten)

proc inframe

    parameters in_hd&,in_xp&,in_yp&,in_xs&,in_ys&,in_xr&,in_yr&
    in_hd&=create("listbox",in_hd&,"",in_xp&,in_yp&,0,0) Handle äusseres Fenster !
    case in_yr&<in_ys&:in_yr&=if(in_xr&>in_xs&,in_ys&-25,in_ys&-10)
    sendmessage(in_hd&,416,0,10)
    sendmessage(in_hd&,404,in_xr&,0)

    whileloop in_yr&/10

        addstring(in_hd&,"")

    wend

    setwindowpos in_hd&=in_xp&,in_yp&-in_xs&,in_ys&
    in_hd&=Control("STATIC","",1409286400,0,0,if(in_xr&<in_xs&,in_xs&,in_xr&),in_yr&+10,in_hd&,0,%hinstance,$0) Handle inneres Fenster
    return in_hd&

endproc


CompileMarkSeparation
XProfan:
inframe1&=inframe(%hwnd,5,5,500,500,1000,1000) 500x500 big, X & Y-Scrolling
Profan 7:
inframe %hwnd,5,5,500,500,1000,1000 Inframe produce
inframe1&=&(0) lever secure
inframe2&=inframe(inframe1&,100,100,300,300,0,800) Inframe in the Inframe ! only Y-Scrolling

whileloop 40 small Auswahlliste in inframe2&

    create("checkbox",inframe2&,"Inframe Auswahlliste - element number "+st$(&loop),6,(&loop-1)*20+2,300,20)

wend

 
06/19/05  
 



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

1.428 Views

Untitledvor 0 min.
AndreasS11/27/18
Peter Max Müller11/22/17
Manfred Barei06/08/14
Mirko01/25/12
More...

Themeninformationen

this Topic has 1 subscriber:

iF (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