English
Forum

List view.dll Control SpinEdits & DateEdit opened!?

 

Julian
Schmidt
Hi,
I have straight a couple difficulty with a SpinEdits in a List view.
If I the SpinEdits in the list view create and again entferne remaining one part the SpinEdits receive (see Screenshot).



white someone Why the lying could?



Also would like I gladly know How I one DropDownMenu one DateEdits open can. and How one determined whether it opened is.
CompileMarkSeparation
Create("DateEdit",N,S,X1,Y1,X2,Y2)
>

LG

Julian57

2 kB
Hochgeladen:01/22/12
Downloadcounter96
Download
 
XProfan X2
Win7 Home Premium, SP1, AMD Athlon(tm) II Neo K125 Processor

˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗
Webseite [...] 
01/22/12  
 



SpinEdits on the List view (over listviev.dll ?) over the Item create and to Datenübergabe ans Item destroy.
 
01/22/12  
 




Julian
Schmidt
very the do I, and a part the Spin-Edits remaining receive. update of Listviews nützt there unfortunately too nothing.
Yes I use List view.dll. (stood in cover.)
 
XProfan X2
Win7 Home Premium, SP1, AMD Athlon(tm) II Neo K125 Processor

˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗
Webseite [...] 
01/22/12  
 



Julian57 (22.01.12)

If I the SpinEdits in the list view create and again entferne remaining one part the SpinEdits receive.


Source?!
 
01/22/12  
 




Thomas
Freier
sorry, whom cover I had not any more in the look. here the code. Perhaps helps it.
CompileMarkSeparation
...
Case (x&=1) AND (LV_Handle&=listview_I& )   : Inventar_Aend' Inventar ändern nach doppel-linksklick......

Proc Inventar_Aend

    case Inv_Check% = 1 : Return
    case (LV_Column&=1) OR (LV_Column&=3) OR (LV_Column&=7) : Inventar_Edit 0
    case (LV_Column&=5) OR (LV_Column&=6) : Inventar_Edit 3
    case (LV_Column&=2) : Inventar_Edit 1
    case (LV_Column&=4) : Inventar_Edit 2
    SetFocus(listview_I&)

EndProc

Proc Inventar_Edit

    Parameters x%
    Declare Element&,D_Element&
    DEF nurzahlen(2) !"NEdit.dll","InitMessages"
    ndll&=usedll(old_file$+"\\Lib\\NEdit.dll")

    If x%=3

        Element&= Create("DateEdit",Listview_I&,LV_Text$,LV_Xoffset&,LV_Yoffset&,(LV_Width&+20),LV_Height&)

    Else

        Element&=control("Edit",LV_Text$,$548100C0 | LV_Orient&,LV_Xoffset&,LV_Yoffset&,LV_Width&,LV_Height&,LV_Handle&,100,%hinstance,0)
        SetWindowPos(Element&,-1,0,0,0,0,$13)
        Setfocus(Element&)
        SendString(Element&,"+({END})")'Text Markieren und Cursor ans Ende
        case x%=1: SetEditNumeric(Element&)'nur Ziffereingaben erlauben
        case x%=2: nurzahlen(element&,7)'nur Ziffereingaben und Nachkommastellen erlauben

    EndIf

    SetFont Element&,LV_Font&

    While 1

        WaitInput

        if @TabChanged(T&)

            TAB_WECHSEL GetActiveTab(T&)
            break

        endif

        case iskey(27):BREAK'Abbruch ESC

        If MenuItem(8123)'Abbruch Alt+E

            LV_Text$ = ""
            SetItemText(LV_HAndle&,addr(LV_Text$),LV_Column&,LV_Row&)
            BREAK

        EndIf

        CursorPos'Falls Mausklick außerhalb vom Element > abbrechen

        If @lt(mouseposx(0),LV_Xoffset&) OR @lt(mouseposy(0),LV_YOffset&) \

            OR @gt(mouseposx(0),@add(LV_Xoffset&,LV_Width&)) OR @gt(mouseposy(0),@add(LV_Yoffset&,LV_Height&))
            LV_Text$ = @GetText$(Element&)
            SetItemText(LV_HAndle&,addr(LV_Text$),LV_Column&,LV_Row&)
            BREAK

        endif

        If iskey(13)'Speichern Enter gedrückt

            LV_Text$ = @GetText$(Element&)
            SetItemText(LV_HAndle&,addr(LV_Text$),LV_Column&,LV_Row&)
            BREAK

        endif

    wend

    clear y&,x&
    DestroyWindow(Element&)
    FreeDLL ndll&

