English
Source / code snippets

without Spinedit Trennpunkte

 

Torsten
Rümker
Moin,
can someone betray, How I one Spinedit The 1.000 Trennpunkte cure can?

means 1000 instead of 1.000

MfG
Torsten
 
Ich lerne, ob ich will oder nicht!
Betriebssystem:
- Ubuntu 15.x
- Windows (diverse)
XProfan Version: X2
11/11/05  
 




Torsten
Rümker
I wanted to the Topic again warm up, I there still not weitergekommen be.

really nobody there the ne Idea has How I the hinbekomme?

MfG
Torsten Rümker
 
Ich lerne, ob ich will oder nicht!
Betriebssystem:
- Ubuntu 15.x
- Windows (diverse)
XProfan Version: X2
07/21/06  
 




Rolf
Koch
only Possibility The me directly falls in:
 $P+
SetErrorLevel 0
********************** HINWEISE ********************************
CODE CREATED MIT ROKOS OBJECT CREATOR 4.4c
DATUM  21.07.2006    circa  11:29 watch
VERWENDETE PROFANVERSION IST 10.0ß-NT s13 XPROFAN
CODE ERSTELLT UNTER UNBEKANNTER WINDOWSVERSION
!!! this code becomes of Roc always new created        !!!
!!! first Edit, if any Objects created get !!!
!!! change tappt im dunkeln ggf. solid Paths in variable Paths  !!!
DEF GETSYSCOLOR(1) !USER32,GetSysColor
DECLARE SPINEDIT1&
WINDOWSTYLE 63
WINDOWTITLE New Window
WINDOW 22,20-640,500
SETTRUECOLOR 1
DECLARE ENDE%
CLS GETSYSCOLOR(15)
USEFONT MS Sans Serif,13,0,0,0,0
SETDIALOGFONT 1
here can ggf. your Menu there
SPINEDIT1& = CREATE(SPINEDIT,%HWND,0;-100;5000,0229,0241,0120,0020)
SETFOCUS(%HWND)

WHILENOT ENDE%

    WAITINPUT

    If @EQU(%KEY,2)

        LET ENDE%= 1

    ELSEIF @EQU(%KEY,4)

    ELSEIF GETFOCUS(SPINEDIT1&) SPINEDIT

        settext spinedit1&,translate $(gettext$(spinedit1&),.,)

    ENDIF

WEND


disadvantage here then, that the Focus always on whom beginning staid becomes. but there ought to indeed possible his, whom Cursor again differently To treat.
 
07/21/06  
 




Uwe
''Pascal''
Niemeier
Hello people!

The @Create-functions are (especially with komplexeren Controls) now time one Kompromiss.
who More Opportunities having wants, must well or ill something tüffteln...
window 200,100-300,150
 $H Messages.ph
 $H Commctrl.ph
declare Edit&,UpDown&,Style&
Edit&=create(edit,%hwnd,,100,10,80,24)
Style&=$50000000 | ~UDS_NOTHOUSANDS | ~UDS_SETBUDDYINT | ~UDS_ALIGNRIGHT
UpDown&=~CreateUpDownControl(Style&,0,0,0,0,%hwnd,555,0,Edit&,2000,0,1500)
--letze 3 Parameter: Max,mins,default

while 1

    locate 0,0
    print gettext$(Edit&)--Return String
    print sendmessage(UpDown&,~UDM_GETPOS,0,0)--Return Integer
    waitinput

endwhile


HTH
Pascal
 
07/22/06  
 




Michael
Dell
very, Have something gebastelt...
Original-Author: Thomas Hölzer
Bearbeited: Michael Dell

Proc CrSpinEdit

    Parameters wHndl&,x&,y&,dx&,dy&,sed_max&,sed_min&,sed_start&,align&,art&
    Def InitCommCntrl(0) !ComCtl32.Dll,InitCommonControls
    Def CreateSpinED(12) !ComCtl32.Dll,CreateUpDownControl
    Declare sed&,alignCT&

    If (align&>3)

        alignCT& = 8
        align& = (align&-4)

    EndIf

    Casenote (art&=0): art& = 6000  none point settle
    InitCommCntrl()
    sed&  = CreateSpinED($54800226+alignCT&+art&,0,0,0,0,wHndl&,$0FFFF,%hinstance,
    Control(Edit,,$50000000+align&,x&,y&,dx&,dy&,wHndl&,0,%HInstance,$200),
    sed_max&,sed_min&,sed_start&)
    Return sed&

ENDPROC

