16-06-2007, 05:57 AM
well da undead fixed it for me. he didnt need to use the rec. but the fix was:
I would have never guessed that. But thanks for offering your help Xero, and Dave.
Code:
Public Sub ElementEditorInit()
Element(EditorIndex).Name = frmElementEditor.txtName.Text
Element(EditorIndex).Strong = frmElementEditor.scrlStrong.Value
Element(EditorIndex).Weak = frmElementEditor.scrlWeak.Value
frmElementEditor.Show vbModal
End Sub
Code:
Public Sub ElementEditorOk()
Element(EditorIndex).Name = frmElementEditor.txtName.Text
Element(EditorIndex).Strong = frmElementEditor.scrlStrong.Value
Element(EditorIndex).Weak = frmElementEditor.scrlWeak.Value
Call SendSaveElement(EditorIndex)
Call ElementEditorCancel
End Sub
I would have never guessed that. But thanks for offering your help Xero, and Dave.