EndProc
n class=s1>'.............................................................

PS. 23.01. now DateEdit

45 kB
Hochgeladen:01/23/12
Downloadcounter45
Download
49 kB
Hochgeladen:01/23/12
Downloadcounter64
Download
 
Gruß Thomas
Windows XP SP2, XProfan X2
01/22/12  
 




Julian
Schmidt
hmmm.....I find not whom Difference between your View source and the my, Why it with you functions and not at me.

here time my View source.

I have it time compiled and appended. Perhaps. helps it.

Nachtrag: attachment and View source removes
 
XProfan X2
Win7 Home Premium, SP1, AMD Athlon(tm) II Neo K125 Processor

˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗
Webseite [...] 
01/22/12  
 




Thomas
Freier
is the example Eigene_Eingaben.prf in the list view-pkg because OK?
operates W7 differently as How XP?
 
Gruß Thomas
Windows XP SP2, XProfan X2
01/22/12  
 




Thomas
Freier
by me XP runs The Organizer.exe well. After EDIT-end is the List view tidy.
Teste time Refresh of List view, -bracket, etc., To it lane is.
 
Gruß Thomas
Windows XP SP2, XProfan X2
01/22/12  
 




Julian
Schmidt
the Refreshen of Listviews helps nothing. have I meant I supra too Schonmal erwähnt.
by me comes the Error sowohl with Win7 Home as well as on WinXP per. On others Plattformen have I not tested.

Yes Eigene_Eingaben.prf operates perfect!

functions the SpinEdits really with you, in the Organizer.exe? It's all right only around the List view "Klausuren", The slot "Nr."!
 
XProfan X2
Win7 Home Premium, SP1, AMD Athlon(tm) II Neo K125 Processor

˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗
Webseite [...] 
01/22/12  
 




Thomas
Freier
No, the weather having well my look getrübt. the SpinEdits exists from two sharing.
CompileMarkSeparation
DestroyWindow(GetHandle(LV_Handle&,ItemID(Element&) + 1))
DestroyWindow(Element&)e>
 
Gruß Thomas
Windows XP SP2, XProfan X2
01/22/12  
 




Julian
Schmidt
OK, so goes it now.

What is so:

Julian57 (22.01.12)

Also would like I gladly know How I the DropDownMenu one DateEdits open can. and How one determined whether it opened is.
CompileMarkSeparation
Create("DateEdit",N,S,X1,Y1,X2,Y2)
>

 
XProfan X2
Win7 Home Premium, SP1, AMD Athlon(tm) II Neo K125 Processor

˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗
Webseite [...] 
01/22/12  
 




Thomas
Freier
the closes itself Yes self, if The Datenübernahme results or Abbruchbedingung erfüllt is. then destroy You Yes the ELEMENT&
CompileMarkSeparation
Element&= Create("DateEdit",Listview_I&,LV_Text$,LV_Xoffset&,LV_Yoffset&,(LV_Width&+20),LV_Height&)
>
 
Gruß Thomas
Windows XP SP2, XProfan X2
01/22/12  
 




Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

13.061 Views

Untitledvor 0 min.
Heiko Dix10/11/20
Uwe Lang04/13/20
rquindt11/29/18
Ernst10/06/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