**** example ****
Windowtitle Über System Menu terminate
Cls External(USER32.DLL,GetSysColor,15)
Normales Control
CrSpinEdit(%HWnd,10,10,100,22,10010,9990,10000,0,1)  left     + UpDown right - point
CrSpinEdit(%HWnd,10,50,100,22,10010,9990,10000,1,1)  Centered + UpDown right - point
CrSpinEdit(%HWnd,10,90,100,22,10010,9990,10000,2,1)  right    + UpDown right - point
Gedrehtes Control
CrSpinEdit(%HWnd,150,10,100,22,10010,9990,10000,6,0)  right    + UpDown left + point
CrSpinEdit(%HWnd,150,50,100,22,10010,9990,10000,5,0)  Centered + UpDown left + point
CrSpinEdit(%HWnd,150,90,100,22,10010,9990,10000,4,0)  left     + UpDown left + point

While 1

    WaitInput

EndWhile

End
 
Salu Michael...

Hab zwar krumme Fieß awer dofir e' ecklich Gsicht! 
07/23/06  
 




GDL
Hi,
stood too to the Trennpunktproblem.Solutions here are super.thanks.

Hello
Georg
 
Windows7 Xprofan 8,9,10 [...]  [...] 
08/16/07  
 



Uwe's Variante as possible XPSE
 
08/16/07  
 



interestingly that this not functions:
 
08/16/07  
 




GDL
Hi,

have me with Michaels Code early gefreut.let itself with gettext$() not read.
Original-Author: Thomas Hölzer
Bearbeited: Michael Dell
declare m&

Proc CrSpinEdit

    Parameters wHndl&,x&,y&,dx&,dy&,sed_max&,sed_min&,sed_start&,align&,art&
    Def InitCommCntrl(0) !ComCtl32.Dll,InitCommonControls
    Def CreateSpinED(12) !ComCtl32.Dll,CreateUpDownControl
    Declare sed&,alignCT&

    If (align&>3)

        alignCT& = 8
        align& = (align&-4)

    EndIf

    Casenote (art&=0): art& = 6000  none point settle
    InitCommCntrl()
    sed& = CreateSpinED($54800226+alignCT&+art&,0,0,0,0,wHndl&,$0FFFF,%hinstance,
    Control(Edit,,$50000000+align&,x&,y&,dx&,dy&,wHndl&,0,%HInstance,$200),
    sed_max&,sed_min&,sed_start&)
    locate 15,10
    print Erstellungsinhalt= +gettext$(sed&)
    Return sed&

ENDPROC

**** example ****
Windowtitle Über System Menu terminate
Cls External(USER32.DLL,GetSysColor,15)
Normales Control
m&=CrSpinEdit(%HWnd,10,10,100,22,10010,9990,10000,0,1)  left  + UpDown right - point
CrSpinEdit(%HWnd,10,50,100,22,10010,9990,10000,1,1)  Centered + UpDown right - point
CrSpinEdit(%HWnd,10,90,100,22,10010,9990,10000,2,1)  right  + UpDown right - point
Gedrehtes Control
CrSpinEdit(%HWnd,150,10,100,22,10010,9990,10000,6,0)  right  + UpDown left + point
CrSpinEdit(%HWnd,150,50,100,22,10010,9990,10000,5,0)  Centered + UpDown left + point
CrSpinEdit(%HWnd,150,90,100,22,10010,9990,10000,4,0)  left  + UpDown left + point

While 1

    WaitInput
    locate 16,10
    print Ausleseinhalt= +gettext$(m&)

EndWhile

End

Try now iFs suggestion from.

Hello
Georg
 
Windows7 Xprofan 8,9,10 [...]  [...] 
08/16/07  
 




GDL
Hello iF,

were faster, can no Spinedit through gettext$() of these Codebeispielen read.

Hello
Georg
 
Windows7 Xprofan 8,9,10 [...]  [...] 
08/16/07  
 




Jörg
Sellmeyer
Hello Georg,

so functions it:
print "Ausleseinhalt= "+gettext$(SendMessage(m&,1130,0,0))'UDM_GETBUDDY
 
Windows XP SP2 XProfan X4
... und hier mal was ganz anderes als Profan ...
08/16/07  
 




GDL
It's all right, class.

Hello
Georg
 
Windows7 Xprofan 8,9,10 [...]  [...] 
08/16/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

14.611 Views

Untitledvor 0 min.
p.specht12/28/20
Rainer Hoefs03/09/18
Peter Max Müller10/19/17
Walter01/17/16
More...

Themeninformationen



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