Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
element editor
#3
well da undead fixed it for me. he didnt need to use the rec. but the fix was:

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.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)