ich hoffe mir kann jemand helfen einen Makrocode anzupassen, weil ich überhaupt keine Erfahrung darin habe.
Folgendes Makro wurde mir freundlicherweise zur Verfügung gestellt:
Code: Alles auswählen
Sub S_BLL(event)
oBLL = event.source.model
nValue = event.Value
oForm = oBLL.Parent
oform.updateint(oform.findcolumn("Zahl"),nValue)
End Sub
Sub S_Drehfeld(event)
oDrehfeld = event.source.model
oForm = oDrehfeld.Parent
oBll = oForm.BLL
oBll.ScrollValue = oDrehfeld.EffectiveValue
End Sub
Sub S_Formular(event)
oForm = event.source
oBll = oForm.BLL
oBll.ScrollValue = oform.getint(oform.findcolumn("Zahl"))
End Sub
Das Drehfeld brauche ich eigentlich nicht.
Und eine Bitte: keine "schlauen" offtopic-Kommentare
Moderation,4: CODE tags gesetzt