English
Source / code snippets

Buchstabenedit

 

CompileMarkSeparation
Source wurde am 15.07.2007 aus der MMJ-Quellcodesammlung (Dietmar Horn) in die Babyklappe auf XProfan.Com abgelegt:
Buchstabenedit
Def Hiword(1) Div&(&(1),$10000)
Def Editchange(1) And(And(Equ(%Message,$0111),Equ(&Lparam,&(1))),Equ(Hiword(&Wparam),$300))

Proc Limiteditinput

    Parameters Ed_handle&,Limittext$
    Declare Text$,Position%
    Text$=Gettext$(Ed_handle&)
    Sendmessage(Ed_handle&,176,Addr(Position%),0)Aktuelle Cursorposition

    Whileloop Len(Limittext$)

        If Instr(Mid$(Limittext$,&Loop,1),Text$) > 0

            Text$=Translate$(Text$,Mid$(Limittext$,&Loop,1),)
            Settext Ed_handle&,Text$
            Text$=Gettext$(Ed_handle&)
            Sendmessage(Ed_handle&,$00B1,Position%-1,Position%-1)Cursor an gespeicherte Position
            Break

        Endif

    Wend

Endproc

Numwidth 4
Windowstyle $21B
Window 10,10 - 600,400
Declare Edit&
Edit&=Createedit(%Hwnd,,100,100,60,24)
Declare Ende%

Whilenot Ende%

    Waitinput

    If Equ(%Key,2)

        Let Ende%=1

    Elseif Editchange(Edit&)

        Limiteditinput(Edit&,1234567890)

    Endif

Function-References/XProfan/wend/'>Wend

 
07/15/07  
 



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

933 Views

Untitledvor 0 min.
Axel Berse04/05/21
rquindt11/29/18
AndreasS11/27/18
Ernst04/26/16
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