Ich hab mal wieder ne gui problem
ich bastel ja grade an ner kundendatenbank und muss sogar sagen das ich gut vorankomme nun habe ich aber ein problem
ich habe eine listview und ein paar edit boxen für die suche

nun wenn ich in die listview klicke kommt die oberflache des kunden nur leider ohhne die daten des Kunden

so die codes:
Die gui:
- Code: Select all
Gui, Add, Text, x326 y60 w100 h20 vkg1, Id
Gui, Add, Edit, x450 y60 w130 h20 vkg2, %a1%
Gui, Add, Text, x326 y90 w100 h20 vkg3, Anrede
Gui, Add, Edit, x450 y90 w130 h20 vkg4, %a2%
Gui, Add, Text, x326 y120 w100 h20 vkg5, Vorname
Gui, Add, Edit, x450 y120 w130 h20 vkg6, %a3%
Gui, Add, Text, x326 y150 w100 h20 vkg7, Nachname
Gui, Add, Edit, x450 y150 w130 h20 vkg8, %a4%
Gui, Add, Text, x326 y180 w100 h20 vkg9, Straße
Gui, Add, Edit, x450 y180 w130 h20 vkg10, %a5%
Gui, Add, Text, x326 y210 w100 h20 vkg11, Hausnummer
Gui, Add, Edit, x450 y210 w130 h20 vkg12, %a6%
Gui, Add, Text, x326 y270 w100 h20 vkg13, Postleitzahl
Gui, Add, Edit, x450 y270 w130 h20 vkg17, %a7%
Gui, Add, Text, x326 y300 w100 h20 vkg14, Ort
Gui, Add, Edit, x450 y300 w130 h20 vkg18, %a8%
Gui, Add, Text, x326 y330 w100 h20 vkg15, Email
Gui, Add, Edit, x450 y330 w130 h20 vkg19, Edit
Gui, Add, Text, x326 y360 w100 h20 vkg16, Rufnummer
Gui, Add, Edit, x450 y360 w130 h20 vkg20, Edit
und der code für die variablem
- Code: Select all
MyListView:
if A_GuiEvent = DoubleClick
{
RowNumber := LV_GetNext(0)
if not RowNumber
return
Loop, 8
LV_GetText(A%A_Index%, RowNumber,A_Index)
editadd = edit
GuiControl, Hide, MyListView
GuiControl, Show, back
loop,20
{
GuiControl, Show, kg%A_Index%
}
}
return
hoffe jemand erkennt mein fehler und kennt die lösung wie da endlich die daten des Kunden stehen
mfg und danke im vorraus
swa






